Class_2

Class_2 - The Distribution of Single Variables Two Types of...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

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

Unformatted text preview: The Distribution of Single Variables Two Types of Variables Continuous variables Equal intervals of measurement Known zero-point 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 zero-point 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 'One-Way Frequency Distribution'; title2; title3 'PPD 404'; run; One-Way 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

Page1 / 18

Class_2 - The Distribution of Single Variables Two Types of...

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

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