Type : CREATION_INTERNE
El conjunto de datos 'clarke1987a' se crea directamente en el script usando un paso DATA y una instrucción 'datalines'.
| 1 | DATA clarke1987a; |
| 2 | INPUT x y; |
| 3 | DATALINES; |
| 4 | 1 3.183 |
| 5 | 2 3.059 |
| 6 | 3 2.871 |
| 7 | 4 2.622 |
| 8 | 5 2.541 |
| 9 | 6 2.184 |
| 10 | 7 2.110 |
| 11 | 8 2.075 |
| 12 | 9 2.018 |
| 13 | 10 1.903 |
| 14 | 11 1.770 |
| 15 | 12 1.762 |
| 16 | 13 1.550 |
| 17 | ; |
| 18 |
| 1 | ods graphics on; |
| 2 | PROC NLIN DATA=clarke1987a plots(stats=none)=diagnostics; |
| 3 | parms theta1=-0.15 |
| 4 | theta2=2.0 |
| 5 | theta3=0.80; |
| 6 | profile theta1 theta3 / range = -6 to 2 BY 0.2 all; |
| 7 | bootstrap / nsamples = 2000 seed=123 bootplots bootci bootcov; |
| 8 | model y = theta3 + theta2*exp(theta1*x); |
| 9 | RUN; |
| 10 | ods graphics off; |