Hi,
I across across this webpage regarding the Cochran-Armitage test for trend in Stata and would like to check if my understanding is correct:
I used the ptrend command created by Patrick Royston.
Q trend (Pearson's correlation):
Null hypothesis (H0): There is no linear association.
If p < 0.05, reject H0 --> Linear association.
Q departure (Cochran-Armitage test):
Null hypothesis (H0): There is linear trend.
If p < 0.05, reject H0 --> No linear trend.
Thank you!
I across across this webpage regarding the Cochran-Armitage test for trend in Stata and would like to check if my understanding is correct:
I used the ptrend command created by Patrick Royston.
Q trend (Pearson's correlation):
Null hypothesis (H0): There is no linear association.
If p < 0.05, reject H0 --> Linear association.
Q departure (Cochran-Armitage test):
Null hypothesis (H0): There is linear trend.
If p < 0.05, reject H0 --> No linear trend.
Thank you!
Comment