Dear Listers,
I plan to run a trend analysis to explore how original wellbeing score (bad vs. good vs. very good) is associated with recovery (yes/no) after surgery. The data were collected in 2 hospitals (and randomisation was conducted separately in each hospital).
I was originally planning to use mhodds - mhodds recovery wellbeing, by(hospital)
I can't find anywhere in the documentation whether there is a minimum of clusters but 2 seems a rather small number.
I am now considering running a trend analysis using logistic regression assuming linearity
logistic recovery i.wellbeing i.hostpital
contrast p.wellbeing
Any suggestion or resource would be greatly appreciated.
Thanks,
Laura
Related Posts with Trend analysis
Foreach vs. Forvalues when using char() function to remove special characters in a string variableHello all, Using Stata 15.1/IC I need to submit a bulk file with a string variable ("NAME" variabl…
Hyperlink to the file generated/modified by putexcelThis is a very minor request/question. Several of the user-made commands I use (e.g. estout, and ieb…
margins not estimableHi all, I run a panel data fixed effect regression. There is an interaction term in the model. Thro…
Using -cmp- to estimate and interpret a three-stage Heckman modelGood morning all, I am using the -cmp- package developed by Roodman to estimate a three-stage Heckm…
Generate multiple variables from a variable containing symbols and numbers Code: * Example generated by -dataex-. To install: ssc install dataex clear input str29 salary_tod…
Subscribe to:
Post Comments (Atom)
0 Response to Trend analysis
Post a Comment