Learn R Programming

ceRtainty (version 1.0.0)

rac_generator: 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

Value

Produce a single vector of adjusted RACs.

Details

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

Examples

Run this code
# NOT RUN {
# Example
data("profitSWG")
rac_generator(data = profitSWG$control, ini = 0.5, fin = 4.0)
# }

Run the code above in your browser using DataLab