Hi all,
I need some help with this.
I would like to generate a new binomial variable EDUCATION equal to 1 if HIGH SCHOOL (existing variable) is above the median value and 0 otherwise
Thankful for any help.
Frank
Related Posts with Generating categorical dummy variable
Define subroutine in a .do fileHi, I have a large do file that I would like to break down in several smaller pieces of code that I…
Using Foreach with loop to calculate averageHi, I want to calculate average of a variable X for all households for each 200 categories on varia…
Unable to obtain marginal effects after cmclogitDear all, I am trying to run the postestimation command for marginal effects after an alternative s…
Reshaping matched panel dataHi I am working with a panel data of firms (BvDIDnumber/BvDIDnumber_U being the unique firm ID for …
Dealing with missing dataHi, I use the following equation for calculating return for a portfolio of stocks. gen MOMf3_p1= ( …
Subscribe to:
Post Comments (Atom)
0 Response to Generating categorical dummy variable
Post a Comment