Hi,
I am receiving an error message "factor-variable and time-series operators not allowed r(101);" when I reach the describe line below (I am using stata 15 and these codes used to work on old versions of stata)
kindly advise about how to make the codes work again
I am receiving an error message "factor-variable and time-series operators not allowed r(101);" when I reach the describe line below (I am using stata 15 and these codes used to work on old versions of stata)
Code:
sysuse auto use All.dta, clear gen q_date=yq(year,quarter) keep if q_date >= yq(1995,4) sort rssd9001 q_date xtset rssd9001 q_date, q global y1list roeavg global y2list L.roeavg LConw eqcw lossw sizew revdivw carw costincomew global x1list hh economic inflation st lt gap gdpg global x2list L2.roeavg L.LConw L.eqcw L.lossw L.sizew L.revdivw L.carw L.costincomew global x2listalt L2.roeavg L.LConw L.eqcw L.lossw L.sizew L.revdivw L.carw L.costincomew L3.roeavg L2.LConw L2.eqcw L2.lossw L2.sizew L2.revdivw L2.carw L2.costincomew describe $y1list $y2list $x1list $x2list
Comment