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
Help needed in exporting output from the groups commandI am trying to generate frequencies for a certain variable and the groups command from the package '…
Coefficient Matrix in Unconditional Quantile RegressionsI am running models with the ivqte command, which estimates unconditional quantile regressions, as d…
bctobit LM testgood evening stata users i am using tobit model and after running the model to test for normality an…
Variable information in table notes using estout/esttabHi, I am trying to format a series of regression tables with estout/esttab. My regressions all have…
spmap command produces only a fraction of the intended mapHello! I'm trying to draw a map that shows proportion of households in a state that report a migrant…
Subscribe to:
Post Comments (Atom)
0 Response to generating new variable
Post a Comment