One and Two-Way Frequency Tables Using PROC FREQ

One and Two-Way Frequency Tables Using PROC FREQ - One and...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
One and Two-Way Frequency Tables Using PROC FREQ STT 305
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The FREQ Procedure FREQ is used to construct frequency tables (count/percentage) for variables in a data set. Tables may include from one to three variables FREQ can also produce tests for independence/association.
Background image of page 2
The FREQ Procedure General Syntax: PROC FREQ < options > ; BY variables ; EXACT statistic-options < / computation-options > ; OUTPUT < OUT= SAS-data-set > options ; TABLES requests < / options > ; TEST options ; WEIGHT variable < / option > ; No var or class statement.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The FREQ Procedure Default behavior… proc freq data =stt305.fish; run ; is to give a frequency table for every variable in the data set. Each variable is taken as a classification variable, i.e. each distinct value is taken as a separate category.
Background image of page 4
The table statement is like the var statement in that it selects variables for analysis; however, it will also affect the structure of the table(s). This case:
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/27/2011 for the course STAT 480 taught by Professor Staff during the Spring '08 term at Penn State.

Page1 / 15

One and Two-Way Frequency Tables Using PROC FREQ - One and...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online