All,
I have a dataset that is weighted. The "weight calculation" has been made
into a variable. How do I use this variable in a regression model? That is,
both OLS and LOGIT? Do I just add the variable to the model(s) or include in
the syntax after the comma?
M.
Look up -help weight-. The exact command depends on the nature of your
weights. The most common are probably fweights (frequency weights) and
pweights (sampling weights). If you also have things like clustering
and/or stratification you may want to look at the help for -svy-. The
Users Guide has some good discussions of weights if you have a copy of it.