utility_fun: Objective function

View source: R/utility_fun.R

utility_funR Documentation

Objective function

Description

Utility function.

Usage

utility_fun(type = "absolute", mu, Sigma, lambda, w_bench = NULL,
  min_var = FALSE, same_assets_bench = TRUE)

Arguments

type

of objective function. absolute or relative.

mu

Expected return

Sigma

covariance matrix

lambda

risk aversion coefficient

w_bench

Benchmark weigths

min_var

Indicator Min-Var portfolio

same_assets_bench

Indicator function. If the portfolio and the benchmark assets are the same TRUE, otherwise FALSE.

Value

Objective function.


veldanie/SuraInvestmentAnalytics documentation built on April 14, 2024, 10:29 p.m.