因子分析 (Factor Analysis Sharp)

來源:互聯網
上載者:User

標籤:

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)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.