GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - WLM1ke/LedoitWolf: Ledoit-Wolf covariance matrix estimator of stock returns

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
ledoit_wolf.py
ledoit_wolf.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Ledoit-Wolf covariance matrix estimator of stock returns

The estimation of the covariance matrix of stock returns is required for portfolio optimization. The standard statistical method is to gather a history of past stock returns and compute their sample covariance matrix. Unfortunately this creates problems when the number of stocks under consideration is large, especially relative to the number of historical return observations available, the sample covariance matrix is estimated with a lot of error. It implies that the most extreme coefficients in the matrix thus estimated tend to take on extreme values not because this is "the truth", but because they contain an extreme amount of error. The mean-variance optimization software will place its biggest bets on those coefficients which are the most extremely unreliable.

This implementation of the covariance matrix estimator use Ledoit-Wolf shrinkage to constant correlation unequal variance target and is based on Honey, I Shrunk the Sample Covariance Matrix and was proposed to solve the problem of unreliable sample covariance.

Why not sklearn?

Ledoit-Wolf Estimator from sklearn use shrinkage to zero correlation equal variance target and implies no systematic risk and equal total risk of all stocks.

Special thanks to:

Evgeny Pogrebnyak

About

Ledoit-Wolf covariance matrix estimator of stock returns

Topics

covariance-matrixledoit-wolfstock-returns

Resources

Readme
Activity

Stars

51 stars

Watchers

3 watching

Forks

9 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.