首页 > 其他 > 详细

因子分析 (Factor Analysis Sharp)

时间:2015-11-18 00:41:15      阅读:242      评论:0      收藏:0      [点我收藏+]

In my understanding, factor analysis is a method developed to avoid the mass estimation of the variance-covariance matrix when doing Markowitz Allocation.

 

Factor Analysis breakdown the risk factors in stocks into risk factors in portfolio. It apply the basic OLS method to regress out the factors that affact the portfolio return. The more variance the factor estimator could explain, the better factor we have found.

 

Principle Component Analysis is a way of achieving factor analysis. Instead of find the factor, it find the prouct of factor and the weight of the factor.

 

We can understand the stock returns as a realization of K factors, but there many be too many factors affecting the return, especially when we face many stocks—their return may be determined by many many factors. So it will be useful to apply the view to the whole portfolio and find out their common factor, rather than look into specific stock.

 

So, how can we find a set of good factors? PCA provides us with a tool. We can understand PCA as a tool to deduct the dimension of factors. It is a transformation of matrix—it reflects the stock return into fewer but common dimensions, while try to keep the most of variances.

 

A good set of factor should be able to leave us a diagonal matrix of residuals after the regression—the variation of each stock is orthogonal to each other, that means the comovements (i.e. the common factors are well captured by us).

 

So here we start an experiment of PCA analysis. The return data is the 5 stocks with biggest capital in SSE (China), and the factor we think of is margin debt growth in SSE. This is a toy model, we want to see what the residual looks like, so don‘t worry too much.

 

The methods we apply is based on this tutorial: https://www.evernote.com/shard/s155/sh/196f2061-56f6-4a14-9a6c-ddd9efda3856/0b11651f872f2471bd3b365ae9b9f42a.

 

因子分析 (Factor Analysis Sharp)

原文:http://www.cnblogs.com/tiantianlin/p/4973169.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!