Professional Documents
Culture Documents
Cda 15
Cda 15
離散資料分析
Categorical Data Analysis
陳俞成
Email:ycchen@mail.chna.edu.tw
2006.1.9
= (αa + βa x) − (αb + βb x)
= (αa − αb ) + (βa − βb )x.
I The logs of the odds ratio of [π̂1 /π̂3 ] and [π̂2 /π̂3 ]
produce the results in Table 8.2.
I For an alligator of length x = 3.9 meters, the
estimated probability that primary food choice is
“other” equals
1
π̂3 = 1+exp[1.49−0.07(3.9)]+exp[5.72−2.47(3.9)] = 0.23.
Belief in Afterlife
π
I Model log( π3j ) = αj + βjG x1 + βjR x2 , j = 1, 2,
considered for j = 1 and 2, contains six
parameters .
I The model has residual df = 8 − 6 = 2.
I The model fit well.
Political Ideology
π
I Model log( πj+1 j
) = αj + βj x, j = 1, . . . , J − 1 is
equivalent to logit model
π
log( πJj ) = αj + βj x, j = 1, . . . , J − 1, with βj in
adjacent-category logits being equivalent to
βj+1 − βj in baseline-category logits.
π
I This has form log( πj+1
j
) = αj + βx, identifying αj
with (λYj+1 − λYj ) and the row scores {ui } with
the levels of x.
I The two models are equivalent.
Concentration Response
(mg/kg per day) Dead Malformation Normal
0(controls) 15 1 281
62.5 17 0 225
125 22 7 283
250 38 59 202
500 144 132 9
source :Based on results in C.J.Price et al.,
Fund.Appl.Toxicol.,8:115-126(1987).
I For Table 8.7, the G 2 values are 5.8 for the first
logit and 6.1 for the second, each based on
df = 3.
I We summarize the fit by their sum, G 2 = 11.8,
based on df = 6.
Summary