690 likes | 916 Views
Describing data with graphics and numbers. Types of Data. Categorical Variables also known as class variables, nominal variables Quantitative Variables aka numerical nariables either continuous or discrete. Graphing categorical variables.
E N D
Types of Data • Categorical Variables • also known as class variables, nominal variables • Quantitative Variables • aka numerical nariables • either continuous or discrete.
Ten most common causes of death in Americans between 15 and 19 years old in 1999.
Heights of BIOL 300 students (cm) 165 168 163 173 170 163 170 155 152 190 170 168 142 160 154 165 156 177 173 165 165 175 155 166 168 165 180 165
Stem-and-leaf plot 0 0 0 0 0 3 3 5 7 0 3 3 5 5 5 5 5 5 6 8 8 8 2 4 5 5 6 2 19 18 17 16 15 14
Histogram Frequency distribution
50th percentile (median) 90th percentile
Evaluating Graphics • Lie factor • Chartjunk • Efficiency
Lie Factor • Lie factor = size of effect shown in graphic size of effect in data
Lie Factor Example Effect in graphic: 2.33/0.08 = 29.1 Effect in data: 6748/5844 = 1.15 Lie factor = 29.1 / 1.15 = 25.3
Chartjunk Unnecessary or confusing visual elements IN CHARTS OR GRAPHS
Two common descriptions of data • Location (or central tendency) • Width (or spread)
Measures of location Mean Median Mode
Mean n is the size of the sample
Mean Y1=56, Y2=72, Y3=18, Y4=42
Mean Y1=56, Y2=72, Y3=18, Y4=42 = (56+72+18+42) / 4 = 47
Median • The median is the middle measurement in a set of ordered data.
The data: 18 28 24 25 36 14 34
The data: 18 28 24 25 36 14 34 can be put in order: 14 18 24 25 28 34 36 Median is 25.