Dear All,

You might find the attached script useful for teaching purposes.

It runs a simple CAPM with a January dummy variable and plots the rolling
coefficients and the rolling R^2.

Credit to Michalis Tsachakis for this.

regards
Theo

--
Theodore Panagiotidis
University of Macedonia
Thessaloniki, Greece
& Research Associate HO, LSE <https://www.lse.ac.uk/Hellenic-Observatory>
Linkedin <https://www.linkedin.com/in/theodore-panagiotidis-1371b3169/>
GooglePage
<https://sites.google.com/view/prof-theodore-panagiotidis/bio?authuser=0>

Attachment: capm_microsoft_data.gdt
Description: application/gretldata

Attachment: rolling_script.inp
Description: application/gretlscript

_______________________________________________
Gretl-users mailing list -- gretl-users@gretlml.univpm.it
To unsubscribe send an email to gretl-users-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/

Reply via email to