standard deviation of group
Posted: Thu Oct 30, 2014 4:26 am
Hello,
1. I have daily data of 100 stocks, for 21 days (1 month), and i want to calculate the standard deviation of the group. How can this be done easily (without creating covariation matrices?).
Seems pretty easy to me, but I cannot work it out.
2. I want to calculate amultiple regression. I have two explanatory variables, that have to explain the return of every individual stock. So for every stock (of these 100) I want to do a multiple regression:
r (return of stock) = alpha + beta1 + beta2 + e
Is there a way to do this easily or must every regression for every stock be done individually?
Thanks (i'm using eviews 7)
1. I have daily data of 100 stocks, for 21 days (1 month), and i want to calculate the standard deviation of the group. How can this be done easily (without creating covariation matrices?).
Seems pretty easy to me, but I cannot work it out.
2. I want to calculate amultiple regression. I have two explanatory variables, that have to explain the return of every individual stock. So for every stock (of these 100) I want to do a multiple regression:
r (return of stock) = alpha + beta1 + beta2 + e
Is there a way to do this easily or must every regression for every stock be done individually?
Thanks (i'm using eviews 7)