Learn R Programming

cascsim (version 0.4)

setVolList<-: Set the year-to-year loss development factor volatility.

Description

setMeanList<- sets year-to-year loss development factor volatility. It is used to simulate loss development factor assuming a normal distribution. It can be set to zero for deterministic estimation. It is only used when ibnerfModel == FALSE.

Usage

setVolList(this, ...) <- value

# S4 method for DevFac,vector setVolList(this) <- value

Arguments

this

DevFac Object

...

Additional function arguments

value

Numeric Vector

Examples

Run this code
# NOT RUN {
xIBNERFactor <- new("DevFac")
setID(xIBNERFactor)<-"IF1"
setFacModel(xIBNERFactor)<-FALSE
setMeanList(xIBNERFactor)<-c(1.26,1.1,1.05,1.02,1)
setVolList(xIBNERFactor)<-rep(0.02,5)
xIBNERFactor
# }

Run the code above in your browser using DataLab