Principal Component
Posted: Wed Oct 29, 2008 6:45 am
Hello,
I want to greate a pseudo out of sample forecast with principal component analysis. Because of this I need a comand to extract the components, after fiting. If I want to get the fit of an normal equation, then I use this way...
equation ar1.ls inflation c inflation(-1)
ar1.fit inflation_hat inflation_se
series inf_hat=inflation_hat
So, fist estimate the principal components and second extract the component one, two, three... as an series.
Is this possible???
Best Regards
Martin
I want to greate a pseudo out of sample forecast with principal component analysis. Because of this I need a comand to extract the components, after fiting. If I want to get the fit of an normal equation, then I use this way...
equation ar1.ls inflation c inflation(-1)
ar1.fit inflation_hat inflation_se
series inf_hat=inflation_hat
So, fist estimate the principal components and second extract the component one, two, three... as an series.
Is this possible???
Best Regards
Martin