Good morning everyone,
I have a problem on STATA.
I have 2 variables (Ebitda08 and Ebitda09) and a third variable (X) which has a value between 0 and 5. Which command should I use in order to create a new variable that, only in case X=1, gives a value equal to Ebitda09 - Ebitda08 ?
Thank you!
Related Posts with variable with 2 condition
power analysis for modified poisson regressionHello, I am trying to determine the power of one my analyses. The outcome is binary and relative ri…
ICC (Intra-class correlation coefficient) vs "9% of this variation in mortality was attributable solely to the surgeon."I am trying to find out the relationship between a. the ICC for surgeons and the b. the variation du…
Predict based on regression modelHi, I estimated on the regression model: Code: reg lnChild lnCash lnWhite lnCash*lnWhite Based on…
Knots in Non parametric series regressionDear All, I am Maheswaran Kesavan doing masters in University college London. I am doing an Non pa…
Which is the correct approach in coding a dummy variableHi Statalist. I want to generated a dummy variable from a categorical variable with values ranging …
Subscribe to:
Post Comments (Atom)
0 Response to variable with 2 condition
Post a Comment