how to calculate beta

i've 51 stocks with daily yields, i want to know the BETA of my portfolio, someone can help? i know what is the formula and the theory behind that, just i dont know how to put it on a code.

Answers (0)

This question is closed.

Tags

Asked:

on 11 Jun 2022

Closed:

on 11 Jun 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!