Hello members,
Please i want to generate a new variable "marital status" to have categories "1. Maried 2. single 3. Divorced 4. widowed" from the following three variables Var1 (two categories 1. married 2. Not in union) Var2 ( If not in a union, are you( 1. formerly married 2. never married ) Var 3(if formerly married, are you ( 1. Widowed 2.divorced)
Related Posts with generating new variable
Difference in Difference with multiple treatment periods and multiple treatmentsGood day all! This is my first post on Stata list. Please let me know if any additional information …
Optimize by minimizing the value of an equation to get a parameter value for each observationDear Everyone, Software Used: STATA 15.1 I am trying to get a parameter value (R) for each observa…
[HELP] Appending several CSV files togetherHello. I am attempting to append several .csv files (about 44) all from one folder. The files come f…
Is there a way to tsset aggregated binomial data?Hi, I am wanting to do a segmented regression (as an interrupted time series) using binary outcome …
Regression without estimating the standard errorsDear All: I am currently estimating a series of regressions with fixed effects. However, the standa…
Subscribe to:
Post Comments (Atom)
0 Response to generating new variable
Post a Comment