Hello,
I am trying to obtain confidence intervals for some descriptive statistics I am running on my dataset. I used the following survey settings:
svyset c_psu [pweight=c_indinub_xw], strata(c_strata)
Unfortunately I was unable to obtain confidence intervals because I have strata with single observations. Therefore, I wanted to use the singleunit (centered) option to rectify this. I amended my survey settings to:
svyset c_psu [pweight=c_indinub_xw], strata(c_strata) singleunit (missing)
However, I got the following error message:
option singleunit() not allowed
Does anyone have any idea why this is occurring?
Many thanks,
Dharmi
I am trying to obtain confidence intervals for some descriptive statistics I am running on my dataset. I used the following survey settings:
svyset c_psu [pweight=c_indinub_xw], strata(c_strata)
Unfortunately I was unable to obtain confidence intervals because I have strata with single observations. Therefore, I wanted to use the singleunit (centered) option to rectify this. I amended my survey settings to:
svyset c_psu [pweight=c_indinub_xw], strata(c_strata) singleunit (missing)
However, I got the following error message:
option singleunit() not allowed
Does anyone have any idea why this is occurring?
Many thanks,
Dharmi
Comment