Skip to contents

Retrieves the Markov chain components from a profileLadder object returned from the function mcReserve() or the mcSetup object returned from the function incrExplor(). In particular, the function returns the vector of the states used by the underlying Markov Chain utilized for reserve prediction in the MACRAME algorithm.

Usage

mcStates(object)

Arguments

object

An object of the class profileLadder returned from the function mcReserve() or an object of the class mcSetup returned from the function incrExplor().

Value

The vector of the Markov chain states that are used by the MACRAME algorithm.

Examples

## MACRAME reserve prediction with the DEFAULT Markov chain setup 
output <- mcReserve(CameronMutual)

## Extracting the corresponding Markov states
mcStates(output)
#>  [1]   13.0   81.0  197.0  302.5  438.0  601.0  948.0 1672.5 3073.0 3993.0

#' ## Extracting the corresponding states when explicit breaks are used
mcStates(mcReserve(CameronMutual, breaks = c(1000, 2000, 3000)))
#> [1]  291.0 1595.0 2773.5 3955.0

sidebar.html