Fox Module 21: Generalized linear models, concepts HW


Fox Module 21: Generalized linear models, concepts HW

Author
Message
James kwon
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: Forum Members
Posts: 1, Visits: 2
Is that expensive? marketing agency
Wolf Follower
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Posts: 2, Visits: 1

To those who haven't encountered MLE's before, this problem is easiest to solve if you maximize the natural log of the likelihood function.

WF


CalLadyQED
Forum Guru
Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)

Group: Forum Members
Posts: 62, Visits: 2

Thanks, rcoffman and mst.

Speaking of Wikipedia, it seems to me that success in this course (and any courses with a significant self-teaching aspect) can largely depend on ones willingness to search out answers. I've refered back to various old stats books (and even my old calculus book to check a derivative!) for help. Besides Wikipedia, one internet resource I've found helpful over the lifetime of my math career is Wolfram Math World (http://mathworld.wolfram.com/).

[NEAS: This is useful advice. If you forget some item, the internet provides many sites that explain the concepts or provide definitions and formulas.]


mst
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: Forum Members
Posts: 1, Visits: 1
I also got .224. Taking the derivative was tricky. I just followed the pattern in wikipedia under Maximum likelihood (sub-heading "Discrete distribution, continuous parameter space "Discrete distribution, continuous parameter space".
rcoffman
Junior Member
Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)

Group: Forum Members
Posts: 10, Visits: 1
Yes, the likelihood (or probability) of observing the actual figures is the equation you want to use (C*P^93*(1-p)^322). I also got p=.224
CalLadyQED
Forum Guru
Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)Forum Guru (66 reputation)

Group: Forum Members
Posts: 62, Visits: 2

"To maximize the likelihood, set the derivative of the likelihood (or the loglikelihood) with respect to P equal to zero. Solve for P."

The derivative of what? There is nothing here that is clearly and explicitly identified as the likelihood. Are we supposed to figure out that C * P^93 * (1-P)^322 is the likelihood? Or is it some other equation/function?

I got P = 22%. Anyone else?


oliver
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Posts: 3, Visits: 1

I am having difficulty with the maximum likelihood procedure - haven't gotten to this topic on exams yet.  Can you please provide some guidance?

[NEAS: Search for maximum likelihood on Google or another search engine. You will find dozens of explanations at various difficulty levels. You must understand this topic for the actuarial exams as well, so the time you spend reading the explanations is well spent. Fox’s explanation is somewhat advanced; several web sites have easier explanations.]

 

 


NEAS
Supreme Being
Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)

Group: Administrators
Posts: 4.5K, Visits: 1.6K

Fox Module 21: Generalized linear models, concepts

 

(The attached PDF file has better formatting.)

 

Homework assignment: maximum likelihood estimation: exponential decay

 

[Note: The homework assignment is at the bottom of this posting, after the explanation of the method.]

 

Health claims occurring in month 0 and settled in month j are a percentage P of the claims open at the end of month j-1.

 


           No claims are settled in the month they occur.

           P% of claims open at the end of a month are expected to settle in the next month.

           Actual claims settlements are distorted by random fluctuation.


 

 

A reserving actuary estimates the percentage P.

 

To simplify the mathematics, we assume that if 100 claims occur in December 20X1,

 


 

           100 × P claims close in January,

           100 × (1 – P) × P claims close in February, and so forth.


 

 

This is not exact, since if more claims close in January, fewer claims are left open, and fewer claims close in later months. But it is roughly correct, and it gives a simple solution.

 

For claims occurring in December 20X1, the number of claims closed by month in 20X2 are

 

 

Jan

Feb

Mar

Apr

May

Jun

Jul

Aug

Sep

Oct

Nov

Dec

>> 

 

29

16

17

4

3

9

4

5

1

1

1

3

7

 

 


 

           100 claims occur in December 20X1 (the sum of the claims closed and still open).

           Jan, Feb, Mar, … = January, February, March, …

           >> = still open at December 31, 20X2.


 

 

We compute the maximum likelihood estimate for the percentage P.

 


 

A.    Suppose there were no random fluctuation. Using the January figures and the 100 claims in December, what is the percentage P?

 

Part A: Were there no random fluctuation, the percentage P would be constant.

 


 

           The claims occurring in December 20X1 is 100 = 29 + 16 + 17 + … + 7.

           The percentage of claims closed in January is P × 100 = 29   P = 29%.


 

 

This estimator is not optimal. It ignores the claims closed in later months, so it doesn’t use all available information.

 

This estimator is unbiased, but it is not optimal.

 


 

           71 claims are open at Jan 30, of which 16 close in February   P = 16 / 71 = 22.54%.

           55 claims are open at Feb 28, of which 17 close in March   P = 17 / 55 = 30.91%.


 

 

We use a maximum likelihood estimator. For claims occurring December 20X1:

 


 

           The probability of closing in January 20X8 is P.

           The probability of closing in February 20X8 is (1–P)(P).

           The probability of closing in March 20X8 is (1–P)2(P).

           ….

           The probability of being open at December 31, 20X8 is (1–P)12.


 

 

The probability of observing the actual figures is

 

C × P29 × [(1–P)(P)]16 × [(1–P)2(P)]17 × [(1–P)12]7 × … = C × P93 × (1–P)322

 

C is the combinatorial constant: the number of ways to arrange 100 claims so that 29 are in January, 16 are in February, 17 are in March, and so forth.

 

Illustration: Of four claims, 2 close in January, 1 closes in February, and 1 closes in March. 

We label the claims A, B, C, and D. The possible combinations are

 


 

           A and B close in January; C closes in February; and D closes in March.

           A and B close in January; D closes in February; and C closes in March.

          


 

 

The illustration has 12 possibilities: The claim closing in March has 4 possibilities, for each of which there are three possibilities for the claim closing in February. Computing this constant is more difficult with 100 claims and 12 months. But this constant doesn’t affect the maximum likelihood estimation, so we can ignore it.

 

Homework assignment

 

To maximize the likelihood, set the derivative of the likelihood (or the loglikelihood) with respect to P equal to zero. Solve for P.

 

[If you have difficulty, ask a question on the discussion forum.]

 

 


Attachments
Fox Module 21 max liklihood HW.pdf (1.7K views, 46.00 KB)
GO
Merge Selected
Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

  • Login with twitter
  • Login with twitter
Select a Forum....










































































































































































































































Neas-Seminars

Search