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
Python internal error codeI am calling a Python procedure, which fails due to my misspecification of the parameters: Code: .…
test of differences in means (and medians) test between MNCs and domestic firmsDear all, After advising this forum hundreds of times for using STATA, I think its time to express …
Reporting risk ratio for meta-analysis of binary outcomesHi All, Help Needed Urgent!!! I am conducting a metanalysis for "All-cause mortality " data. I nee…
help request with assigning values to paired casesI am struggling with how to code values to paired cases. I need to assign the same pre-post periods …
Multilateral Resistance Term for distanceDear Statalist, I am trying to calculate a variable called "Mdistance" that was introduced in Baier…
Subscribe to:
Post Comments (Atom)
0 Response to variable with 2 condition
Post a Comment