Proc Freq     Proc Tabulate        Canicia Smith  caniciasmith@gmail.comOffice hour: Wed 13:10-14:00
PROC FREQ
What is proc freq?• Proc freq is used to produce one-way and n-  way frequency and cross tabulation• For 2-way tables proc...
PROC FREQProc freq options;    By               MOSLTY    Exact                      USED    Output    Tables    Test    W...
Proc freq;tables
An experiment is conducted with boys and girls            in 3 cities in Taiwan.
Proc freq
Weight (frequency)
Tables with/without weight   Always use                                 weight有                        沒有
No column   no row   no percent
list
PROC TABULATE
What is proc tabulate• It produces one, two,or three dimensional tables• It displays descriptive statistics• It is more po...
Proc tabulate option;      class      var      freq      format      label      by      table
4 patients go to visit the doctor 3 times for 2 kindstreatments. After each visit they’re given 2 scores
QUESTIONS?
Sas class #13teach
Upcoming SlideShare
Loading in...5
×

Sas class #13teach

439

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
439
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Sas class #13teach

  1. 1. Proc Freq Proc Tabulate Canicia Smith caniciasmith@gmail.comOffice hour: Wed 13:10-14:00
  2. 2. PROC FREQ
  3. 3. What is proc freq?• Proc freq is used to produce one-way and n- way frequency and cross tabulation• For 2-way tables proc freq computes tests and measures of association• Performs stratified analysis, computing statistics within and across layers
  4. 4. PROC FREQProc freq options; By MOSLTY Exact USED Output Tables Test Weight
  5. 5. Proc freq;tables
  6. 6. An experiment is conducted with boys and girls in 3 cities in Taiwan.
  7. 7. Proc freq
  8. 8. Weight (frequency)
  9. 9. Tables with/without weight Always use weight有 沒有
  10. 10. No column no row no percent
  11. 11. list
  12. 12. PROC TABULATE
  13. 13. What is proc tabulate• It produces one, two,or three dimensional tables• It displays descriptive statistics• It is more powerful that PROC FREQ when making tables• It is more flexible than PROC MEANS
  14. 14. Proc tabulate option; class var freq format label by table
  15. 15. 4 patients go to visit the doctor 3 times for 2 kindstreatments. After each visit they’re given 2 scores
  16. 16. QUESTIONS?
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×