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
Correlation of one variable between players in panel dataHi all, I am working with a panel dataset regarding financial products. The dataset has about 200,0…
Stationarity from effective federal funds rate (DFF) from FREDHello, First of all, I wish you a happy new year. I am using the effective federal funds rate in p…
Bug: Python Error in Stata Function Interface (sfi), Unicode-relatedBug in SFI? Running this Python code in Stata 16.1 Code: sysuse world-d, clear python: import sfi; …
Panel regression fixed effecs omittedDear all, I am currently conducting a panel regression in Stata with the following variables: Compa…
Loops within weeklong periodHello Statalist. Happy New Year. This post is an extension of a previous post of mine that I've yet…
Subscribe to:
Post Comments (Atom)
0 Response to generating new variable
Post a Comment