how to
Dividend dummy is a variable set to one if the firm paid a dividend in the year, and set to 0 if it did not.
gen dummy = 1 if dividend > 0 and 0 if dividend ==.
give me wrong
Related Posts with how to gen variable with two value
Help Generating a Feeling ThermometerHi all, I have some experience with STATA but I am by far not an expert. I have a set of eight vari…
Execute R packages within Stata?Dear All, Suppose that (for personal preference) I'd like to execute some R commands/packages (say,…
Predicting values which incorporate fixed and random effects in linear mixed modelHi all, I am using Stata/SE 14.2 to analyse a randomized controlled trial. Respondents filled the B…
Covariate measurement error with binary outcomesWhile it is possible to get parameter estimates corrected for measurement error using -sem- like: …
In the loopLoop doesn't work with $ which is a recall from global?? Thank you. foreach i of num 1/17 { global …
Subscribe to:
Post Comments (Atom)
0 Response to how to gen variable with two value
Post a Comment