-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathweight_concentration_objective.Rd
47 lines (40 loc) · 1.32 KB
/
weight_concentration_objective.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
\name{weight_concentration_objective}
\alias{weight_concentration_objective}
\title{Constructor for weight concentration objective}
\usage{
weight_concentration_objective(name, conc_aversion,
conc_groups = NULL, arguments = NULL, enabled = TRUE,
...)
}
\arguments{
\item{name}{name of concentration measure, currently only
"HHI" is supported.}
\item{conc_aversion}{concentration aversion value(s)}
\item{conc_groups}{list of vectors specifying the groups
of the assets. Similar to \code{groups} in
\code{\link{group_constraint}}}
\item{arguments}{default arguments to be passed to an
objective function when executed}
\item{enabled}{TRUE/FALSE}
\item{\dots}{any other passthru parameters}
}
\value{
an object of class 'weight_concentration_objective'
}
\description{
This function penalizes weight concentration using the
Herfindahl-Hirschman Index as a measure of concentration.
}
\details{
The \code{conc_aversion} argument can be a scalar or
vector of concentration aversion values. If
\code{conc_aversion} is a scalar and \code{conc_groups}
is \code{NULL}, then the concentration aversion value
will be applied to the overall weights.
If \code{conc_groups} is specified as an argument, then
the concentration aversion value(s) will be applied to
each group.
}
\author{
Ross Bennett
}