Rolling beta using daily data over past quarter
Afficher commentaires plus anciens
I have daily returns for a stock and market over 90 years (Jan 1927 to Dec 2017).
I want to calculate rolling beta at each period by using daily data over past 3 months.
For example as data starts from Jan 1927 so first beta should be based on daily returns of Jan, Feb and March. And second beta should be based on Feb, March and April and so on.
Data is attached.
Réponses (0)
Catégories
En savoir plus sur Financial Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!