Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

High dimensional shrinkage optimal portfolios in R

License

NotificationsYou must be signed in to change notification settings

Otryakhin-Dmitry/high-dimensional-shrinkage-optimal-portfolios

Repository files navigation

CRAN_Status_BadgeProject Status: Active – The project has reached a stable, usable state and is being actively developed.R-CMD-check

Description

The package features a framework for working with high-dimensional shrinkageoptimal portfolios. It allows constructing those in two ways: 1) by applyingshrinkage directly to the portfolio weights (functionMVShrinkPortfolio) and2) by obtaining shrinkage estimates of mean returns and covariance matrices(functionMeanVar_portfolio).

Installation

The latest stable release is always on CRAN:

install.packages('HDShOP')

The latest development version can be installed in the following way:

library("remotes")u<-"Otryakhin-Dmitry/"r<-"global-minimum-variance-portfolio"re<- paste(u,r,sep="")remotes::install_github(repo=re,subdir="")

Example

In this example, returns of assets from S&P500 are loaded and an MV portfolio iscreated, for which methodssummary andplot are called.

library(HDShOP)# loading S&P daily asset returnsdata("SP_daily_asset_returns")assets<- t(SP_daily_asset_returns[2:301,2:201])gamma<-1p<- nrow(assets)b<-exp(-0.1*(1:p))# creating an MV shrinkage portfoliosh_mv_port<- MVShrinkPortfolio(x=assets,gamma=gamma,type='shrinkage',b=b,beta=0.05)# Making a summary and plotting the portfoliosummary(sh_mv_port)plot(sh_mv_port)

Citation

Taras Bodnar, Solomiia Dmytriv, Yarema Okhrin, Dmitry Otryakhin & NestorParolya (12 May 2025): High-Dimensional portfolio selection with HDShOP package, TheEuropean Journal of Finance,DOI: 10.1080/1351847X.2025.2501637

About

High dimensional shrinkage optimal portfolios in R

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp