Skip to content

This Repository contains functions to replicate Ledoit and Wolf (2008), Ledoit and Wolf (2011), and Ledoit and Wolf (2018).

Notifications You must be signed in to change notification settings

pfnaibert/LW-SR-VAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replication of Ledoit and Wolf (2008, 2011, 2018) Functions

Paulo Ferreira Naibert

Original: 2019 October 13.

Current: 05, agosto, 2020

Overview

This Repository contains functions to replicate Oliver Ledoit and Wolf (2008), Oliver Ledoit and Wolf (2011), and Olivier Ledoit and Wolf (2018).

Michael Wolf provides R codes for those two papers on his webpage, in the publications section.

What is found here is merely an edit of those codes.

If you find any bug, or technical error, please contact me.

PAPERS and GOALS of the code

On Oliver Ledoit and Wolf (2008), Oliver Ledoit and Wolf (2011), and Olivier Ledoit and Wolf (2018), the authors provide methods to test the hypothesis of difference in the Sharpe Ratio and the Variance of two investment strategies. The papers can be found in the following links:

SR Paper, SR WP, Variance Paper, Variance WP, Generalized WP.

Also, I made a summary of those papers here

Functions

The functions can be found here. They are edits of the Sharpe.RData and Var.RData files that can be found in Michael Wolf's website with some additions and modifications.

I didn't have enought time to modify the block.size.calibrate() functions.

Data

For the data, I simpy saved the returns data of Sharpe.RData as a .RDS file. Loading rets.RDS should result in a list object on the R Software (R Core Team 2019) .

USAGE

See DEMO files.

TODO

  • Document Functions (R and html nb)

DISCLAIMER

I own NONE of the rights to the codes. I simply edited the already existing codes in Michael Wolf's Webpage. I also offer NO support for the functions. They are presented "AS IS".

ACKNOWLEDGEMENTS

I would like to thank Michael Wolf for providing the original functions on his webstite.

REFERENCES

Ledoit, Oliver, and Michael Wolf. 2008. “Robust performance hypothesis testing with the Sharpe ratio.” Journal of Empirical Finance 15 (5): 850–59.

———. 2011. “Robust performance hypothesis testing with the Variance.” Wilmott Magazine, no. 55 (September): 86–89.

Ledoit, Olivier, and Michael Wolf. 2018. “Robust Performance Hypothesis Testing with Smooth Functions of Population Moments.” Working Paper Series 305. Department of Economics, University of Zurich.

R Core Team. 2019. R: A Language and Environment for Statistical Computing. Vienna, Austria: R Foundation for Statistical Computing. https://www.R-project.org/.

About

This Repository contains functions to replicate Ledoit and Wolf (2008), Ledoit and Wolf (2011), and Ledoit and Wolf (2018).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages