Type : INTERNE_ERSTELLUNG
Daten 'Newtubes' erstellt über DATALINES mit verschachtelten Schleifen zur Generierung der Chargen-IDs (Batch).
| 1 | DATA Newtubes; |
| 2 | label Diameter='Diameter in mm'; |
| 3 | DO Batch = 1 to 15; |
| 4 | DO i = 1 to 5; |
| 5 | INPUT Diameter @code_sas_json/8_SAS_Intro_ReadFile_MultiCol_@@.json; |
| 6 | OUTPUT; |
| 7 | END; |
| 8 | END; |
| 9 | DATALINES; |
| 10 | 69.13 69.83 70.76 69.13 70.81 |
| 11 | 85.06 82.82 84.79 84.89 86.53 |
| 12 | 67.67 70.37 68.80 70.65 68.20 |
| 13 | 71.71 70.46 71.43 69.53 69.28 |
| 14 | 71.04 71.04 70.29 70.51 71.29 |
| 15 | 69.01 68.87 69.87 70.05 69.85 |
| 16 | 50.72 50.49 49.78 50.49 49.69 |
| 17 | 69.28 71.80 69.80 70.99 70.50 |
| 18 | 70.76 69.19 70.51 70.59 70.40 |
| 19 | 70.16 70.07 71.52 70.72 70.31 |
| 20 | 68.67 70.54 69.50 69.79 70.76 |
| 21 | 68.78 68.55 69.72 69.62 71.53 |
| 22 | 70.61 70.75 70.90 71.01 71.53 |
| 23 | 74.62 56.95 72.29 82.41 57.64 |
| 24 | 70.54 69.82 70.71 71.05 69.24 |
| 25 | ; |
| 1 | ods graphics on; |
| 2 | title 'Box Plot for New Copper Tubes' ; |
| 3 | PROC BOXPLOT DATA=Newtubes; |
| 4 | plot Diameter*Batch / odstitle = title; |
| 5 | RUN; |
| 1 | title 'Box Plot for New Copper Tubes' ; |
| 2 | PROC BOXPLOT DATA=Newtubes; |
| 3 | plot Diameter*Batch / |
| 4 | odstitle = title |
| 5 | clipfactor = 1.5; |
| 6 | RUN; |
| 1 | title 'Box Plot for New Copper Tubes' ; |
| 2 | PROC BOXPLOT DATA=Newtubes; |
| 3 | plot Diameter*Batch / |
| 4 | odstitle = title |
| 5 | clipfactor = 1.5 |
| 6 | cliplegend = '# Clipped Boxes' |
| 7 | clipsubchar = '#'; |
| 8 | RUN; |