Hi community,
I wish to compare the prevalence of food security among adult males (AGE_VQ_P>=20). Food security is an ordinal outcome with 3 levels (food secure, at risk of hunger and food insecure) and male==1.
I have tried using a Kruskal-Wallis and I'm not sure if this test is appropriate in this case. Here is the code and outcome I produced:
kwallis Sex if AGE_VQ_P>=20 & Sex==1, by(Hunger_cat)
Kruskal-Wallis equality-of-populations rank test
+--------------------------------------+
| Hunger_cat | Obs | Rank Sum |
|--------------------------+--------+---------------|
| Food secure | 1,840 | 3.61e+06 |
| At risk of hunger | 960 | 1.88e+06 |
| Experience hunger | 1,119 | 2.19e+06 |
+---------------------------------------------------+
chi-squared = -0.000 with 2 d.f.
probability = 1.0000
chi-squared with ties = . with 2 d.f.
probability = 0.0001
and If this test is appropriate, may you please advise on how to run a Tukey post hoc analysis
Related Posts with Comparing prevalence
Sar: Automatic generation of statistical reports using Stata and Microsoft Word for WindowsHi Statalist, Im trying to do following paper "https://ift.tt/3kglnMi", but fail to setup and execu…
Interaction terms on Gologit2Hi there, With all the articles Prof. Richard Williams has released about gologit2, I feel I have a…
one test subject, several answers - how to recode?Hi, my friend has a (string) variabel of which the test subjects could answer from one to several we…
Estimating Condtional margins after CMP commandHello, We are running a model with a binary Y and two binary endonegous X variables X1 and X2 which…
Using 7z in Stata (through terminal or shell command)Dear Statalist users, I am trying to unzip a large number of .7z files in Stata. I am a MAC OS user…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing prevalence
Post a Comment