I am wanting to use bsweights to resample the weights before a bootstrap a weighted regression. I do not a have a stratum to reference for the arguments in the bsweights command. I still need to provide a value for n() even though I let Stata know that my data is not in survey format. Stata will not allow anything but a positive value for n() for my data. I am nervous about choosing a value for n() since Stata creates a fake stratum for data not in survey format. Is it possible to choose a 'wrong' value for n() in this context? My Stata feedback is attached.
Related Posts with BSWEIGHTS without stratum in the data
Combining observations within the same datasetHello all, So I have an individual level dataset, in which the household id (hhid) is not unique, h…
Inquire about keeping variables temporarilyLet me state my question clearly. I currently have a dataset which has so many variables. (since thi…
float to string format error results in wrong values -- why?I need to create the fipscode for census tracts that were formatted incorrectly. The error occurs w…
xtpmg works in Stata 13/14 but not in 15/16?Dear All, I use (ssc install) xtpmg to estimate the following model. Code: * Example generated by -…
In logistic, binary response variable works but if it has 3 categories then it doesn't work!I'm using a logistic reg for my survey data. In the main control variable, it has 3 categories. The …
Subscribe to:
Post Comments (Atom)
0 Response to BSWEIGHTS without stratum in the data
Post a Comment