8
votes
4answers
2k views

R: Fast and efficient way of running a multivariate regression across a (really) large panel (First pass of Fama MacBeth)

I am attempting to run a rolling multivariate regression (14 explanatory variables) across a panel of 5000 stocks: For each of the 5000 stocks, I run 284 regressions (by rolling over my sample ...
2
votes
2answers
2k views

Calculating Portfolio Skewness & Kurtosis

I need to calculate the skewness and kurtosis of 2 asset portfolio, can someone please help me with the formulas and definition of terms? Thank you. I have been using the matrices method and I am not ...
9
votes
3answers
2k views

How do I calculate the skewness of a portfolio of assets?

I need to calculate the skewness of a portfolio consisting of 6 assets. I know that for that I would need the co-skewness matrix between the assets. Does anybody know the formula for co-skewness or ...