Dear forum members,
I am running the following commands:
ivregress 2sls lnpcon (lnppop = L4.lnppop_pnad) lnprenpc ano
predict lnpcon_predicted, xb
My data is annual. They start in 1976 and the last year is 2013. Besides, the first lpcon number available is from 1987.
After running these commands I was expecting Stata to predict lnpcon from 1980 to 2013 (due to the IV's lag). However, this is not what happened. Somehow Stata's predictions (as I can see in the Data Editor) start in 1976, even having no data available between 1972 and 1975.
This sounds like (and it is) a newbie question. Of course I am doing something wrong. Could you help me please to figure out what the error is?
Thank you.
I am running the following commands:
ivregress 2sls lnpcon (lnppop = L4.lnppop_pnad) lnprenpc ano
predict lnpcon_predicted, xb
My data is annual. They start in 1976 and the last year is 2013. Besides, the first lpcon number available is from 1987.
After running these commands I was expecting Stata to predict lnpcon from 1980 to 2013 (due to the IV's lag). However, this is not what happened. Somehow Stata's predictions (as I can see in the Data Editor) start in 1976, even having no data available between 1972 and 1975.
This sounds like (and it is) a newbie question. Of course I am doing something wrong. Could you help me please to figure out what the error is?
Thank you.
Comment