You are on page 1of 14

STA600 Generalized Linear Models

2 Model Fitting + More on MLE’s

Arild Buland

Ch. 2 Model Fitting (Optional)

1
Example 1: Chronical medical conditions
• Women in country areas have fewer GP/doctor consultations than women in cities
• Is this because they are healthier?
• Let Yjk be the number of chronical medical conditions for woman k in group j
– j=1 is the town group
– j=2 is the country group

Poisson model

2
Estimation

Adequacy of the model - residuals

3
7

4
Pearson goodness-of-fit statistic

10

10

5
Vector-matrix notation

11

11

12

12

6
Example 2: Birthweight and gestational age
• Yjk is birthweight for baby k in group j=1 for boys and j=2 for girls
• xjk is the gestational weight (weeks)

13

13

14

14

7
15

15

H0 H1

16

16

8
Inference and Simplicity

17

17

STA600 Generalized Linear Models

More on MLE’s

18

9
The Score statistics/vector

19

19

Fisher Information matrix

20

20

10
21

21

Asymptotic properties

22

11
Example: Normal distribution with known variance

23

23

Example: Normal distribution unknown expectation and variance

24

24

12
Details Fisher for Normal Distribution

25

25

R programming example: Simulation of Exponential MLE

26

26

13
27

27

Next week: Ch. 3 Exponential Family and GLMs


• Next week we start on the core part of this course
• We include other distributions than Normal
• We introduction non-linear relations

28

28

14

You might also like