Hi everyone, total STATA noob here - I've just started to learn the package to make use of some statistics canada survey data from the GSS, which has bootstrap weights to properly estimate the variability of the estimate (I think!)
I have the survey setup syntax:
with 500 bootstrap weights per observation.
then, running:
I get odds ratios that are in agreement with what I have had before in SPSS (which can't handle bootstrap weights), but the weights make the standard errors HUGE and nothing is even close to significant in the subpopulation I am using - which is totally cool, as long as I haven't done something totally horrible which I think I may have.
Major questions: Is there something that I must do to adjust these bootstrap weights for a subpopulation? the overall survey has ~33000 observations, with my population of interest being ~1250.
When using survey design and running logistic regression, I don't seem to get any pseudo R-squared values, is there some way to get this or is this prohibited by design? Similarly, I am not sure if I am then able to run goodness of fit tests that give any useful results.
Another important note is that in my subpopulation, the survey is estimating the values for 1.2 mil people.
Thanks so much for reading this, I'm very clueless and would appreciate any advice on anything you pick up.
I have the survey setup syntax:
Code:
. svyset [pweight=wght_per], bsrweight(wtbs_001- wtbs_500) bsn(25) vce(bootstrap) dof(500) mse
then, running:
Code:
. svy: logistic binge_yesno ib(0).sex_01 ib(0).vismin ib(0).imprel
Major questions: Is there something that I must do to adjust these bootstrap weights for a subpopulation? the overall survey has ~33000 observations, with my population of interest being ~1250.
When using survey design and running logistic regression, I don't seem to get any pseudo R-squared values, is there some way to get this or is this prohibited by design? Similarly, I am not sure if I am then able to run goodness of fit tests that give any useful results.
Another important note is that in my subpopulation, the survey is estimating the values for 1.2 mil people.
Thanks so much for reading this, I'm very clueless and would appreciate any advice on anything you pick up.
Comment