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
Need help with invalid synatxI'm trying to run a for loop which inputs extracts values from the rtable for a variable after runni…
Tab output for stataHi, Just ran into something weird in stata. I have split a variable into three variables and have u…
Combining several smoothed plots into one paneI have longitudinal data and want to examine inter-individual differences in the within functional f…
from df and p-value to calculate the lower bound t scoreIs there a way to calculate the two-tail t-score from df and p-value without looking up in the t-tab…
control variables difference-in-differenceHi there, I was wondering about adding control variables to a DiD model. I'm following instructions…
Subscribe to:
Post Comments (Atom)
0 Response to variable with 2 condition
Post a Comment