Vous êtes sur la page 1sur 6

The SAS System

1
01:30 Wednesday, January 1, 2003
The CATMOD Procedure
Data Summary
Response
Weight Variable
Data Set
Frequency Missing

sev
frec
MULTI
0

Response Levels
Populations
Total Frequency
Observations

3
7
633
21

Population Profiles
Sample
linea
Sample Size

1
1
59
2
2
123
3
3
129
4
4
110
5
5
87
6
6
68
7
7
57
Response Profiles
Response
sev

1
1
2
2
3
3

Maximum Likelihood Analysis


Sub
-2 Log
Convergence
Parameter Estimates
Iteration Iteration
Likelihood
Criterion
1
2

0
0
1390.8432
1.0000
0
0
1
0
1167.5517
0.1605
-0.7125
-1.2235
2
0
1152.2886
0.0131
-0.7837
-1.3828
3
0
1151.0661
0.001061
-0.8685
-1.4763
4
0
1151.0123
0.0000467
-0.8952
-1.4871
5
0
1151.0119
3.2347E-7
-0.8979
-1.4874
6
0
1151.0119
2.666E-11
-0.8980
-1.4874
Maximum Likelihood Analysis
Parameter Estimates
Iteration
3
4
5
6
7
8

0
0
0
0
0
0
0
1
-1.5756
-0.5054
-0.8484
-0.0692
0.3172
0.4328
2
-2.2879
0.1224
-0.8229
0.3116
0.4519
0.5481
3
-2.7536
0.1330
-0.7409
0.3902
0.5354
0.6401
4
-2.9142
0.1433
-0.7142
0.4009
0.5621
0.6508
5
-2.9305
0.1436
-0.7115
0.4012
0.5648
0.6511
6
-2.9307
0.1436
-0.7115
0.4012
0.5648
0.6511
Maximum Likelihood Analysis
Parameter Estimates
Iteration
9
10
11
12
13
14

0
0
0
0
0
0
0
1
1.0671
0.5144
0.7470
0.2579
0.5802
-0.0118
2
1.0555
0.3948
0.8093
0.0913
0.6910
-0.3560
3
1.1439
0.4709
0.8945
0.1421
0.7732
-0.4021
4
1.1706
0.4815
0.9212
0.1521
0.7999
-0.4000
5
1.1733
0.4818
0.9239
0.1524
0.8026
-0.3997
6
1.1734
0.4818
0.9239
0.1524
0.8026
-0.3997

Maximum likelihood computations converged.

Maximum Likelihood Analysis of Variance


Source
DF
Chi-Square
Pr > ChiSq

Intercept
2
109.14
<.0001
linea
12
61.49
<.0001
Likelihood Ratio

Analysis of Maximum Likelihood Estimates


Function
Standard
ChiParameter
Number
Estimate
Error
Square
Pr > ChiSq

Intercept
1
-0.8980
0.1677
28.68
<.0001
2
-1.4874
0.1555
91.52
<.0001
linea
1
1
-2.9307
0.8705
11.33
0.0008
1
2
0.1436
0.3150
0.21
0.6484
2
1
-0.7115
0.2858
6.20
0.0128
2
2
0.4012
0.2440
2.70
0.1002
3
1
0.5648
0.2380
5.63
0.0176
3
2
0.6511
0.2521
6.67
0.0098
4
1
1.1734
0.2424
23.43
<.0001
4
2
0.4818
0.2987
2.60
0.1067
5
1
0.9239
0.2554
13.09
0.0003
5
2
0.1524
0.3382
0.20
0.6524
6
1
0.8026
0.2712
8.76
0.0031
6
2
-0.3997
0.4344
0.85
0.3575
Contrasts of Maximum Likelihood Estimates
Contrast
DF
Chi-Square
Pr > ChiSq

4-5
2
0.86
0.6511
2-7
2
12.46
0.0020

The SAS System


2
01:30 Wednesday, January 1, 2003
The CATMOD Procedure
Maximum Likelihood Predicted Values for Response Functions
------Observed---------Predicted----Function
Standard
Standard
linea
Number
Function
Error
Function
Error
Residual

1
1
-3.82864
1.010811
-3.82864
1.010725
-1.51E-8
2
-1.34373
0.324149
-1.34373
0.324149
0
2

1
2

-1.60944
-1.08619

0.273861
0.222569

-1.60944
-1.08619

0.273861
0.222569

0
0

1
2

-0.33314
-0.83625

0.199806
0.234794

-0.33314
-0.83625

0.199806
0.234794

0
0

1
2

0.275412
-1.00552

0.207144
0.301756

0.275412
-1.00552

0.207144
0.301756

0
0

1
2

0.025975
-1.335

0.22794
0.355409

0.025975
-1.335

0.22794
0.355409

0
0

1
2

-0.09531
-1.88707

0.252262
0.479899

-0.09531
-1.88707

0.252262
0.479899

0
0

1
2

-0.72055
-2.91777

0.287372
0.725966

-0.72055
-2.91777

0.287372
0.725966

0
0

The SAS System


3
01:30 Wednesday, January 1, 2003
The CATMOD Procedure
Maximum Likelihood Predicted Values for Probabilities
-------Observed-------------Predicted-----Standard
Standard
linea
sev
Probability
Error
Probability
Error
Residual

1
1
0.0169
0.0168
0.0169
0.0168
-3E-10
2
0.2034
0.0524
0.2034
0.0524
0
3
0.7797
0.054
0.7797
0.054
2E-10
2

1
2
3

0.1301
0.2195
0.6504

0.0303
0.0373
0.043

0.1301
0.2195
0.6504

0.0303
0.0373
0.043

0
0
0

1
2
3

0.3333
0.2016
0.4651

0.0415
0.0353
0.0439

0.3333
0.2016
0.4651

0.0415
0.0353
0.0439

0
0
0

1
2
3

0.4909
0.1364
0.3727

0.0477
0.0327
0.0461

0.4909
0.1364
0.3727

0.0477
0.0327
0.0461

0
0
0

1
2
3

0.4483
0.1149
0.4368

0.0533
0.0342
0.0532

0.4483
0.1149
0.4368

0.0533
0.0342
0.0532

0
0
0

1
2
3

0.4412
0.0735
0.4853

0.0602
0.0317
0.0606

0.4412
0.0735
0.4853

0.0602
0.0317
0.0606

0
0
0

1
2
3

0.3158
0.0351
0.6491

0.0616
0.0244
0.0632

0.3158
0.0351
0.6491

0.0616
0.0244
0.0632

0
0
0

options ls=76 ps=1000;


data multi;
input linea sev frec;
cards;
1
1
1
1
2
12
1
3
46
2
1
16
2
2
27
2
3
80
3
1
43
3
2
26
3
3
60
4
1
54
4
2
15
4
3
41
5
1
39
5
2
10
5
3
38
6
1
30
6
2
5
6
3
33
7
1
18
7
2
2
7
3
37
;
proc catmod;
response logits;
model sev=linea/ml pred=prob;

contrast '4-5' linea 0 0 0 1 -1 0;


contrast '2-7' linea 1 2 1 1 1 1;
weight frec;
run;

DISEO BINOMIAL
The SAS System

01:38 Wednesday, January 1, 2003

The GENMOD Procedure


Model Information
Data Set
Distribution
Link Function
Response Variable (Events)
Response Variable (Trials)
Observations Used
Number Of Events
Number Of Trials

WORK.BIN_REG
Binomial
Logit
fusa
n
54
41
54

Criteria For Assessing Goodness Of Fit


Criterion

DF

Value

Value/DF

Deviance
Scaled Deviance
Pearson Chi-Square
Scaled Pearson X2
Log Likelihood

52
52
52
52

46.4087
46.4087
49.9151
49.9151
-23.2044

0.8925
0.8925
0.9599
0.9599

Algorithm converged.
Analysis Of Parameter Estimates
Parameter

DF

Estimate

Standard
Error

Intercept
larv
Scale

1
1
0

-2.8682
0.3835
1.0000

1.2896
0.1273
0.0000

Wald 95% Confidence


Limits
-5.3958
0.1339
1.0000

-0.3405
0.6331
1.0000

ChiSquare

Pr > ChiSq

4.95
9.07

0.0261
0.0026

NOTE: The scale parameter was held fixed.


LR Statistics For Type 1 Analysis

Source
Intercept
larv

options ls=92 ps=56;


data bin_reg;
input larv fusa;
n=1;
cards;
9
0

Deviance

DF

ChiSquare

Pr > ChiSq

59.6087
46.4087

13.20

0.0003

13
0
6
0
8
0
10
0
4
0
14
0
8
0
11
0
7
0
9
0
7
0
5
0
14
1
13
1
16
1
10
1
12
1
11
1
14
1
15
1
18
1
7
1
16
1
9
1
9
1
11
1
13
1
15
1
13
1
10
1
11
1
6
1
17
1
14
1
19
1
9
1
11
1
14
1
10
1
16
1
10
1
16
1
14
1
13
1
13
1
9
1
15
1
10
1
11
1
12
1
4
1
14
1
20
1
;
proc genmod data=bin_reg;
model fusa/n=larv/dist=binomial link=logit wald type1;
run;

Vous aimerez peut-être aussi