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
Loops with generateHi all, I am trying to generate a dummy variable identifying missings values for a long list of var…
Thought Experiment re: Logistic RegressionDear all, I would like to ask your advice regarding logistic regression. In my study, I am looking…
margins on endogenous variable after ivprobit; clarification on effects of version controlHi all, I am running an ivprobit model along the lines of the following: "ivprobit y x2 x3 x4 x5 x6…
Data manipulation: Calculating the mean of two or more numbers and putting it back into the data setDear Statalists, i generally want to calculate the AAR from AR. In order to do so i have generated …
Help with generate dummyArray Hi! This is a part of my data. I have 24 countries (land) and I want to make two dummy's for …
Subscribe to:
Post Comments (Atom)
0 Response to Reference category in mi estimate logistic
Post a Comment