Question: This problem is a paired t-test. First, input the data. There are two, numeric variables. You can call them anything you want. I called them
This problem is a paired t-test. First, input the data. There are two, numeric variables. You can call them anything you want. I called them CHOL1 and CHOL2.
DATA prob718;
INPUT chol1 chol2;
DATALINES;
210 215
230 240
190 190
215 200
260 280
200 210
;
PROC TTEST DATA = prob718;
PAIRED chol2*chol1;
RUN;
After entering the data, I did a t-test procedure. The PAIRED statement tells which variables to compare and will test if "CHOL2 - CHOL1 = 0".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
