Path: blob/master/sandbox/paper_analysis/readme.txt
1433 views
#################################################################################1# Code and data for replication of analysis of2# Boudt K, Carl P and Peterson B. 2009. Portfolio optimization with risk budgets.3# Disclaimer: This is free software and comes with ABSOLUTELY NO WARRANTY4# These programs are compatible with R version 2.13.05#################################################################################67# Set your working directory to the folder "***\risk budget programs"89# This folder contains the subfolders R_allocation, R_interpretation, data, weights, etc1011# Folder insample: is the insample analysis for the bondequity portfolio and for the efficient frontier1213# Folder R_Allocation has the R code needed to do solve the portfolio allocation problem:1415- main_riskbudgets.R: user interface through which the data, optimization criteria and constraints are identified and the allocation functions are called.1617- risk_budget_functions.R: has the functions for the portfolio allocation1819- estimators.R: has the portfolio risk estimators.2021# Folder R_interpretation has the R code needed for the analysis of the optimized portfolios:2223- stackedweightriskcontributionplot_oct.R: produces a 2x2 plot with the weights and risk allocation of the investment size and risk budget constrained portfolios.24uses functions in chart.StackedBar.R25- performanceanalysis_oct.R: studies the out-of-sample returns (uses functions in pfolioreturn.R to obtain returns that account for compounding)262728# Folder data has the data2930# Folder weights has the weights for the optimized portfolios3132# Folder riskcont has the percentage risk contributions for the optimized portfolios3334