{"id":6748,"date":"2012-04-09T09:14:17","date_gmt":"2012-04-09T08:14:17","guid":{"rendered":"https:\/\/www.portfolioprobe.com\/?p=6748"},"modified":"2012-04-09T09:14:17","modified_gmt":"2012-04-09T08:14:17","slug":"three-things-factor-models-do","status":"publish","type":"post","link":"https:\/\/www.portfolioprobe.com\/2012\/04\/09\/three-things-factor-models-do\/","title":{"rendered":"Three things factor models do"},"content":{"rendered":"<p>Factor models are heavily used in finance to create variance matrices. Here&#8217;s why.<\/p>\n<p>Factor models:<\/p>\n<ol>\n<li>Provide non-degenerate estimates<\/li>\n<li>Save space<\/li>\n<li>Quantify sources of risk<\/li>\n<\/ol>\n<h2>Non-degenerate estimates<\/h2>\n<p>First off, what does this mean?<\/p>\n<p>The technical term is that you want your estimate of the variance matrix to be <em>positive definite<\/em>.\u00a0 In practical terms what that means is that all portfolios have positive volatility according to the estimate.\u00a0 <a href=\"https:\/\/www.portfolioprobe.com\/2012\/01\/05\/the-top-7-portfolio-optimization-problems\/\">Optimizers would be very pleased<\/a> to find a portfolio with negative volatilty &#8212; we don&#8217;t want to give them the opportunity.<\/p>\n<p>Suppose you have a universe of 1000 stocks.\u00a0 If you want to estimate the variance of their returns (note: <a href=\"https:\/\/www.portfolioprobe.com\/2011\/01\/12\/the-number-1-novice-quant-mistake\/\">returns not prices<\/a>), then you need more than 1000 observations to get a positive definite estimate using the sample variance.\u00a0 Probably 2000 observations would be the minimum you&#8217;d want to use.\u00a0 That is 8 years of daily data (and if your universe is global, then daily data will have <a href=\"https:\/\/www.portfolioprobe.com\/2011\/11\/21\/asynchrony-in-market-data\/\">asynchrony problems<\/a>).<\/p>\n<p>Factor models always produce positive definite estimates (well, possibly they&#8217;ll require a nudge here and there).<\/p>\n<h2>Space<\/h2>\n<p>A big universe means that the variance matrix is really big.\u00a0 If the universe has 1000 assets, then the variance matrix is going to take roughly 8 megabytes.\u00a0 Years ago that was a problem &#8212; as in &#8220;no way Jose&#8221;.<\/p>\n<p>If the universe has 20,000 assets, then the variance matrix takes about 3 gigabytes.\u00a0 That need not be at all problematic now.<\/p>\n<p>The issue of space was a key driver in factor models being adopted.\u00a0 We should reconsider the merits of factor models now that computers are massively bigger and there are alternative estimators.<\/p>\n<h2>Sources of risk<\/h2>\n<p>Factor models assume the fiction that there is a set of ghosts that drive the relationship of the returns in the universe.\u00a0 <a href=\"https:\/\/www.portfolioprobe.com\/2012\/01\/30\/review-of-models-behaving-badly-by-emanuel-derman\/\">Fiction is sometimes enlightening, sometimes not<\/a>.<\/p>\n<p>There are <a href=\"https:\/\/www.portfolioprobe.com\/2011\/03\/07\/factor-models-of-variance-in-finance\/\">three major classes of factor models<\/a>:<\/p>\n<ul>\n<li>fundamental<\/li>\n<li>macro<\/li>\n<li>statistical<\/li>\n<\/ul>\n<p>Statistical factor models are mute about the sources of risk because both the factors and the sensitivities to the factors are estimated.\u00a0 The ghosts are anonymous.<\/p>\n<p>In the other two classes, the ghosts have names &#8212; names like: &#8220;Energy sector&#8221;, &#8220;Value&#8221;, &#8220;Momentum&#8221;, &#8220;Short-term interest rates&#8221;.<\/p>\n<p>This is the unique proposition that factor models hold.\u00a0 If what you want is names on partitions of your risk, then you want a (non-statistical) factor model.<\/p>\n<p>Conversely, if you don&#8217;t care about named partitions, then you should at least consider alternatives.\u00a0 I hypothesize that it is suboptimal to use factor models for optimization.<\/p>\n<h2>\u00a0Alternatives<\/h2>\n<p>The leading alternative to factor models is shrinkage models.\u00a0 Start with the sample variance matrix and then shrink towards some target.\u00a0 The model I know of that makes the most sense to me is to shrink towards equal correlation.\u00a0 That is commonly known as the <a href=\"https:\/\/www.portfolioprobe.com\/tag\/ledoit-wolf-shrinkage\/\">Ledoit-Wolf shrinkage<\/a> estimate.<\/p>\n<p>There is an R implementation of the Ledoit-Wolf estimate (as well as a statistical factor model) in the <a href=\"https:\/\/www.portfolioprobe.com\/2012\/02\/16\/the-burstfin-r-package\/\">BurStFin package<\/a>.<\/p>\n<h2>Epilogue<\/h2>\n<blockquote><p>Today we have naming of parts. Japonica<br \/>\nGlistens like coral in all of the neighbouring gardens,<br \/>\nAnd today we have naming of parts.<\/p><\/blockquote>\n<p>from &#8220;Lessons of the War: Naming of Parts&#8221; by Henry Reed<br \/>\n<object width=\"520\" height=\"294\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"allowFullScreen\" value=\"true\" \/><param name=\"allowscriptaccess\" value=\"always\" \/><param name=\"src\" value=\"http:\/\/www.youtube.com\/v\/tqSubQht96A?version=3&amp;hl=en_GB\" \/><param name=\"allowfullscreen\" value=\"true\" \/><embed width=\"520\" height=\"294\" type=\"application\/x-shockwave-flash\" src=\"http:\/\/www.youtube.com\/v\/tqSubQht96A?version=3&amp;hl=en_GB\" allowFullScreen=\"true\" allowscriptaccess=\"always\" allowfullscreen=\"true\" \/><\/object><\/p>\n<p><a href=\"http:\/\/feedburner.google.com\/fb\/a\/mailverify?uri=PortfolioProbe&amp;loc=en_US\" target=\"_blank\">Subscribe to the Portfolio Probe blog by Email<\/a><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Factor models are heavily used in finance to create variance matrices. Here&#8217;s why. Factor models: Provide non-degenerate estimates Save space Quantify sources of risk Non-degenerate estimates First off, what does this mean? The technical term is that you want your estimate of the variance matrix to be positive definite.\u00a0 In practical terms what that means &hellip; <a href=\"https:\/\/www.portfolioprobe.com\/2012\/04\/09\/three-things-factor-models-do\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[114,120,228],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.portfolioprobe.com\/wp-json\/wp\/v2\/posts\/6748"}],"collection":[{"href":"https:\/\/www.portfolioprobe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.portfolioprobe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.portfolioprobe.com\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.portfolioprobe.com\/wp-json\/wp\/v2\/comments?post=6748"}],"version-history":[{"count":0,"href":"https:\/\/www.portfolioprobe.com\/wp-json\/wp\/v2\/posts\/6748\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.portfolioprobe.com\/wp-json\/wp\/v2\/media?parent=6748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.portfolioprobe.com\/wp-json\/wp\/v2\/categories?post=6748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.portfolioprobe.com\/wp-json\/wp\/v2\/tags?post=6748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}