The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Trend analysis of dichotomous categorical outcome variable on stata
Re: Trend analysis of dichotomous categorical outcome variable on stata [message #8884 is a reply to message #8882] Mon, 11 January 2016 15:22 Go to previous messageGo to previous message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member

I'm not sure exactly what you have in mind - but in this setup, to me, you have essentially 3 "observations" at the country level from which to do your "trend analysis". That is, you have 3 nationally representative stunting rates (or wasting, or whichever categorical variable you are using).

Why not just estimate the means of each survey and then test whether the means are equal (and graph them out to literally see the trend)? One way would be to use the standard OLS regression on each dataset separately (using the "svy" prefix and the "regress" command) and then to use the "seemingly unrelated regressions" (google "stata help suest") to test the equality of means (so, just the constant without any covariates included in the original regression). Mean here being proportion stunted/wasted.

Or you could put all the individual observations in one regression model with dummy variables for each survey round and use a standard F-test (using the "svy" prefix before the regression and the "test" command after). You'd have to carefully re-define your strata and PSU for each round.

But maybe you have something more complex in mind? Remember, that since these are, as a whole, nationally representative datasets, you aren't, at the national level, ever really getting much more information than you get from the 3 mean stunting/wasting rates, although maybe if the covariates are changing over time you might learn a little bit more (but that is part of the "trend" itself in my opinion, since nutritional status doesn't just change on its own, it changes because the country is changing in some way).

So I'm not sure this helps, but if you have a more specific question of what you mean by "trend analysis" I could maybe help a little more.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need Help
Next Topic: Family arrangements...
Goto Forum:
  


Current Time: Mon May 20 09:31:52 Coordinated Universal Time 2024