This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: The Distribution of Single Variables Two Types of Variables • Continuous variables – Equal intervals of measurement – Known zeropoint that is meaningful • Discrete variables – Simply counts of attributes – Generate category frequencies For continuous variables, • Equal intervals means that the distances between any two adjacent values are identical e.g., AGE: the difference between 21 and 22 years of age is identical in years to the difference between 33 and 34 years of age • Meaningful zeropoint means it makes sense e.g., GPA: a GPA of 0.00 means you have completed no coursework successfully • There might be fractions (i.e. 5.5 hours of studying) For discrete variables, All we can do is count the number of observations that fall into its various categories e.g., GENDER: we can count the number of males and females in this class. No fractions involved (i.e. there cannot be 4.3 males in the class). Using SAS to Produce Statistics for Single Variables libname mydata 'a:\'; libname library 'a:\'; options ps=66 nodate nonumber; proc freq data=mydata. cities ; table citysize ; title1 'OneWay Frequency Distribution'; title2; title3 'PPD 404'; run; OneWay Frequency Distribution PPD 404 SIZE OF CITY, DICHOTOMY Cumulative Cumulative CITYSIZE Frequency Percent Frequency Percent Small 45 71.4 45 71.4 Large 18 28.6 63 100.0 libname mydata 'a:\'; libname library 'a:\'; options ps=66 nodate nonumber; proc chart data=mydata. cities ; vbar spending / discrete ; title1 'Vertical Bar Chart'; run; Vertical Bar Chart...
View
Full
Document
This note was uploaded on 02/04/2008 for the course PPD 404 taught by Professor Velez during the Fall '07 term at USC.
 Fall '07
 Velez

Click to edit the document details