Hello,
I am using Stata 14 to analyze Medical Expenditure Panel Survey’s household component data. I’ve combined cross-sections from 2007-2015 and created a dataset in long format. I am running: svy, subpop(K6SMI): regress HAVEUS42 i.YEAR##i.LARGEGRP FAMINC i.MARRY PRIORITYCOND SMOKER AGE i.MALE i.LESSHSDEG i.HSDEGONLY i.SOMECOLLEGE i.COLLEGEGRAD i.WHITE i.BLACK i.OTHER i.HISPANIC
This command returns a note saying: 34 strata omitted because they contain no subpopulation members. Is this a problem? My subpopulation is those with moderate mental illness, so it’s understandable that there would be some strata without anyone with this condition.
I do know that I have strata with single sampling units. I realized this after running: svydes; svydes if e(sample); single, list VARSTR VARPSU if VARPSU==1. I got an extremely long list of observations that were in strata with single sampling units. If I’m not getting an error message about this issue when I run my svy regress command, do I need to deal with combining these strata with single PSU?
I’ve seen several examples of how to combine strata (Stata Forum posts from June 2007, Stata FAQ: What do I do when 1 of the survey estimators returns an error message, “stratum with only one PSU detected.”), but none that deal with a relatively long list of observations and strata to combine. If this is an issue I still need to deal with, can you help me with commands that would allow me to handle a long list of strata to combine?
Thank you in advance!
I am using Stata 14 to analyze Medical Expenditure Panel Survey’s household component data. I’ve combined cross-sections from 2007-2015 and created a dataset in long format. I am running: svy, subpop(K6SMI): regress HAVEUS42 i.YEAR##i.LARGEGRP FAMINC i.MARRY PRIORITYCOND SMOKER AGE i.MALE i.LESSHSDEG i.HSDEGONLY i.SOMECOLLEGE i.COLLEGEGRAD i.WHITE i.BLACK i.OTHER i.HISPANIC
This command returns a note saying: 34 strata omitted because they contain no subpopulation members. Is this a problem? My subpopulation is those with moderate mental illness, so it’s understandable that there would be some strata without anyone with this condition.
I do know that I have strata with single sampling units. I realized this after running: svydes; svydes if e(sample); single, list VARSTR VARPSU if VARPSU==1. I got an extremely long list of observations that were in strata with single sampling units. If I’m not getting an error message about this issue when I run my svy regress command, do I need to deal with combining these strata with single PSU?
I’ve seen several examples of how to combine strata (Stata Forum posts from June 2007, Stata FAQ: What do I do when 1 of the survey estimators returns an error message, “stratum with only one PSU detected.”), but none that deal with a relatively long list of observations and strata to combine. If this is an issue I still need to deal with, can you help me with commands that would allow me to handle a long list of strata to combine?
Thank you in advance!
Comment