Вы находитесь на странице: 1из 5

DISEO MULTINOMIAL

GALLETA Me
disgusta
mucho
Me disgusta
moderadamente
No me gusta
ni me
disgusta
Me gusta
moderadamente
Me gusta
mucho
1=503=G 7 0 7 28 70
2=217=F 14 0 14 35 49

options ls=76 ps=56;
data multi;
input galleta nivlacpt acpt;
cards;
1 1 7
1 2 0
1 3 7
1 4 28
1 5 70
2 1 14
2 2 0
2 3 14
2 4 35
2 5 49
;
proc catmod;
response logits;
model nivlacpt=galleta/ml pred=prob;
contrast '1-2' galleta 2;
weight acpt;
run;
The SAS System
13
08:13 Thursday, April 1, 2004

The CATMOD Procedure

Data Summary

Response nivlacpt Response Levels 4
Weight Variable acpt Populations 2
Data Set MULTI Total Frequency 224
Frequency Missing 0 Observations 8


Population Profiles

Sample galleta Sample Size

1 1 112
2 2 112


Response Profiles

Response nivlacpt

1 1
2 3
3 4
4 5


Maximum Likelihood Analysis

Sub -2 Log Convergence
Iteration Iteration Likelihood Criterion

0 0 621.05987 1.0000
1 0 507.25515 0.1832
2 0 500.28862 0.0137
3 0 499.94953 0.000678
4 0 499.94926 5.4992E-7
5 0 499.94926 4.456E-13

Maximum Likelihood Analysis

Parameter Estimates
Iteration 1 2 3 4 5 6

0 0 0 0 0 0 0
1 -1.7500 -1.7500 -1.0000 -0.5000 -0.5000 -0.5000
2 -1.7743 -1.7743 -0.5601 -0.5216 -0.5216 -0.2295
3 -1.7778 -1.7778 -0.6246 -0.5250 -0.5250 -0.2881
4 -1.7777 -1.7777 -0.6264 -0.5249 -0.5249 -0.2899
5 -1.7777 -1.7777 -0.6264 -0.5249 -0.5249 -0.2899

The SAS System 14
08:13 Thursday, April 1, 2004

The CATMOD Procedure

Maximum likelihood computations converged.


Maximum Likelihood Analysis of Variance

Source DF Chi-Square Pr > ChiSq

Intercept 3 90.74 <.0001
galleta 3 8.92 0.0303

Likelihood Ratio 0 . .


Analysis of Maximum Likelihood Estimates

Function Standard Chi-
Parameter Number Estimate Error Square Pr > ChiSq

Intercept 1 -1.7777 0.2495 50.77 <.0001
2 -1.7777 0.2495 50.77 <.0001
3 -0.6264 0.1573 15.86 <.0001
galleta 1 1 -0.5249 0.2495 4.43 0.0354
1 2 -0.5249 0.2495 4.43 0.0354
1 3 -0.2899 0.1573 3.40 0.0653


Contrasts of Maximum Likelihood Estimates

Contrast DF Chi-Square Pr > ChiSq

1-2 3 8.92 0.0303

The SAS System 15
08:13 Thursday, April 1, 2004

The CATMOD Procedure

Maximum Likelihood Predicted Values for Response Functions

------Observed----- -----Predicted-----
Function Standard Standard
galleta Number Function Error Function Error Residual

1 1 -2.30259 0.396412 -2.30259 0.396413 0
2 -2.30259 0.396412 -2.30259 0.396413 0
3 -0.91629 0.223607 -0.91629 0.223607 0

2 1 -1.25276 0.303046 -1.25276 0.303046 0
2 -1.25276 0.303046 -1.25276 0.303046 0
3 -0.33647 0.221313 -0.33647 0.221313 0

The SAS System 16
08:13 Thursday, April 1, 2004

The CATMOD Procedure

Maximum Likelihood Predicted Values for Probabilities

-------Observed------ ------Predicted------
Standard Standard
galleta nivlacpt Probability Error Probability Error Residual

1 1 0.0625 0.0229 0.0625 0.0229 0
3 0.0625 0.0229 0.0625 0.0229 0
4 0.25 0.0409 0.25 0.0409 0
5 0.625 0.0457 0.625 0.0457 0

2 1 0.125 0.0313 0.125 0.0313 0
3 0.125 0.0313 0.125 0.0313 0
4 0.3125 0.0438 0.3125 0.0438 0
5 0.4375 0.0469 0.4375 0.0469 0

Вам также может понравиться