Skip to content

microprediction/randomcov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

randomcov

Generating random covariance and correlation matrices.

Install

pip install randomcov 

or for latest

pip install git+/~https://github.com/microprediction/randomcov.git

Example

from randomcov import random_covariance_matrix
cov = random_covariance_matrix(n=50, corr_method='residuals', var_method='lognormal')

Motivation

To collect standard but also novel correlation and covariance generation methods, in order to better understand when some estimation methods work better than others in different contexts: such as the construction of machine learning model ensembles, combinations of forecasts, or financial portfolios.

About

Generating random covariance matrices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages