Type : CREATION_INTERNE
Los datos `SocioEconomics` se crean directamente en el código a través de un paso DATA con una instrucción `datalines`. No provienen de SASHELP ni de una fuente externa.
| 1 | DATA SocioEconomics; |
| 2 | INPUT Population School Employment Services HouseValue; |
| 3 | DATALINES; |
| 4 | 5700 12.8 2500 270 25000 |
| 5 | 1000 10.9 600 10 10000 |
| 6 | 3400 8.8 1000 10 9000 |
| 7 | 3800 13.6 1700 140 25000 |
| 8 | 4000 12.8 1600 140 25000 |
| 9 | 8200 8.3 2600 60 12000 |
| 10 | 1200 11.4 400 10 16000 |
| 11 | 9100 11.5 3300 60 14000 |
| 12 | 9900 12.5 3400 180 18000 |
| 13 | 9600 13.7 3600 390 25000 |
| 14 | 9600 9.6 3300 80 12000 |
| 15 | 9400 11.4 4000 100 13000 |
| 16 | ; |
| 1 | title3 'Maximum Likelihood Factor Analysis with One Factor'; |
| 2 | PROC FACTOR |
| 3 | DATA=SocioEconomics method=ml heywood n=1; |
| 4 | RUN; |
| 5 |
| 1 | title3 'Maximum Likelihood Factor Analysis with Two Factors'; |
| 2 | PROC FACTOR |
| 3 | DATA=SocioEconomics method=ml heywood n=2; |
| 4 | RUN; |
| 5 |
| 1 | title3 'Maximum Likelihood Factor Analysis with Three Factors'; |
| 2 | PROC FACTOR |
| 3 | DATA=SocioEconomics method=ml heywood n=3; |
| 4 | RUN; |
| 5 |