Hello,
I am having some trouble with the
svyset command. There was an earlier post from a year ago on the subject but it offered little help. I am working with the ELS:2002 dataset and am trying to set the sample weights. I used the following command line:
Code:
svyset psu (pw = f1pnlwt) , strata(strat_id)
And each time I receive:
Code:
psu (pw = f1pnlwt) invalid psu variable name
I am not sure what is going on here, because this is the NCES specified codes. Yes, I know things are case sensative and that has been checked as well (I lowercase the variables to make things quicker). For a safety check, I used the original dataset, without amending it, and received the same error message. I took the spaces out and put them back in, same error message. I tried other variables such as the student ID (again, to see if there was an issue with the
psu variable given) and still receive the same message. Any help is appreciated.
Mitch
0 Response to SVYSET issues
Post a Comment