Hello All,
I want to generate an indicator variable lets say X=1 if net income (NI) is negative for last two years.
How can i code this in stata?
Thanks in advance.
p.s. my data is panel data
I want to generate an indicator variable lets say X=1 if net income (NI) is negative for last two years.
How can i code this in stata?
Thanks in advance.
p.s. my data is panel data
Comment