In: Statistics and Probability
Consider the program and data that follows, reflecting paired
data:
PROC FORMAT;
VALUE $OPINION 'P'='Positive'
'N'='Negative';
RUN;
DATA A;
LENGTH AFTER BEFORE $ 1;
INPUT AFTER $ BEFORE $ COUNT;
FORMAT BEFORE AFTER $OPINION.;
DATALINES;
N N 26
N P 38
P N 18
P P 159
;
Add to this SAS code to identify the appropriate p value for
evaluating whether a significant change occurred from baseline to
follow-up?