Actuarial Discussion Forum - Professional Discussions for Professional Actuaries

Actuarial Jobs from Actuary.com    Submit Your Actuarial Resume Anonymously
Other Insurance Jobs    Other Financial Jobs    Other Health Jobs    Other IT Jobs    Other Jobs, Careers and Employment    Actuarial News
Directory of Actuarial Exam Study Courses - Online    Directory of Actuarial Exam Study Materials    Directory of Actuarial Exam Study Seminars - Live
Directory of Actuarial Recruiters    Directory of Actuarial Schools    Actuarial Grads Network    Actuary.com 



D.W. Simpson & Co, Inc. - Worldwide Actuarial Jobs
Life Jobs 
Health Jobs Pension Jobs Casualty Jobs Salary Apply
Pauline Reimer, ASA, MAAA - Pryor Associates
Nat'l/Int'l Actuarial Openings: Life P&C Health Pensions Finance
ACTEX Publications and MadRiver Books
Serving students worldwide for over 40 years
Advertise Here - Reach Actuarial Professionals
Advertising Information
Actuarial Careers, Inc.® - Actuarial Jobs Worldwide
Search positions by geographic region, specialization, or salary
Ezra Penland Actuarial Recruiters - Top Actuarial Jobs
Salary Surveys  Apply Online   Bios   Casualty   Health   Life   Pension

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: SOA 123 Prob 62

  1. #1
    Actuary.com - Level II Poster
    Join Date
    Jul 2007
    Location
    WI
    Posts
    61

    SOA 123 Prob 62

    A r.v. X has the CDF:

    F(x) = {0, x<1
    (x^2-2x+2)/2, 1<=x<2,
    1, x>2
    }

    Calculate the variance of X.

    The solution immediately says "note that the density function of X is..." but doesn't go on to say how we come up with it. I guess I'm just confused on mixed distributions. How do we come up with the PDF for a mixed distribution from a given CDF? Calculating the variance is straightforward once you have the PDF but I just can't grasp how to get there.

    When I differentiate the CDF I get the correct PDF but I'm off by a constant. How do we know exactly how to do this? What if the "weights" of each are something different from 1/2?

    Could someone help me out and give a full explanation of how they would approach/solve this problem. Thanks a lot and I appreciate any help.

    [url]http://www.casact.org/admissions/studytools/exam1/P-09-07QS.pdf[/url]
    Czar

  2. #2
    Actuary.com - Level VI Poster jthias's Avatar
    Join Date
    Dec 2005
    Location
    WA
    Posts
    858
    The trick is to look at the endpoints of the pieces of the piecewise-defined F.

    F(1) = 1/2 and F(x) = 0 for x<1 forces f(1) to be 1/2.

    lim as x --> 2- of F(x) is 1, so X has no non-zero probability at the point x=2.

    So to conclude, X is a mixed distribution with

    f(1) = 1/2

    and

    f(x) = x-1 on (1,2)

    and zero elsewhere

    my apologies for the mistakes, I have bad habit of working out problems via keyboard sometimes..turns out I had it right the first time around
    Last edited by jthias; August 9th 2007 at 04:36 PM. Reason: correction/additions highlighted

  3. #3
    Actuary.com - Level V Poster
    Join Date
    Jan 2006
    Location
    US/Virginia
    Posts
    554
    Quote Originally Posted by The_Czar52 View Post
    A r.v. X has the CDF:

    F(x) = {0, x<1
    (x^2-2x+2)/2, 1<=x<2,
    1, x>2
    }

    Calculate the variance of X.

    The solution immediately says "note that the density function of X is..." but doesn't go on to say how we come up with it. I guess I'm just confused on mixed distributions. How do we come up with the PDF for a mixed distribution from a given CDF? Calculating the variance is straightforward once you have the PDF but I just can't grasp how to get there.

    When I differentiate the CDF I get the correct PDF but I'm off by a constant. How do we know exactly how to do this? What if the "weights" of each are something different from 1/2?

    Could someone help me out and give a full explanation of how they would approach/solve this problem. Thanks a lot and I appreciate any help.

    [url]http://www.casact.org/admissions/studytools/exam1/P-09-07QS.pdf[/url]
    As long as you observe it's a mixed distribution and have attached correct weights to the discrete parts, the off-by-constant is not an issue.

    To avoid differentiation, you can see that X is a positive random variable, therefore, you can compute the variance by the survival method:

    Var(X) = E(X^2) - (E(X))^2
    = int(0 to infinity) of 2x*S(x) dx -{int(0 to infinity) of S(x) dx}^2

    Please double check, as I didn't bother to check it.

    ctperng

  4. #4
    Actuary.com - Level II Poster
    Join Date
    Mar 2007
    Posts
    96
    I would say, the key word is the "<=" that stated at the question...Everytime you encounter those <= just be extra careful...to be safe check the F(x) before you do the solution...I know this is tricky...i got caught too...:Waldo:

  5. #5
    Actuary.com - Level II Poster
    Join Date
    May 2007
    Posts
    51
    Quote Originally Posted by The_Czar52 View Post
    A r.v. X has the CDF:

    F(x) = {0, x<1
    (x^2-2x+2)/2, 1<=x<2,
    1, x>2
    }

    Calculate the variance of X.

    The solution immediately says "note that the density function of X is..." but doesn't go on to say how we come up with it. I guess I'm just confused on mixed distributions. How do we come up with the PDF for a mixed distribution from a given CDF? Calculating the variance is straightforward once you have the PDF but I just can't grasp how to get there.

    When I differentiate the CDF I get the correct PDF but I'm off by a constant. How do we know exactly how to do this? What if the "weights" of each are something different from 1/2?

    Could someone help me out and give a full explanation of how they would approach/solve this problem. Thanks a lot and I appreciate any help.

    [url]http://www.casact.org/admissions/studytools/exam1/P-09-07QS.pdf[/url]
    I had a bit of a problem figuring this one out too, but the trick is to seprate the
    (x^2-2x+2)/2 into 2 parts

    0.5*(x^2-2x)+0.5*(2)

    Note its actually like saying c*(f(x)) + (1-c)*(g(y)) where c is an arbitrary constant.

    From this you should be able to concluded its a mixed distribution.
    The endpoints as jthias described, give you an idea of where the point densities exist.

    JGET

  6. #6
    Actuary.com - Level II Poster
    Join Date
    Jul 2007
    Location
    WI
    Posts
    61
    For some reason I'm still confused on this. When I split it up, it get:

    F(x) = .5(x^2-2x+1) + .5(1) = .5(x^2-2x+2) (The original CDF)

    F_x1(x) = x^2-2x+1, 1<=x<2,
    = 0, x<1

    F_x2(x) = 1, x = 1,
    = 0, x<1

    f_x1(x) = 2x-2, 1<=x<2
    f_x2(x) = 1, x=1

    Var(X) = E(X^2) - [E(X)]^2

    E(X^2) = .5E(X_1^2) + .5E(X_2^2) = .5(17/6) + .5(1)
    E(X) = .5E(X_1) +.5E(X_2) =.5(5/3) + .5(1)

    Var(X) = 23/12 - (4/3)2 = 5/36 ~ .139

    I just worked this out and I actually got the correct answer! (I thought going in that there was no way it would work out). I tried this before and for some reason it never worked. It must have been a stupid algebra mistake everytime that I overlooked.

    I find it amazing that we still all got the same answer yet we used 3 or 4 different methods to do it. Math is truely amazing! :geek:

    Thanks for the help everyone!
    Czar

  7. #7
    Actuary.com - Level VI Poster jthias's Avatar
    Join Date
    Dec 2005
    Location
    WA
    Posts
    858
    Quote Originally Posted by The_Czar52 View Post

    ...Math is truely amazing! :geek:
    Yup...one of the few things that keeps me awestruck as an adult, the same way I felt as a kid watching a magic act, and wondering how the magician pulled a rabbit from his hat, but math goes one step better...you can show how the magician produced that rabbit
    Last edited by jthias; August 13th 2007 at 05:32 PM.

  8. #8
    Actuary.com - Level IV Poster Anu Dhanuka's Avatar
    Join Date
    Mar 2007
    Location
    CA
    Posts
    264
    Quote Originally Posted by The_Czar52 View Post
    For some reason I'm still confused on this. When I split it up, it get:

    F(x) = .5(x^2-2x+1) + .5(1) = .5(x^2-2x+2) (The original CDF)

    F_x1(x) = x^2-2x+1, 1<=x<2,
    = 0, x<1

    F_x2(x) = 1, x = 1,
    = 0, x<1

    f_x1(x) = 2x-2, 1<=x<2
    f_x2(x) = 1, x=1

    Var(X) = E(X^2) - [E(X)]^2

    E(X^2) = .5E(X_1^2) + .5E(X_2^2) = .5(17/6) + .5(1)
    E(X) = .5E(X_1) +.5E(X_2) =.5(5/3) + .5(1)

    Var(X) = 23/12 - (4/3)2 = 5/36 ~ .139

    I just worked this out and I actually got the correct answer! (I thought going in that there was no way it would work out). I tried this before and for some reason it never worked. It must have been a stupid algebra mistake everytime that I overlooked.

    I find it amazing that we still all got the same answer yet we used 3 or 4 different methods to do it. Math is truely amazing! :geek:

    Thanks for the help everyone!
    Hi Czar,
    Thats so tru, that same problem in maths have different approaches....i guess this mixed distribution is still '''''ing me up....
    I saw this question in ASM....i understood the ways what other guys followed....i am unsure about ur way, and wants to learn this....can u please help me in giving an explaination hw u solved it (step by step preferable)...
    plus can u also help me to knw, hw do u break main component of F(x) in its components....
    from there after we can then easily get f(x)....

    all explaination will be highly appreciated...

    Thanks a lot...

  9. #9
    Actuary.com - Level II Poster
    Join Date
    Jul 2007
    Location
    WI
    Posts
    61
    Quote Originally Posted by Anu Dhanuka View Post
    Hi Czar,
    Thats so tru, that same problem in maths have different approaches....i guess this mixed distribution is still '''''ing me up....
    I saw this question in ASM....i understood the ways what other guys followed....i am unsure about ur way, and wants to learn this....can u please help me in giving an explaination hw u solved it (step by step preferable)...
    plus can u also help me to knw, hw do u break main component of F(x) in its components....
    from there after we can then easily get f(x)....

    all explaination will be highly appreciated...

    Thanks a lot...
    Sure,

    The original CDF is .5(x^2-2x+2). I rewrote it as...
    .5(x^2-2x+1+1) = .5(x^2-2x+1) + .5(1). This is of the form
    c1(F_x1(x) + c2(F_x2(x) where c1,c2 are the weights and F_x1(x) and F_x2(x) are the continuous and discrete components of the CDF.

    Now F_x1(x) = x^2-2x+1, 1<=x<2,
    = 0, x<1

    F_x2(x) = 1, x = 1,
    = 0, x<1

    Differentiating the continous CDF gives us the continuous PDF, f_x1(x)

    f_x1(x) = 2x-2, 1<=x<2

    And the discrete component equals 1 at x=1 and 0 elsewhere.
    f_x2(x) = 1, x=1

    Var(X) = E(X^2) - [E(X)]^2

    To find the variance now we simply take the weighted average of E(X^2) and the weighted E(X)

    E(X^2) = .5E(X_1^2) + .5E(X_2^2) = .5(17/6) + .5(1) = 23/12
    E(X) = .5E(X_1) +.5E(X_2) =.5(5/3) + .5(1) = 4/3

    Var(X) = 23/12 - (4/3)2 = 5/36 ~ .139

    Hope this helps!
    Czar

  10. #10
    Actuary.com - Level IV Poster Anu Dhanuka's Avatar
    Join Date
    Mar 2007
    Location
    CA
    Posts
    264
    Quote Originally Posted by The_Czar52 View Post
    Sure,

    The original CDF is .5(x^2-2x+2). I rewrote it as...
    .5(x^2-2x+1+1) = .5(x^2-2x+1) + .5(1). This is of the form
    c1(F_x1(x) + c2(F_x2(x) where c1,c2 are the weights and F_x1(x) and F_x2(x) are the continuous and discrete components of the CDF.

    Now F_x1(x) = x^2-2x+1, 1<=x<2,
    = 0, x<1

    F_x2(x) = 1, x = 1,
    = 0, x<1

    Differentiating the continous CDF gives us the continuous PDF, f_x1(x)

    f_x1(x) = 2x-2, 1<=x<2

    And the discrete component equals 1 at x=1 and 0 elsewhere.
    f_x2(x) = 1, x=1

    Var(X) = E(X^2) - [E(X)]^2

    To find the variance now we simply take the weighted average of E(X^2) and the weighted E(X)

    E(X^2) = .5E(X_1^2) + .5E(X_2^2) = .5(17/6) + .5(1) = 23/12
    E(X) = .5E(X_1) +.5E(X_2) =.5(5/3) + .5(1) = 4/3

    Var(X) = 23/12 - (4/3)2 = 5/36 ~ .139

    Hope this helps!
    Yeah it did, thanks a lot...but i still have one question in my mind...how did u decide the limits of CDF components? Also according to me the limit of F1(x) shuld be 1<x<2...
    Correct me if i am wrong....
    Thanks again.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. One more probability prob
    By Anu Dhanuka in forum SOA Exam P / CAS Exam 1 - Probability - with practice exam problems
    Replies: 9
    Last Post: July 5th 2007, 03:05 PM
  2. Prob of Risk Management Problem
    By kraut315 in forum SOA Exam P / CAS Exam 1 - Probability - with practice exam problems
    Replies: 2
    Last Post: July 1st 2007, 06:01 PM
  3. Study group in Atlanta
    By orderedchaos in forum Actuarial Study Groups or Partners for Exam P / CAS Exam 1
    Replies: 3
    Last Post: May 15th 2007, 10:30 PM
  4. Mixture of random variables
    By mamadou in forum SOA Exam P / CAS Exam 1 - Probability - with practice exam problems
    Replies: 2
    Last Post: May 17th 2005, 12:53 AM

Bookmarks - Share

Bookmarks - Share

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts