Dear all,
I would like to do a logistic regression with multiple imputed data. My syntax is:
mi estimate, or: logistic csection_02 i.country parity_01 i.mat_age_01 i.ethnic_01
contrast g.country, or level(99)
The first line is running well, but the 'contrast' part is not working. The 'contrast' part works in logistic regressions with non-imputed data. However, I think my syntax is not correct for mi data. I would like to change the reference category of the variable 'country' in the weighted mean of csection of the countries.
Example: the weighted mean incidence of a caesarean section between the 13 included countries is 24%. This 24% should be the reference (OR of 1.0). How can I do this?
Adding b(...) to the first line is not working.
Many thanks in advance!
Best wishes,
Anna
Related Posts with Reference category in mi estimate logistic
How to set up and run stcox stratified survival analyses on a limited time of the entire followup.Hi, I would like to study the effect of a heritable exposure (gene mutation) on two outcomes (a and…
How to Create a Twoway Graph with a few lines of quantile PlotGood morning everyone, I am a newbie, Could anyone please help me with how to create a Twoway Graph…
Program for cross validation for regression discontinuity in time not runningDear All, To estimate a regression discontinuity in time model I want to use cross validation to de…
Changing data based on conditionHi, I am using Stata 15 on Windows 10 OS. I have data collected in several rounds as demonstrated i…
Determining lag length in a panel dataset.Hi all, I'm using -xtscc- command to estimate a macroeconomic mode. This dataset set has 133 countr…
Subscribe to:
Post Comments (Atom)
0 Response to Reference category in mi estimate logistic
Post a Comment