I am trying to compare two measures of blood pressure taken on a group of 50 people. Both blood pressure measurements are continious and took place at different points in time.
I am trying to determine if the blood pressure stayed the same, increased or decreased between the two points in time.
An individual I worked with suggested a McNemar test, but to my knowledge this is for 2x2 data. Since my measurement of interested in continuous, this will not work.
I appreciate any help or insight you can provide. Thank you.
Hi. Steve.
I know it is pretty robust. especially for large data.
But I still highly recommend to use proc npar1way + Willcox again, To contrast these two result.
Since t statistic estimator is from Normal Distribution.
Ksharp
Is there some reason that you don't want to use a paired t-test? http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_ttest_a00000...
If the difference scores do not look normal, then the Wilcoxon signed rank test (on the difference scores) is another possiblity. You get to that via PROC UNIVARIATE.
If you need to control for other variables (age, sex, etc), then you can use a regression procedure, though with N=50, your options are more limited.
You are right. McNemar is used for frequent(category) data not continuous . (For Cross tabulate)
Since your data is from the same subject(patient). Then you should minus these two variable because they might be correlated(from the same people). then test whether the mean of differ equal 0.
You can't directly use proc ttest to do paired-test because these two variables are not independent and might not have Normal Distribution.
Ksharp
The link I provided shows that PROC TTEST has a PAIRED statement for paired comparisons. See also this example: http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_ttest_a00000...
It is new for me .thanks.
But proc ttest is only suited for Normal Data.
If they were not Normal?
As Doc said ,Might should be use non-parameter method (proc npar1way 's Wilconx.)
Or log it to transform it as Normal.
Ksharp
The assumption of normality is greatly over-rated/misunderstood for most linear models, including the paired t-test. So long as the residuals, not the data themselves, are unimodal and relatively symmetric, the asymptotic p values should be a good guidepost. For most blood pressure data, this will be the case.
But suppose you are testing the effect of a drug on lowering BP, and further suppose that the population is a mix of normotensive and hypertensives (which could be further divided by the degree of responsiveness to the drug). Now, you are probably in the realm of non-normality, and other approaches may be needed.
But for this, it is a classic textbook case for application of a paired t-test.
Steve Denham
Hi. Steve.
I know it is pretty robust. especially for large data.
But I still highly recommend to use proc npar1way + Willcox again, To contrast these two result.
Since t statistic estimator is from Normal Distribution.
Ksharp
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.