Professional Documents
Culture Documents
Stats
Stats
Contents
Table 6.1: Alligator food choice.............................................................................3
Nominal Logistic Regression: Diet versus Length of allifation............................3
ML Prediction equations.....................................................................................3
Estimated probabilities for primary food choice.................................................3
Table 6.7: Political ideology and Political party......................................................4
Ordinal Logistic Regression: Ideology versus Party............................................4
Cumulative probablities......................................................................................4
Cumulative probablities
Value
o
i
f
Total
Count
8
20
31
59
(Reference Event)
Coef
SE Coef
Odds
Ratio
95% CI
Lower Upper
5.69744
-2.46545
1.79381
0.899650
3.18
-2.74
0.001
0.006
0.08
0.01
0.50
1.61773
-0.110109
1.30727
0.517082
1.24
-0.21
0.216
0.831
0.90
0.33
2.47
Log-Likelihood = -49.171
Test that all slopes are zero: G = 16.801, DF = 2, P-Value = 0.000
Goodness-of-Fit Tests
m more likely to
select fish
rather than
For eg: estimated odds that primary food tyoe us fish: r
Method
Chi-Square
DF invertebrates.
P
80.1879
86 0.656
est have highPearson
p value, hence
the model
is okay to use
Deviance
75.1140 86 0.793
t takes twice the differential between this and simple model. The p value of 0.0002 provides strong evidence
ML Prediction equations
Logit(1/ 3)=1.618-0.110x
Logit(2/ 3)=5.697-2.465x
Logit(1/ 2)=-4.08-2.355x
Variable
Fish
I nvertebrate
Other
0.7
0.6
Y-D
ata
0.5
0.4
0.3
0.2
0.1
0.0
1.0
1.5
2.0
2.5
Length
3.0
3.5
4.0
All variables are significant, but the party is independent of political ideo
Log Likelihood test says that regression is bad
Response Information
Goodness of fit also has P<.05 which means regression is not applicable
Variable Value Count Finally co-cordant % is a minor 27%
Ideology M
319
SC
125 Conclusion is that political ideology is has no association with the politica
SL
VC
VL
Total
127
144
110
825
Coef
-0.379110
0.236044
0.894172
1.95759
SE Coef
0.0963495
0.0957719
0.100565
0.122697
Z
-3.93
2.46
8.89
15.95
P
0.000
0.014
0.000
0.000
-0.168931
0.125449
-1.35
0.178
Odds
Ratio
0.84
95% CI
Lower Upper
0.66
1.08
Log-Likelihood = -1248.730
Test that all slopes are zero: G = 1.817, DF = 1, P-Value = 0.178
Goodness-of-Fit Tests
Method
Pearson
Deviance
Chi-Square
54.1143
55.2343
DF
3
3
P
0.000
0.000
Measures of Association:
(Between the Response Variable and Predicted Probabilities)
Pairs
Concordant
Discordant
Ties
Total
Number
69510
60633
126994
257137
Percent
27.0
23.6
49.4
100.0
Summary Measures
Somers' D
Goodman-Kruskal Gamma
Kendall's Tau-a
0.03
0.07
0.03
Cumulative probablities
Cumulative probabilities are:
P(Y<1)
P(Y<2)
P(Y<3)
0.366319
0.516772
0.673760
P(Y<4)
0.856763
P(Y<5)
1