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
bootstrap to get the confidence intervals for a linear cobmination of regression coefficientsI am estimating a variable called tot, tot=t1+t2 t1=p1*c1 p1 is the mean of a variable, c1 is the co…
Use mimix command for cross-sectional dataHi everyone, I'm interested in applying the reference-based sensitivity analyses using multiple impu…
Marginal effect*Dear community! I have conducted ordered probit regression with 10 categories DV and I would like to…
Predicted probability for each DV outcomeDear community! How to create a table for predicted probability effect of each IV on each DV outcome…
Excluding a city when calculating the value for the cityDear Stalist, I would like to as for help with stata code. I would like to calculate a variable Ma…
Subscribe to:
Post Comments (Atom)
0 Response to Reference category in mi estimate logistic
Post a Comment