rac_generator {ceRtainty}R Documentation

RAC Generator

Description

RAC Generator

Usage

rac_generator(data, ini, fin)

Arguments

data

data.frame object to weight the RAC

ini

The initial value of the risk aversion coefficient (RAC) sequence

fin

The final value of the risk aversion coefficient (RAC) sequence

Details

Create a vector with the adjusted relative risk aversion coefficients to be used in the CE computation, under Power utility function.

Value

Produce a single vector of adjusted RACs.

Examples

# Example
data("profitSWG")
rac_generator(data = profitSWG$control, ini = 0.5, fin = 4.0)

[Package ceRtainty version 1.0.0 Index]