PCA rolling variance of PC 1

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

md108
Posts: 3
Joined: Tue Mar 06, 2018 10:13 pm

PCA rolling variance of PC 1

Postby md108 » Wed Mar 07, 2018 5:11 am

hello team trust you are well.
If you have time can you please assist me with the following - something I have been battling with for weeks and I only realized now that I could get help via this forum - Rolling PCA and extracting variance explained by 1st PC (time series)
I have attached the workfile,program and a excel spread.

The workfile has the data (time series) of following - ZAR , VIX and EM
Program code is rolling PCA - please can you see what I am doing wrong.
CHART that I am trying to REPLICATE i.e. EMFX returns variance explained by 1st PC.

I will really really appreciate your help - going forward then I will know how to do this without any mistakes.

Regards
Mehul
Attachments
Capture.PNG
Capture.PNG (28.39 KiB) Viewed 2211 times
emfx vs vol_pca.prg
(568 Bytes) Downloaded 275 times
emfx vs vol.wf1
(75.44 KiB) Downloaded 233 times

Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 35 guests