Professional Documents
Culture Documents
Alan Agresti
Veget.
Major
Minor
Good
Death
State
Disab.
Disab.
Recov.
Placebo
59
25
46
48
32
Low dose
48
21
44
47
30
Med dose
44
14
54
64
31
High dose
43
49
58
41
Group (x)
logit[P (y
has ML estimate
j)] = j + x
t value
-4.5285
-2.0368
4.3796
11.8429
-3.1159
The fitted values shown here are the 5 estimated multinomial response probabilities for each of the 4 treatment groups.
Note: propodds() is another possible family for vglm; it defaults to cumulative(reverse = TRUE, link = logit, parallel = TRUE)
t value
-4.5256
-2.0308
4.3323
11.7493
t value
-4.45133
-0.52521
4.02248
8.00684
-1.54926
-3.93585
-2.85555
-1.40793
The improvement in fit is statistically significant, but perhaps not substantively significant; effect of dose is moderately negative for each
cumulative probability.
y = Religious Beliefs
x = Region
Fundamentalist
Moderate
Liberal
Northeast
92 (14%)
352 (52%)
234 (34%)
Midwest
274 (27%)
399 (40%)
326 (33%)
South
739 (44%)
536 (32%)
412 (24%)
West/Mountain
192 (20%)
423 (44%)
355 (37%)
j)] = j + 1 r1 + 2 r2 + 3 r3
Definitely
Probably
Probably
Definitely
Gender
Beliefs
Fund
Fund
Not Fund
Not Fund
Female
Fundamentalist
34 (22%)
67 (43%)
30 (19%)
25 (16%)
Moderate
41 (25%)
83 (52%)
23 (14%)
14 (9%)
Liberal
58 (39%)
63 (43%)
15 (10%)
12 (8%)
Fundamentalist
21 (19%)
52 (46%)
24 (21%)
15 (13%)
Moderate
30 (27%)
52 (47%)
18 (16%)
11 (10%)
Liberal
64 (45%)
50 (36%)
16 (11%)
11 (8%)
Male
log(j /j+1 ) = j + 1 x + 2 g
10
y3
0.1893146
0.1911925
0.1517219
0.1537533
0.1145262
0.1163995
y4
0.16128261
0.16519872
0.09898673
0.10173853
0.05722143
0.05898444
11
Not enlarged
Enlarged
Greatly Enlarged
Yes
19 (26%)
29 (40%)
24 (33%)
No
497 (37%)
560 (42%)
269 (20%)
log
1
2
= 1 + x, log
= 2 + x
2 + 3
3
12
13
Can fit general ACL model with software for BCL model,
} estimates to j = , since
converting its {
j+1
j
j
j
j
j+1
log
= log
log
,
j+1
c
c
or using specialized software such as vglm function in R
without PARALLEL = TRUE option.
14
Example: Data on stemcell research that had been fitted with ACL
model of proportional odds form
1
2
3
4
5
6
y1
0.1875000
0.2179487
0.2702703
0.2546584
0.4539007
0.3918919
y2
0.4642857
0.4294872
0.4684685
0.5155280
0.3546099
0.4256757
y3
0.2142857
0.1923077
0.1621622
0.1428571
0.1134752
0.1013514
y4
0.13392857
0.16025641
0.09909910
0.08695652
0.07801418
0.08108108
Call:
vglm(formula = cbind(y1, y2, y3, y4) religion + gender,
family = acat(reverse = TRUE, parallel = FALSE), data = stemcell)
Coefficients:
(Intercept):1 (Intercept):2 (Intercept):3
-1.24835878
0.47098433
0.42740812
religion:3
gender:1
gender:2
0.01192302
-0.13683357
0.18706754
religion:1
0.43819661
gender:3
-0.16093003
religion:2
0.25962043
15
j
= j + j x, j = 1, . . . , c 1.
log
c
16
Stereotype model:
j
log
= j + j x, j = 1, . . . , c 1.
c
exp(j + j xi )
P (yi = j) =
Pc1
1 + k=1 exp(k + k xi )
17
(2)
(3)
5-7
8-9
10
15
11
13
10-11
23
11
12-13
28
12
10
14-15
32
Let xi = age for row i, using mid-point scores (6, 8.5, 10.5, 12.5,
14.5). Consider model
j
log
= j + j xi
4
With identifiability constraints (1
= 1, 4 = 0), Anderson
In this model
18
19
Fundamentalist
Moderate
Liberal
4913 (43%)
4684 (41%)
1905 (17%)
High school
8189 (32%)
11196 (44%)
6045 (24%)
Junior college
728 (29%)
1072 (43%)
679 (27%)
Bachelor
1304 (20%)
2800 (43%)
2464 (38%)
Graduate
495 (16%)
1193 (39%)
1369 (45%)
j)] = j + xi
20
t value
-28.030
108.336
-46.044
21
Males
Females
Life Length
White
Black
White
Black
0-20
1.3
2.6
0.9
1.8
20-40
2.8
4.9
1.3
2.4
40-50
3.2
5.6
1.9
3.7
50-65
12.2
20.1
8.0
12.9
Over 65
80.5
66.8
87.9
79.2
22
t value
-31.4773
-35.0225
-33.8147
-24.4176
-7.6533
8.6139
23
1 = 0.538, 2 = 0.611
Gender effect:
= 1.71 power.
= 1.84 power.
24
status
Smoker
350 (23%)
307 (20%)
345 (22%)
481 (31%)
67 (4%)
Non-smoker
334 (45%)
99 (13%)
117 (16%)
159 (22%)
30 (4%)
j)] = j + 1 x + (j 1)2 x.
C
log 12 = 1 + 2 ,
C
log 13 = 1 + 22 ,
C
log 14 = 1 + 32 .
C = 0.72,
log
12
C = 0.42,
log
13
C = 0.12.
log
14
25
L() = X
for probabilities or expected frequencies in a contingency
table, where L is a general link function (Lang 2005).
26
Party ID
Total
Females
Democrat
42
201
136
320
83
63
18
863
Independent
33
87
107
459
123
92
19
920
Republican
19
29
177
121
183
52
586
Democrat
28
120
89
202
51
37
10
537
Independent
20
79
124
362
120
90
18
813
Republican
12
26
128
107
211
47
534
Males
Political views:
1 = extremely liberal, 4 = moderate, 7 = extremely conservative
Let g = 1 (females), g = 0 (males), and p1 and p2 indicator
variables for Democrats and Independents.
ML fit of mean response model (using R function mph.fit, analysis 3
at www.stat.ufl.edu/aa/ordinal/mph.html)
27
<20
2030
3060
>60
<20
2030
11
3060
13
23
>60
17
13
<20
2030
14
3060
18
>60
11
14
22
Treatment
Active
Placebo
Follow-up
28
logit[P (yt
j)] = j + 1 t + 2 x + 3 (t x), j = 1, 2, 3
GEE estimates:
= 1.03 initially,
29
30