Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
Loading in …5
×

# Sas 教學 2012 12-20

1,176 views

Published on

• Full Name
Comment goes here.

Are you sure you want to Yes No
Your message goes here
• Be the first to comment

• Be the first to like this

### Sas 教學 2012 12-20

1. 1. SAS 教學 2012/12/20 助教:鄭凱駿 icefu4k6@gmail.com
2. 2. Outline• 在類別資料上的應用• Label• Format
3. 3. PROC FORMAT; Label & Format 3.0 17.4 2 VALUE \$MAJORFT 1=Accountancy 2.6 17.3 2 2=Marketing; 3.3 18.1 2RUN; 2.9 18.0 2DATA SALARY; 2.4 16.2 2 2.8 17.5 2 INPUT X Y MAJOR \$; 3.7 21.3 2 LABEL X=GPI (X) 3.1 17.2 2 Y=SALARY (Y); 2.8 17.0 2 FORMAT MAJOR \$MAJORFT.; 3.5 19.6 2CARDS; 2.7 16.6 2 2.6 15.0 22.7 17.0 1 3.2 18.4 23.1 17.7 1 2.9 17.3 23.0 18.6 1 3.0 18.5 23.3 20.5 1 RUN;3.1 19.1 1 PROC PRINT LABEL; TITLE STARTING SALARY DATA;2.4 16.4 1 TITLE2 (TABLE 8.1, BERENSON, LEVINE, AND2.9 19.3 1 GOLDSTEIN);2.1 14.5 1 RUN;2.6 15.7 13.2 18.6 13.0 19.5 12.2 15.0 12.8 18.0 13.2 20.0 12.9 19.0 1
4. 4. FormatPROC FORMAT; VALUE \$MAJORFT 1=Accountancy 2=Marketing;RUN;FORMAT MAJOR \$MAJORFT.;
5. 5. LabelLABEL X=GPI (X) Y=SALARY (Y);PROC PRINT LABEL;
6. 6. 考試方向• 指令是否完整改錯• 怎麼自己建構兩個或多個類別的分類指標 撰寫程式碼