[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: BRR Bootstrap weights w/xt commands

From   "John Sandberg, Prof." <>
To   <>
Subject   st: BRR Bootstrap weights w/xt commands
Date   Mon, 2 Mar 2009 09:23:08 -0500


I'm new to bootstrap weighting but have a big problem to solve. I work
w/longitudinal data from Statistics Canada which does not release design
information w/their surveys for confidentiality reasons.  Instead, they
release a series of bootstrap replicate weights  along with the data and
std. errors are calculated, when using STATA at least using the svyset
with balanced repeated replications  such as:

svyset [pweight=weight], brrweight(bsw1-bsw1000) vce(brr)

The svy commands do not work with the xt commands, however. This really
restricts the analyses that can be done with the rich Stats Can. data
available.  My question is as follows. First has anyone faced and
resolved this problem before with STATA?  If not, would it be
technically possible to re-write the the vce(bootstrap)  code in the xt
ado files so that I could substitute the replicates provided by
statisitcs Canada?  Can I write my own weight code w/bsample? Any help
would be greatly appreciated. I believe this is a big reason STATA isn't
used as much as it could be with these data.


John Sandberg
Associate Professor
Department of Sociology
McGill University
Stephen Leacock Building Room 712
855 Sherbrooke Street West
Montreal, Quebec, H3A 2T7, Canada
(514) 398-2946

*   For searches and help try:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index