PCA rolling variance of PC 1

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

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

PCA rolling variance of PC 1

Postby md108 » Thu Mar 08, 2018 11:43 pm

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
emfx vs vol.wf1
(75.44 KiB) Downloaded 213 times
emfx vs vol_pca.prg
(568 Bytes) Downloaded 251 times
Capture.PNG
Capture.PNG (28.39 KiB) Viewed 2058 times

Return to “Programming”

Who is online

Users browsing this forum: Google [Bot] and 26 guests