Bonjour,
Voilà, je dois dire si mon test est significatif et pour cela, je dois faire le test du Khi-deux. Mais avec la fonction plr, je n'arrive pas à trouver la null deviance, ni les degrés de liberté. Pouvez-vous me dire ce qui ne va pas?
Merci beaucoup d'avance


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
> library(MASS)
 > res.log=polr(as.factor(babbie$RACSEG)~babbie$CHLDIDEL+babbie$MARITAL+babbie$DIVORCE+babbie$RELIG+babbie$CAPPUN+babbie$GUNLAW+babbie$AGE+babbie$CLASS+babbie$EDUC+babbie$INCOME+babbie$PRESTIGE+babbie$RACE+babbie$SEX)
 Warning messages:
 1: glm.fit: fitted probabilities numerically 0 or 1 occurred 
 2: In polr(as.factor(babbie$RACSEG) ~ babbie$CHLDIDEL + babbie$MARITAL + :
 le plan ne semble pas de rang plein, des coefs seront ignorés
 > res.log
 Call:
 polr(formula = as.factor(babbie$RACSEG) ~ babbie$CHLDIDEL + babbie$MARITAL + 
 babbie$DIVORCE + babbie$RELIG + babbie$CAPPUN + babbie$GUNLAW + 
 babbie$AGE + babbie$CLASS + babbie$EDUC + babbie$INCOME + 
 babbie$PRESTIGE + babbie$RACE + babbie$SEX)
 
 Coefficients:
 babbie$CHLDIDEL babbie$MARITALWIDOWED babbie$DIVORCENO babbie$RELIGCATHOLIC 
-0.13086434 -0.27531892 -0.09568848 0.09827679 
 babbie$RELIGJEWISH babbie$RELIGNONE babbie$RELIGOTHER babbie$CAPPUNOPPOSE 
-0.19175206 0.62844251 1.05549529 0.65082338 
 babbie$GUNLAWOPPOSE babbie$AGE babbie$CLASSWORKING CLASS babbie$CLASSMIDDLE CLASS 
 0.13776417 -0.01905891 1.38584977 1.57484033 
 babbie$CLASSUPPER CLASS babbie$EDUC babbie$INCOME$1000 TO 2999 babbie$INCOME$4000 TO 4999 
 1.96055062 0.15659665 0.98099707 0.79981971 
 babbie$INCOME$5000 TO 5999 babbie$INCOME$6000 TO 6999 babbie$INCOME$7000 TO 7999 babbie$INCOME$8000 TO 9999 
-1.21322912 1.61169447 -0.96981957 1.09523040 
 babbie$INCOME$10000 - 14999 babbie$INCOME$15000 - 19999 babbie$INCOME$20000 - 24999 babbie$INCOME$25000 OR MORE 
-0.32201231 0.76451158 0.59557883 0.13397247 
 babbie$INCOMEREFUSED babbie$PRESTIGE babbie$RACEBLACK babbie$RACEOTHER 
-0.02571935 0.01296688 4.17169852 -2.03020004 
 babbie$SEXFEMALE 
 0.30623725 
 
 Intercepts:
 AGREE STRONGLY|AGREE SLIGHTLY AGREE SLIGHTLY|DISAGREE SLIGHTLY DISAGREE SLIGHTLY|DISAGREE STRONGLY 
 0.4322874 1.9326187 3.5418714 
 
 Residual Deviance: 524.7881 
 AIC: 588.7881 
 (1120 observations deleted due to missingness)