Rolling beta using daily data over past quarter
Mostrar comentarios más antiguos
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.
Respuestas (0)
Categorías
Más información sobre Financial Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!