Type : CREATION_INTERNE
Die 'failures'-Daten (x1, x2, y) werden direkt im Code über die DATALINES-Anweisung generiert.
| 1 | DATA failures; |
| 2 | INPUT x1 x2 y; |
| 3 | DATALINES; |
| 4 | 33.3 25.3 15 |
| 5 | 52.2 14.4 9 |
| 6 | 64.7 32.5 14 |
| 7 | 137.0 20.5 24 |
| 8 | 125.9 97.6 27 |
| 9 | 116.3 53.6 27 |
| 10 | 131.7 56.6 23 |
| 11 | 85.0 87.3 18 |
| 12 | 91.9 47.8 22 |
| 13 | ; |
| 1 | ods html; |
| 2 | ods graphics on; |
| 3 | title1 '*** Fisher Scoring optimization technique up to iteration 10 ***'; |
| 4 | title2 '*** Identity Link ***'; |
| 5 | PROC GLIMMIX DATA=failures scoring=10 plots=residualpanel; |
| 6 | model y = x1 x2 / noint dist=poisson link=identity covb s; |
| 7 | RUN; |
| 8 | |
| 9 | title1 '*** Fisher Scoring optimization technique up to iteration 10 ***'; |
| 10 | title2 '*** Logarithm Link ***'; |
| 11 | PROC GLIMMIX DATA=failures scoring=10 plots=residualpanel; |
| 12 | model y = x1 x2 / noint dist=poisson link=log covb s; |
| 13 | RUN; |
| 14 | ods graphics off; |
| 15 | ods html close; |
| 1 | title '*** Newton-Raphson optimization technique. Hessian is used ***'; |
| 2 | PROC GLIMMIX DATA=failures; |
| 3 | model y = x1 x2 / noint dist=poisson link=identity covb s; |
| 4 | RUN; |