Hello,
I have a variable A (=dependent variable) that is encoded 1 to 4, it was measured in 3 consecutive years (2000, 2001, 2002). In 2001, there was an event, and I want to see the effect of this event on A.
So, I want to create a binary variable (= independent variable = event) where I can see the development of A over time and the effect the binary had on A.
The binary should be coded 0 (for the year 2000) and 1 (for the year 2002).
For some reason, I cannot create a binary variable that does that.
I hope you understand what my problem is. :/ I'm (obviously) very new to Stata and super inexperienced.
Every help is much appreciated, thank you very much!
I have a variable A (=dependent variable) that is encoded 1 to 4, it was measured in 3 consecutive years (2000, 2001, 2002). In 2001, there was an event, and I want to see the effect of this event on A.
So, I want to create a binary variable (= independent variable = event) where I can see the development of A over time and the effect the binary had on A.
The binary should be coded 0 (for the year 2000) and 1 (for the year 2002).
For some reason, I cannot create a binary variable that does that.
I hope you understand what my problem is. :/ I'm (obviously) very new to Stata and super inexperienced.
Every help is much appreciated, thank you very much!
Comment