University : university of adilede
Course Title : PUBHLTH2007
Uploaded by : Mark polee
Stata Code: tab treatment improve_8wk, chi2
The primary outcome variable improve_8wk is a ordinal variable (0 = No and 1 = Yes) represents whether patient experienced an improvement in PSD at 8 weeks. On the other hand, the treatment variable is also a qualitative variable that represents the treatment undertaken by the patient (0 = Sham and 1 = tacs). Thus, the most appropriate test to test the association between treatment and primary outcome is chi square test for independence
c. Null Hypothesis: H0:
That is, there is no association between treatment and patient experienced an improvement in PSD at 8 weeks
Alternative Hypothesis: Ha:
That is, there is an association between treatment and patient experienced an improvement in PSD at 8 weeks