Hello everyone!!
I'm trying to finish my masters' thesis but I'm having trouble writing my regressions in Stata. One of my regressions is trying to predict recessions in the next periods. It is:

My problem is in the left hand side of the equation. I want to calculate the probability of a recession (which is represented by a dummy equal to 1) in the next 4 periods if any of the periods t+1 up to t+4 is a recession period. I can't find any codes for this.
I appreciate any help!!!!
Thanks,
Juan
I'm trying to finish my masters' thesis but I'm having trouble writing my regressions in Stata. One of my regressions is trying to predict recessions in the next periods. It is:
My problem is in the left hand side of the equation. I want to calculate the probability of a recession (which is represented by a dummy equal to 1) in the next 4 periods if any of the periods t+1 up to t+4 is a recession period. I can't find any codes for this.
I appreciate any help!!!!
Thanks,
Juan
Comment