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
Question: how to compute a variable value based on its last value in a panel datasetDear All, I am trying to do the calculation illustrated in Excel with Stata. Specifically, I would …
Problem with generating state level variable in individual level datasetHello, I need to conduct state level analysis using individual level data. In order to achieve this…
Mean t-test including fixed effectsI would like to do a Mean t-test which takes out fixed effects. Does anyone know a Stata formula for…
Difference-in-difference and TreatmentHello, I am supposed to use a difference and difference model to estimate the effect of mergers on …
rdrobust questionI am interested in having my rdrobust regression have different bandwidths on each side. I put the f…
Subscribe to:
Post Comments (Atom)
0 Response to BSWEIGHTS without stratum in the data
Post a Comment