How to implement an insurance risk model












3












$begingroup$


So the problem goes as follows:



"Suppose that the different policyholders of a casualty insurance company generate claims according to independent Poisson processes with a common rate $λ$, and that each claim amount has distribution $F$. Suppose also that new customers sign up according to a Poisson process with rate $ν$, and that each existing policyholder remains with the company for an exponentially distributed time with rate $μ$. Finally, suppose that each policyholder pays the insurance firm at a fixed rate $c$ per unit time. Starting with $n_{0}$ customers and initial capital $a_{0} geq 0$, we are interested in using simulation to estimate the probability that the firm’s capital is always nonnegative at all times up to time T ."



Well to simulate the preceding, we define the variables and events as follows:



Time Variable: $t$



System State Variable: $(n, a)$, where $n$ is the number of policyholders and $a$ is the firm’s current capital.



Events: There are three types of events: a new policyholder, a lost policyholder, and a claim. The event list consists of a single value, equal to the time at which the next event occurs.



EL: $t_{E}$

We are able to have the event list consist solely of the time of the next event
because of results about exponential random variables. Specifically, if $(n, a)$ is the system state at time t then, because the minimum of independent exponential random variables is also exponential, the time at which the next event occurs will equal $t + X$, where $X$ is an exponential random variable with rate $ν +nμ+nλ$. Moreover, no matter when this next event occurs, it will result from



A new policyholder, with probability $frac{v}{ν +nμ+nλ}$



A lost policyholder, with probability $frac{nμ}{ν +nμ+nλ}$



A claim, with probability $frac{nλ}{ν +nμ+nλ}$



After determining when the next event occurs, we generate a random number to determine which of the three possibilities caused the event, and then use this
information to determine the new value of the system state variable.



In the following, for given state variable $(n, a)$, $X$ will be an exponential random variable with rate $ν + nμ + nλ$; $J$ will be a random variable equal to $1$ with probability $frac{v}{ν +nμ+nλ}$, to $2$ with probability $frac{nμ}{ν +nμ+nλ}$, or to $3$ with probability $frac{nλ}{ν +nμ+nλ}$; $Y$ will be a random variable having the claim distribution F.



Output Variable: $I$, where



$I=1$, if the firm’s capital is nonnegative throughout $[0,t]$



$I=0$, otherwise



Thinking of the algorithm it will look something like this:



Initialize



First initialize t = 0, a = a0, n = n0



then generate X and initialize t_E = X



To update the system we move along to the next event, first checking whether it takes us past time T .



Update Step



Case 1: t_e > T: Set I = 1 and end this run.



Case 2: t_e <= T: Reset a = a + nc(t_e − t) and t = t_e



Generate $J$: If J = 1: reset n = n + 1 then if J = 2: reset n = n − 1 then if J = 3: Generate $Y$. if Y > a, set I = 0 and end this run; otherwise
reset a = a − Y



Generate $X$: reset t_e = t + X



The update step is then continually repeated until a run is completed.



So far I think this could work, but since I'm not closely familiar with actuarial science (and insurance companies in general) my questions are:




  • What values for $a_{0}$ and $n_{0}$ are the most suitable (realistic) for this model in actuarial science?

  • What distributions $F$ for my $Y$ RV are common and uncommon in this field?

  • What range and in wich units of time $[0,t]$ are generally used to test models like this?


My goal is to simulate this model on python and compare if changing the distributions or rates around could determine whether this company go bankruptcy or stays with a nonnegative capital over a defined time.



PS: Please let me know what else should be taking in cosideration. Is this is just a trial and error problem (change values, variables, distribution, etc to look for a change in the end result)?.










share|cite|improve this question









$endgroup$

















    3












    $begingroup$


    So the problem goes as follows:



    "Suppose that the different policyholders of a casualty insurance company generate claims according to independent Poisson processes with a common rate $λ$, and that each claim amount has distribution $F$. Suppose also that new customers sign up according to a Poisson process with rate $ν$, and that each existing policyholder remains with the company for an exponentially distributed time with rate $μ$. Finally, suppose that each policyholder pays the insurance firm at a fixed rate $c$ per unit time. Starting with $n_{0}$ customers and initial capital $a_{0} geq 0$, we are interested in using simulation to estimate the probability that the firm’s capital is always nonnegative at all times up to time T ."



    Well to simulate the preceding, we define the variables and events as follows:



    Time Variable: $t$



    System State Variable: $(n, a)$, where $n$ is the number of policyholders and $a$ is the firm’s current capital.



    Events: There are three types of events: a new policyholder, a lost policyholder, and a claim. The event list consists of a single value, equal to the time at which the next event occurs.



    EL: $t_{E}$

    We are able to have the event list consist solely of the time of the next event
    because of results about exponential random variables. Specifically, if $(n, a)$ is the system state at time t then, because the minimum of independent exponential random variables is also exponential, the time at which the next event occurs will equal $t + X$, where $X$ is an exponential random variable with rate $ν +nμ+nλ$. Moreover, no matter when this next event occurs, it will result from



    A new policyholder, with probability $frac{v}{ν +nμ+nλ}$



    A lost policyholder, with probability $frac{nμ}{ν +nμ+nλ}$



    A claim, with probability $frac{nλ}{ν +nμ+nλ}$



    After determining when the next event occurs, we generate a random number to determine which of the three possibilities caused the event, and then use this
    information to determine the new value of the system state variable.



    In the following, for given state variable $(n, a)$, $X$ will be an exponential random variable with rate $ν + nμ + nλ$; $J$ will be a random variable equal to $1$ with probability $frac{v}{ν +nμ+nλ}$, to $2$ with probability $frac{nμ}{ν +nμ+nλ}$, or to $3$ with probability $frac{nλ}{ν +nμ+nλ}$; $Y$ will be a random variable having the claim distribution F.



    Output Variable: $I$, where



    $I=1$, if the firm’s capital is nonnegative throughout $[0,t]$



    $I=0$, otherwise



    Thinking of the algorithm it will look something like this:



    Initialize



    First initialize t = 0, a = a0, n = n0



    then generate X and initialize t_E = X



    To update the system we move along to the next event, first checking whether it takes us past time T .



    Update Step



    Case 1: t_e > T: Set I = 1 and end this run.



    Case 2: t_e <= T: Reset a = a + nc(t_e − t) and t = t_e



    Generate $J$: If J = 1: reset n = n + 1 then if J = 2: reset n = n − 1 then if J = 3: Generate $Y$. if Y > a, set I = 0 and end this run; otherwise
    reset a = a − Y



    Generate $X$: reset t_e = t + X



    The update step is then continually repeated until a run is completed.



    So far I think this could work, but since I'm not closely familiar with actuarial science (and insurance companies in general) my questions are:




    • What values for $a_{0}$ and $n_{0}$ are the most suitable (realistic) for this model in actuarial science?

    • What distributions $F$ for my $Y$ RV are common and uncommon in this field?

    • What range and in wich units of time $[0,t]$ are generally used to test models like this?


    My goal is to simulate this model on python and compare if changing the distributions or rates around could determine whether this company go bankruptcy or stays with a nonnegative capital over a defined time.



    PS: Please let me know what else should be taking in cosideration. Is this is just a trial and error problem (change values, variables, distribution, etc to look for a change in the end result)?.










    share|cite|improve this question









    $endgroup$















      3












      3








      3





      $begingroup$


      So the problem goes as follows:



      "Suppose that the different policyholders of a casualty insurance company generate claims according to independent Poisson processes with a common rate $λ$, and that each claim amount has distribution $F$. Suppose also that new customers sign up according to a Poisson process with rate $ν$, and that each existing policyholder remains with the company for an exponentially distributed time with rate $μ$. Finally, suppose that each policyholder pays the insurance firm at a fixed rate $c$ per unit time. Starting with $n_{0}$ customers and initial capital $a_{0} geq 0$, we are interested in using simulation to estimate the probability that the firm’s capital is always nonnegative at all times up to time T ."



      Well to simulate the preceding, we define the variables and events as follows:



      Time Variable: $t$



      System State Variable: $(n, a)$, where $n$ is the number of policyholders and $a$ is the firm’s current capital.



      Events: There are three types of events: a new policyholder, a lost policyholder, and a claim. The event list consists of a single value, equal to the time at which the next event occurs.



      EL: $t_{E}$

      We are able to have the event list consist solely of the time of the next event
      because of results about exponential random variables. Specifically, if $(n, a)$ is the system state at time t then, because the minimum of independent exponential random variables is also exponential, the time at which the next event occurs will equal $t + X$, where $X$ is an exponential random variable with rate $ν +nμ+nλ$. Moreover, no matter when this next event occurs, it will result from



      A new policyholder, with probability $frac{v}{ν +nμ+nλ}$



      A lost policyholder, with probability $frac{nμ}{ν +nμ+nλ}$



      A claim, with probability $frac{nλ}{ν +nμ+nλ}$



      After determining when the next event occurs, we generate a random number to determine which of the three possibilities caused the event, and then use this
      information to determine the new value of the system state variable.



      In the following, for given state variable $(n, a)$, $X$ will be an exponential random variable with rate $ν + nμ + nλ$; $J$ will be a random variable equal to $1$ with probability $frac{v}{ν +nμ+nλ}$, to $2$ with probability $frac{nμ}{ν +nμ+nλ}$, or to $3$ with probability $frac{nλ}{ν +nμ+nλ}$; $Y$ will be a random variable having the claim distribution F.



      Output Variable: $I$, where



      $I=1$, if the firm’s capital is nonnegative throughout $[0,t]$



      $I=0$, otherwise



      Thinking of the algorithm it will look something like this:



      Initialize



      First initialize t = 0, a = a0, n = n0



      then generate X and initialize t_E = X



      To update the system we move along to the next event, first checking whether it takes us past time T .



      Update Step



      Case 1: t_e > T: Set I = 1 and end this run.



      Case 2: t_e <= T: Reset a = a + nc(t_e − t) and t = t_e



      Generate $J$: If J = 1: reset n = n + 1 then if J = 2: reset n = n − 1 then if J = 3: Generate $Y$. if Y > a, set I = 0 and end this run; otherwise
      reset a = a − Y



      Generate $X$: reset t_e = t + X



      The update step is then continually repeated until a run is completed.



      So far I think this could work, but since I'm not closely familiar with actuarial science (and insurance companies in general) my questions are:




      • What values for $a_{0}$ and $n_{0}$ are the most suitable (realistic) for this model in actuarial science?

      • What distributions $F$ for my $Y$ RV are common and uncommon in this field?

      • What range and in wich units of time $[0,t]$ are generally used to test models like this?


      My goal is to simulate this model on python and compare if changing the distributions or rates around could determine whether this company go bankruptcy or stays with a nonnegative capital over a defined time.



      PS: Please let me know what else should be taking in cosideration. Is this is just a trial and error problem (change values, variables, distribution, etc to look for a change in the end result)?.










      share|cite|improve this question









      $endgroup$




      So the problem goes as follows:



      "Suppose that the different policyholders of a casualty insurance company generate claims according to independent Poisson processes with a common rate $λ$, and that each claim amount has distribution $F$. Suppose also that new customers sign up according to a Poisson process with rate $ν$, and that each existing policyholder remains with the company for an exponentially distributed time with rate $μ$. Finally, suppose that each policyholder pays the insurance firm at a fixed rate $c$ per unit time. Starting with $n_{0}$ customers and initial capital $a_{0} geq 0$, we are interested in using simulation to estimate the probability that the firm’s capital is always nonnegative at all times up to time T ."



      Well to simulate the preceding, we define the variables and events as follows:



      Time Variable: $t$



      System State Variable: $(n, a)$, where $n$ is the number of policyholders and $a$ is the firm’s current capital.



      Events: There are three types of events: a new policyholder, a lost policyholder, and a claim. The event list consists of a single value, equal to the time at which the next event occurs.



      EL: $t_{E}$

      We are able to have the event list consist solely of the time of the next event
      because of results about exponential random variables. Specifically, if $(n, a)$ is the system state at time t then, because the minimum of independent exponential random variables is also exponential, the time at which the next event occurs will equal $t + X$, where $X$ is an exponential random variable with rate $ν +nμ+nλ$. Moreover, no matter when this next event occurs, it will result from



      A new policyholder, with probability $frac{v}{ν +nμ+nλ}$



      A lost policyholder, with probability $frac{nμ}{ν +nμ+nλ}$



      A claim, with probability $frac{nλ}{ν +nμ+nλ}$



      After determining when the next event occurs, we generate a random number to determine which of the three possibilities caused the event, and then use this
      information to determine the new value of the system state variable.



      In the following, for given state variable $(n, a)$, $X$ will be an exponential random variable with rate $ν + nμ + nλ$; $J$ will be a random variable equal to $1$ with probability $frac{v}{ν +nμ+nλ}$, to $2$ with probability $frac{nμ}{ν +nμ+nλ}$, or to $3$ with probability $frac{nλ}{ν +nμ+nλ}$; $Y$ will be a random variable having the claim distribution F.



      Output Variable: $I$, where



      $I=1$, if the firm’s capital is nonnegative throughout $[0,t]$



      $I=0$, otherwise



      Thinking of the algorithm it will look something like this:



      Initialize



      First initialize t = 0, a = a0, n = n0



      then generate X and initialize t_E = X



      To update the system we move along to the next event, first checking whether it takes us past time T .



      Update Step



      Case 1: t_e > T: Set I = 1 and end this run.



      Case 2: t_e <= T: Reset a = a + nc(t_e − t) and t = t_e



      Generate $J$: If J = 1: reset n = n + 1 then if J = 2: reset n = n − 1 then if J = 3: Generate $Y$. if Y > a, set I = 0 and end this run; otherwise
      reset a = a − Y



      Generate $X$: reset t_e = t + X



      The update step is then continually repeated until a run is completed.



      So far I think this could work, but since I'm not closely familiar with actuarial science (and insurance companies in general) my questions are:




      • What values for $a_{0}$ and $n_{0}$ are the most suitable (realistic) for this model in actuarial science?

      • What distributions $F$ for my $Y$ RV are common and uncommon in this field?

      • What range and in wich units of time $[0,t]$ are generally used to test models like this?


      My goal is to simulate this model on python and compare if changing the distributions or rates around could determine whether this company go bankruptcy or stays with a nonnegative capital over a defined time.



      PS: Please let me know what else should be taking in cosideration. Is this is just a trial and error problem (change values, variables, distribution, etc to look for a change in the end result)?.







      statistics simulation actuarial-science






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 19 '18 at 2:08









      JanoJano

      161




      161






















          0






          active

          oldest

          votes












          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "69"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3045910%2fhow-to-implement-an-insurance-risk-model%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Mathematics Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3045910%2fhow-to-implement-an-insurance-risk-model%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Plaza Victoria

          Puebla de Zaragoza

          Musa