Hello everyone,
I am new to Stata and as a part of my bachelor thesis, I have to do a fixed effect regression based on three waves of household panel survey. I initially have three separate cross section data of the survey each year and I appended all three waves into one data set. However, for my regression analysis I only want to observe individuals that respond to all three surveys. Four variables are of interest here: persnr (the personal identification number), 1985, 1990 and 1992 (0 if the respondent does not respond to the questioner in that year, 1 if he or she does).
Which command or function allows me to drop respondents that do not answer all three of the questionnaires?
I would appreciate any help or advice that you can give me about this matter. Thank you very much.
Regards,
Daisy
Related Posts with How to keep ONLY individuals who respond every year in a household panel data
Dif in Dif with controls and fixed effectsHello Everyone, I'm trying to replicate a Dif in Dif of a paper and my results are similar but not …
Construct pairs of firms across different industriesDear All, I have this dataset Code: * Example generated by -dataex-. To install: ssc install dataex…
Levelsof, local and loops across datasetsHi. I have two datasets both with string variables. The first one has a variable CountryName with na…
Also testing equations written without a wrapper: \[ \frac{2}{3}+ \mathbf{\pi} \] Using code wrapper: Code: \[ \fra…
Trouble with Creating Group-Level variableHello, I have a variable that has repeated observations over the life course. Research shows that th…
Subscribe to:
Post Comments (Atom)
0 Response to How to keep ONLY individuals who respond every year in a household panel data
Post a Comment