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
String variable- code group certain cases- regexm(); regexr(); regexs()???Dear Statalist, I would like to be able to select only those cases in "subp" variable whose value e…
BoardExDear community, please excuse this off-topic question, but over the last weeks and months I came to…
InequalityHello What age should be considered in order to calculate the number of children and the number of a…
Support boundaries for propensity scoreI'm using Sata 14.2 under Win 7E. I have run the following code to check the boundaries of common su…
Robust SE test in Panel data "Random Effect Model"? Dears, Kindly find my output of the random effect model after determining it by Hausman test. Iam …
Subscribe to:
Post Comments (Atom)
0 Response to Controlling for year when appending two datasets
Post a Comment