Hi all,
I am trying to compare prevalence of obesity by gender in a cohort of 1499. he tab command gives the values in the tables below. I then use the tabi command to compare prevalence of obesity (coded as 2)
Code:
tabi 227 615\407 884, chi2
Or
Code:
prtesti 227 .615 497 .884
I get the results below. my question is which test is the right one.


StataIC/ 15.1 mac