After months of trying to understand the mi estimate syntax for odds ratios using mvn imputation...I found it thanks to this community!
Before I get out the champagne, I need to know how to find the Pseudo R-square. Here is my current syntax:
mi estimate, or : logit HEALTH_LOT AGE AGE2 woman2 nonhispblack other hisp SEX2 college_2 continc OWNRENT2 RURAL2 partnered SELFRATED PHYS_ABLE LONGLIVE AGEID, or
mi estimate, or : logit MONEY_LOT AGE AGE2 woman2 nonhispblack other hisp SEX2 college_2 continc OWNRENT2 RURAL2 partnered SELFRATED PHYS_ABLE LONGLIVE AGEID, or
mi estimate, or : logit LIVING_LOT AGE AGE2 woman2 nonhispblack other hisp SEX2 college_2 continc OWNRENT2 RURAL2 partnered SELFRATED PHYS_ABLE LONGLIVE AGEID, or
mi estimate, or : logit ENDPLN_LOT AGE AGE2 woman2 nonhispblack other hisp SEX2 college_2 continc OWNRENT2 RURAL2 partnered SELFRATED PHYS_ABLE LONGLIVE AGEID, or
mi estimate, or : logit DRIVPLAN_LOT AGE AGE2 woman2 nonhispblack other hisp SEX2 college_2 continc OWNRENT2 RURAL2 partnered SELFRATED PHYS_ABLE LONGLIVE AGEID, or
mibeta DRIVPLAN_LOT AGE AGE2 woman2 nonhispblack other hisp SEX2 college_2 continc OWNRENT2 RURAL2 partnered SELFRATED PHYS_ABLE LONGLIVE AGEID
NOTE: the mibeta under the last line of coding does provide an R-square....but it's treating it like a regression rather than logit...bringing me back to square one.
Grateful to this community for teaching me to put the or at the beginning rather than the end. If I could learn how to get pseudo R-squared, that would be awesome.
Before I get out the champagne, I need to know how to find the Pseudo R-square. Here is my current syntax:
mi estimate, or : logit HEALTH_LOT AGE AGE2 woman2 nonhispblack other hisp SEX2 college_2 continc OWNRENT2 RURAL2 partnered SELFRATED PHYS_ABLE LONGLIVE AGEID, or
mi estimate, or : logit MONEY_LOT AGE AGE2 woman2 nonhispblack other hisp SEX2 college_2 continc OWNRENT2 RURAL2 partnered SELFRATED PHYS_ABLE LONGLIVE AGEID, or
mi estimate, or : logit LIVING_LOT AGE AGE2 woman2 nonhispblack other hisp SEX2 college_2 continc OWNRENT2 RURAL2 partnered SELFRATED PHYS_ABLE LONGLIVE AGEID, or
mi estimate, or : logit ENDPLN_LOT AGE AGE2 woman2 nonhispblack other hisp SEX2 college_2 continc OWNRENT2 RURAL2 partnered SELFRATED PHYS_ABLE LONGLIVE AGEID, or
mi estimate, or : logit DRIVPLAN_LOT AGE AGE2 woman2 nonhispblack other hisp SEX2 college_2 continc OWNRENT2 RURAL2 partnered SELFRATED PHYS_ABLE LONGLIVE AGEID, or
mibeta DRIVPLAN_LOT AGE AGE2 woman2 nonhispblack other hisp SEX2 college_2 continc OWNRENT2 RURAL2 partnered SELFRATED PHYS_ABLE LONGLIVE AGEID
NOTE: the mibeta under the last line of coding does provide an R-square....but it's treating it like a regression rather than logit...bringing me back to square one.
Grateful to this community for teaching me to put the or at the beginning rather than the end. If I could learn how to get pseudo R-squared, that would be awesome.
Comment