powered by
objective sets a new objective for VaR and Expected Shortfall
objective
objective(model, objective = "markowitz")
the portfolio.model to be changed
the new objective
the adapted portfolio.model
# NOT RUN { data(sp100w17av30s) model <- portfolio.model(scenario.set) mad <- optimal.portfolio(objective(model, "mad")) # }
Run the code above in your browser using DataLab