Simulates from the posterior distribution of the payment and settlement rates. The prior for the payment and settlement rates are independent gamma distributions.
1 | fn_parameter_sim(n_numSims,ls_data,v_r_observedTerm,v_r_paymentPriorParams,v_r_settlementPriorParams)
|
ls_data |
A dataset in the form of a list |
v_r_observedTerm |
A vector of reals representing the observed term of each claim |
n_numSims |
The number of simulations to generate |
v_r_paymentPriorParams |
The parameters of the prior distribution of the payment rate |
v_r_settlementPriorParams |
The parameters of the prior distribution of the settlement rate |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.