Description Usage Arguments Examples
View source: R/02-risk-model.R
Function to calculate surplus of the insurer under individual risk model
1 2 3 4 5 6 7 | surplus_irm(
time_points,
n_policies = 5,
claim_size_rate = 2,
initial_capital = 10,
avg_premium_rate = 1
)
|
time_points |
vector of time points, expecting to be increamental |
n_policies |
number of independent policies |
claim_size_rate |
rate of exponential claim size |
initial_capital |
initial capital of the surplus |
avg_premium_rate |
average premium rate |
1 | surplus_irm(seq(0, 1, 0.05))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.