Create combined CDF (Value at Risk)












2














this is my first post and I have probably already made a fool out of myself by the title but I'm desperate to understand this. My question comes from an example so I have the solution but there is a step I want to understand the theory behind.



Q: $L$ describes percentual damage to a building within next year. We know that $P(L=0)=0.95$. With $p=0.05$ a damage happens and then $L$ has uniform distribution on [50,100]. Find smallest value of m such that $P(L>m)leq 0.001$



A:
We know that $P(L=0)=0.95$ and $P(50leq L leq 100)=0.05$ and:



begin{equation}
P(L>m)=1-P(Lleq m)leq 0.001 rightarrow P(Lleq m) geq 0.999
end{equation}



And we know that a CDF is defined by $F_L(m)=P(Lleq m)$ and we get $F_L$ as:



begin{equation}
F_L(m) = begin{cases} 0 & m<0 \ 0.95 & 0 leq m <50 \ 0.95 + 0.05 cdot frac{m-50}{50} & 50 leq m leq 100 \1 & m>100end{cases}
end{equation}



My Question: What is the theory behind geting $0.95 + 0.05 cdot frac{m-50}{50}$ especially the second term. I do know that the CDF for a uniform r.v. has the form of $frac{x-a}{b-a}$ but I don't understand how we combine the cases of no damage and damage and then multiply the probability 0.05 with the CDF for a uniform r.v. I do though understand why we add the 0.95.



I have solved for m and that gives m=99 but there is some kind of essential theory that I don't get. Maybe if I know the correct term I could google it but as my title gives away I'm lost.










share|cite|improve this question



























    2














    this is my first post and I have probably already made a fool out of myself by the title but I'm desperate to understand this. My question comes from an example so I have the solution but there is a step I want to understand the theory behind.



    Q: $L$ describes percentual damage to a building within next year. We know that $P(L=0)=0.95$. With $p=0.05$ a damage happens and then $L$ has uniform distribution on [50,100]. Find smallest value of m such that $P(L>m)leq 0.001$



    A:
    We know that $P(L=0)=0.95$ and $P(50leq L leq 100)=0.05$ and:



    begin{equation}
    P(L>m)=1-P(Lleq m)leq 0.001 rightarrow P(Lleq m) geq 0.999
    end{equation}



    And we know that a CDF is defined by $F_L(m)=P(Lleq m)$ and we get $F_L$ as:



    begin{equation}
    F_L(m) = begin{cases} 0 & m<0 \ 0.95 & 0 leq m <50 \ 0.95 + 0.05 cdot frac{m-50}{50} & 50 leq m leq 100 \1 & m>100end{cases}
    end{equation}



    My Question: What is the theory behind geting $0.95 + 0.05 cdot frac{m-50}{50}$ especially the second term. I do know that the CDF for a uniform r.v. has the form of $frac{x-a}{b-a}$ but I don't understand how we combine the cases of no damage and damage and then multiply the probability 0.05 with the CDF for a uniform r.v. I do though understand why we add the 0.95.



    I have solved for m and that gives m=99 but there is some kind of essential theory that I don't get. Maybe if I know the correct term I could google it but as my title gives away I'm lost.










    share|cite|improve this question

























      2












      2








      2







      this is my first post and I have probably already made a fool out of myself by the title but I'm desperate to understand this. My question comes from an example so I have the solution but there is a step I want to understand the theory behind.



      Q: $L$ describes percentual damage to a building within next year. We know that $P(L=0)=0.95$. With $p=0.05$ a damage happens and then $L$ has uniform distribution on [50,100]. Find smallest value of m such that $P(L>m)leq 0.001$



      A:
      We know that $P(L=0)=0.95$ and $P(50leq L leq 100)=0.05$ and:



      begin{equation}
      P(L>m)=1-P(Lleq m)leq 0.001 rightarrow P(Lleq m) geq 0.999
      end{equation}



      And we know that a CDF is defined by $F_L(m)=P(Lleq m)$ and we get $F_L$ as:



      begin{equation}
      F_L(m) = begin{cases} 0 & m<0 \ 0.95 & 0 leq m <50 \ 0.95 + 0.05 cdot frac{m-50}{50} & 50 leq m leq 100 \1 & m>100end{cases}
      end{equation}



      My Question: What is the theory behind geting $0.95 + 0.05 cdot frac{m-50}{50}$ especially the second term. I do know that the CDF for a uniform r.v. has the form of $frac{x-a}{b-a}$ but I don't understand how we combine the cases of no damage and damage and then multiply the probability 0.05 with the CDF for a uniform r.v. I do though understand why we add the 0.95.



      I have solved for m and that gives m=99 but there is some kind of essential theory that I don't get. Maybe if I know the correct term I could google it but as my title gives away I'm lost.










      share|cite|improve this question













      this is my first post and I have probably already made a fool out of myself by the title but I'm desperate to understand this. My question comes from an example so I have the solution but there is a step I want to understand the theory behind.



      Q: $L$ describes percentual damage to a building within next year. We know that $P(L=0)=0.95$. With $p=0.05$ a damage happens and then $L$ has uniform distribution on [50,100]. Find smallest value of m such that $P(L>m)leq 0.001$



      A:
      We know that $P(L=0)=0.95$ and $P(50leq L leq 100)=0.05$ and:



      begin{equation}
      P(L>m)=1-P(Lleq m)leq 0.001 rightarrow P(Lleq m) geq 0.999
      end{equation}



      And we know that a CDF is defined by $F_L(m)=P(Lleq m)$ and we get $F_L$ as:



      begin{equation}
      F_L(m) = begin{cases} 0 & m<0 \ 0.95 & 0 leq m <50 \ 0.95 + 0.05 cdot frac{m-50}{50} & 50 leq m leq 100 \1 & m>100end{cases}
      end{equation}



      My Question: What is the theory behind geting $0.95 + 0.05 cdot frac{m-50}{50}$ especially the second term. I do know that the CDF for a uniform r.v. has the form of $frac{x-a}{b-a}$ but I don't understand how we combine the cases of no damage and damage and then multiply the probability 0.05 with the CDF for a uniform r.v. I do though understand why we add the 0.95.



      I have solved for m and that gives m=99 but there is some kind of essential theory that I don't get. Maybe if I know the correct term I could google it but as my title gives away I'm lost.







      probability probability-theory






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 28 at 18:47









      probablyme

      133




      133






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Consider the graph of $F_{L}$, which is a non-decreasing function. A point $(x,y)$ indicates that $P(Lleq x)=y$. We know that the graph is constant (horizontal) for $x<0$ (where the constant is $0$), from $0$ to $50$ (where the constant is $.95$), and for $x>100$ (where the constant is $1$). Since what happens in between $50$ and $100$ follows the uniform distribution, the graph must be linear from $x=50$ to $x=100$, and since $F_{L}(50)=.95$ and $F_{L}(100)=1$, the expression follows immediately.



          The underlying probability theory is that for $50leq mleq 100$,
          $$P(Lleq m)=P(L< 50)+P(50leq Lleq m) = .95 + .05cdotfrac{m-50}{50}$$






          share|cite|improve this answer





















          • Thank you very much for the great answer to my question. Would it be correct to say that $F_L (m)$ is a combination of a discrete and continuous r.v.? Where I think of the first part as a discrete r.v. And the uniform as a continuous.
            – probablyme
            Nov 28 at 19:44










          • @probablyme Be careful - $F_{L}(m)$ is not a r.v., that would be $L$. What exactly do you mean by "combination"? I suppose you could write $L=.95cdot 1_{{no damage}} + .05cdot 1_{{damage}}cdot U,$ where $U$ is uniform on $[50,100]$.
            – pwerth
            Nov 28 at 19:52













          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%2f3017536%2fcreate-combined-cdf-value-at-risk%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Consider the graph of $F_{L}$, which is a non-decreasing function. A point $(x,y)$ indicates that $P(Lleq x)=y$. We know that the graph is constant (horizontal) for $x<0$ (where the constant is $0$), from $0$ to $50$ (where the constant is $.95$), and for $x>100$ (where the constant is $1$). Since what happens in between $50$ and $100$ follows the uniform distribution, the graph must be linear from $x=50$ to $x=100$, and since $F_{L}(50)=.95$ and $F_{L}(100)=1$, the expression follows immediately.



          The underlying probability theory is that for $50leq mleq 100$,
          $$P(Lleq m)=P(L< 50)+P(50leq Lleq m) = .95 + .05cdotfrac{m-50}{50}$$






          share|cite|improve this answer





















          • Thank you very much for the great answer to my question. Would it be correct to say that $F_L (m)$ is a combination of a discrete and continuous r.v.? Where I think of the first part as a discrete r.v. And the uniform as a continuous.
            – probablyme
            Nov 28 at 19:44










          • @probablyme Be careful - $F_{L}(m)$ is not a r.v., that would be $L$. What exactly do you mean by "combination"? I suppose you could write $L=.95cdot 1_{{no damage}} + .05cdot 1_{{damage}}cdot U,$ where $U$ is uniform on $[50,100]$.
            – pwerth
            Nov 28 at 19:52


















          1














          Consider the graph of $F_{L}$, which is a non-decreasing function. A point $(x,y)$ indicates that $P(Lleq x)=y$. We know that the graph is constant (horizontal) for $x<0$ (where the constant is $0$), from $0$ to $50$ (where the constant is $.95$), and for $x>100$ (where the constant is $1$). Since what happens in between $50$ and $100$ follows the uniform distribution, the graph must be linear from $x=50$ to $x=100$, and since $F_{L}(50)=.95$ and $F_{L}(100)=1$, the expression follows immediately.



          The underlying probability theory is that for $50leq mleq 100$,
          $$P(Lleq m)=P(L< 50)+P(50leq Lleq m) = .95 + .05cdotfrac{m-50}{50}$$






          share|cite|improve this answer





















          • Thank you very much for the great answer to my question. Would it be correct to say that $F_L (m)$ is a combination of a discrete and continuous r.v.? Where I think of the first part as a discrete r.v. And the uniform as a continuous.
            – probablyme
            Nov 28 at 19:44










          • @probablyme Be careful - $F_{L}(m)$ is not a r.v., that would be $L$. What exactly do you mean by "combination"? I suppose you could write $L=.95cdot 1_{{no damage}} + .05cdot 1_{{damage}}cdot U,$ where $U$ is uniform on $[50,100]$.
            – pwerth
            Nov 28 at 19:52
















          1












          1








          1






          Consider the graph of $F_{L}$, which is a non-decreasing function. A point $(x,y)$ indicates that $P(Lleq x)=y$. We know that the graph is constant (horizontal) for $x<0$ (where the constant is $0$), from $0$ to $50$ (where the constant is $.95$), and for $x>100$ (where the constant is $1$). Since what happens in between $50$ and $100$ follows the uniform distribution, the graph must be linear from $x=50$ to $x=100$, and since $F_{L}(50)=.95$ and $F_{L}(100)=1$, the expression follows immediately.



          The underlying probability theory is that for $50leq mleq 100$,
          $$P(Lleq m)=P(L< 50)+P(50leq Lleq m) = .95 + .05cdotfrac{m-50}{50}$$






          share|cite|improve this answer












          Consider the graph of $F_{L}$, which is a non-decreasing function. A point $(x,y)$ indicates that $P(Lleq x)=y$. We know that the graph is constant (horizontal) for $x<0$ (where the constant is $0$), from $0$ to $50$ (where the constant is $.95$), and for $x>100$ (where the constant is $1$). Since what happens in between $50$ and $100$ follows the uniform distribution, the graph must be linear from $x=50$ to $x=100$, and since $F_{L}(50)=.95$ and $F_{L}(100)=1$, the expression follows immediately.



          The underlying probability theory is that for $50leq mleq 100$,
          $$P(Lleq m)=P(L< 50)+P(50leq Lleq m) = .95 + .05cdotfrac{m-50}{50}$$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 28 at 19:35









          pwerth

          1,500411




          1,500411












          • Thank you very much for the great answer to my question. Would it be correct to say that $F_L (m)$ is a combination of a discrete and continuous r.v.? Where I think of the first part as a discrete r.v. And the uniform as a continuous.
            – probablyme
            Nov 28 at 19:44










          • @probablyme Be careful - $F_{L}(m)$ is not a r.v., that would be $L$. What exactly do you mean by "combination"? I suppose you could write $L=.95cdot 1_{{no damage}} + .05cdot 1_{{damage}}cdot U,$ where $U$ is uniform on $[50,100]$.
            – pwerth
            Nov 28 at 19:52




















          • Thank you very much for the great answer to my question. Would it be correct to say that $F_L (m)$ is a combination of a discrete and continuous r.v.? Where I think of the first part as a discrete r.v. And the uniform as a continuous.
            – probablyme
            Nov 28 at 19:44










          • @probablyme Be careful - $F_{L}(m)$ is not a r.v., that would be $L$. What exactly do you mean by "combination"? I suppose you could write $L=.95cdot 1_{{no damage}} + .05cdot 1_{{damage}}cdot U,$ where $U$ is uniform on $[50,100]$.
            – pwerth
            Nov 28 at 19:52


















          Thank you very much for the great answer to my question. Would it be correct to say that $F_L (m)$ is a combination of a discrete and continuous r.v.? Where I think of the first part as a discrete r.v. And the uniform as a continuous.
          – probablyme
          Nov 28 at 19:44




          Thank you very much for the great answer to my question. Would it be correct to say that $F_L (m)$ is a combination of a discrete and continuous r.v.? Where I think of the first part as a discrete r.v. And the uniform as a continuous.
          – probablyme
          Nov 28 at 19:44












          @probablyme Be careful - $F_{L}(m)$ is not a r.v., that would be $L$. What exactly do you mean by "combination"? I suppose you could write $L=.95cdot 1_{{no damage}} + .05cdot 1_{{damage}}cdot U,$ where $U$ is uniform on $[50,100]$.
          – pwerth
          Nov 28 at 19:52






          @probablyme Be careful - $F_{L}(m)$ is not a r.v., that would be $L$. What exactly do you mean by "combination"? I suppose you could write $L=.95cdot 1_{{no damage}} + .05cdot 1_{{damage}}cdot U,$ where $U$ is uniform on $[50,100]$.
          – pwerth
          Nov 28 at 19:52




















          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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.


          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%2f3017536%2fcreate-combined-cdf-value-at-risk%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

          Wiesbaden

          Marschland

          Dieringhausen