setDevFac-methods: Set up an IBNER loss development schedule.

Description Usage Arguments Examples

Description

setDevFac sets a loss development schedule, from either a predictive model or a year-to-year factor vector.

Usage

1
2
3
4
setDevFac(object, ...)

## S4 method for signature 'DevFac'
setDevFac(object)

Arguments

object

DevFac Object

...

Additional function arguments

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
xIBNERFactor <- new("DevFac", FacID = "IF1", FacModel = FALSE, meanList = c(1.26,1.1,1.05,1.02,1),
volList = rep(0.02,5))
xIBNERFactor<-setDevFac(xIBNERFactor)
xIBNERFactor

xIBNERFactor <- new("DevFac")
setID(xIBNERFactor)<-"IF1"
setFacModel(xIBNERFactor)<-TRUE
setFun(xIBNERFactor)<-"identity"
setXname(xIBNERFactor)<- c("x1","x2","x3")
setParas(xIBNERFactor)<-c(0.6,-0.2,0.01,-0.3,0.02,0.03,0.01,0.02)
xIBNERFactor<-setDevFac(xIBNERFactor)
xIBNERFactor

cascsim documentation built on Jan. 13, 2020, 5:07 p.m.