View source: R/features_01_claim_occurrence.R
claim_occurrence | R Documentation |
Returns the occurrence times of each of the claims occurring in each of
the periods, assuming the occurrence time of any claim in period i
is uniformly distributed between times i - 1
and i
.
claim_occurrence(frequency_vector)
frequency_vector |
a vector of claim frequencies for all the periods. |
A list of occurrence times such that the i
th component of the
list gives the claim occurrence time for all claims that occurred in period
i
.
n_vector <- c(90, 79, 102, 78, 86, 88, 116, 84, 93, 104)
# occurrence time for all claims originating from period 1
claim_occurrence(n_vector)[[1]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.