Hello! I want to recode my education variables which has values ranging from 1-21 referring to different educational attainment from kindergarten to PhD.
However, in my recoded variable, I only want to include those who answered 18-70 years to the age variable. Any idea on how to do this?
Thanks!
Related Posts with Recoding/Generating variables with conditions
generate all Root MSE from regressionHey there, I have run 722 regressions with my data set for each firm year by using: bysort variable…
cmp with panel dataDavid Roodman. Excuse me, Sir, a quick question. How can I use cmp command to run a two-way fixed mo…
Changing the graph label while using the "catplot" commandHello! to make clear what my problem is I use the data "sysuse auto". To show you my problem I use t…
How to adjust for matched factors using Conditional Logistic RegressionHello. I hope you can help. I am trying to build a conditional logistic regression model to analyse…
Correct usage of xtabond2Hi all, I am writing about the correct usage of xtabond2, performing System GMM in STATA. My data a…
Subscribe to:
Post Comments (Atom)
0 Response to Recoding/Generating variables with conditions
Post a Comment