Re: Comparing variables across different years [message #4146 is a reply to message #4145] |
Tue, 07 April 2015 19:27 |
Reduced-For(u)m
Messages: 292 Registered: March 2013
|
Senior Member |
|
|
You can add covariates to the model in exactly the same manner. Just instead of running a least-squares regression you run a logit:
local X "list variables here"
svy: logit Y `X' i.year, noconstant
Something like that. Or, if you wanted to compare changes in the X's over time, you could interact the variable with the survey year dummies, and run tests of statistical significance on the coefficient from the interaction term.
For your PSUs, just generate a new PSU variable that is PSU*10000+SurveyYear, and in your svyset command, set your cluster to that new PSU variable.
|
|
|