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
Creating a PP plot from a linear regression model with sampling weightsI have a dataset that has sampling weights. I have fitted a multivariable linear regression model an…
D-efficient design - DCREATE: Output of D-error and Fisher-Information MatrixHello together, I have recently applied the DCREATE function for a stated preference experiment in m…
Problems with collect layoutHi all, I aim at creating a table that reports the mean of credit_rationed1 (namely, the % of credi…
60 month rolling sd of returnsHey there, I have a problem with the rolling sd. I have monthly return data and need to construct a…
Looping increasing cellranges and importing to stataHi everyone ı deeply searched about my problem but ı couldnt find a solution. Here is my problem abo…
Subscribe to:
Post Comments (Atom)
0 Response to generating new variable
Post a Comment