Hello,
One newbie question but I'm stuck on this basic task. I'm pooling two datasets from two different years and have successfully added observations to the main dataset through the command "append". However, when running my regressions I would like to control for the survey year. But I don't know how to since there is no such variable due to their originally cross-sectional nature? Do I need to create a variable that includes the entire dataset and then control for it? How do I do that? There is a variable of the respondents' ID but there are thousands of observations in that one.
Thankful for any ideas!
Related Posts with Controlling for year when appending two datasets
Replacing observations appearing multiple times on the same variable on the same participant. Longitudinal study.Hi again. I have a new problem, and I'll try to explain it the best can. First, som background info…
change in volume between the same months in different yearsI have a hospital dataset declared as a time series with panel data with monthly observations. Volum…
Contradicting significance in complete pooled vs partial-poolingHi all, I'm working on nested structure data with individuals nested in countries (I may also defin…
Wooldrige Test for serial correlation.Hello guys! I was running the Wooldrige Test for serial correlation of the error terms and the H0 is…
Graph with varying scales using by() optionI have data on emissions changes across states over time. The emissions are normalized as a percent …
Subscribe to:
Post Comments (Atom)
0 Response to Controlling for year when appending two datasets
Post a Comment