Sas class #13teach

530 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
530
On SlideShare
0
From Embeds
0
Number of Embeds
194
Actions
Shares
0
Downloads
20
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?

×