











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












Statistics and Data
Section 20269, J.C. Wang
Department of Statistics Western Michigan University
Statistics and Data Statistics and Data Types of Data Levels of Measurement Example of Data Types and Levels of Measurement Summarizing Categorical Data Relative Frequency Table Bar Chart Pie Chart
Summarizing Numerical Data Stem-and-Leaf Plot Relative Frequency Table and Histogram Five-Number Summary and Boxplots Dotplot Data Shape
I (^) Statistics I (^) (broad sense) collection of methods/procedures for collecting data and analyzing data I (^) (narrower sense) numbers arise out of data analysis, eg., average I (^) Data I (^) collection of measurements made on a number of subjects I (^) example: CLASS DATA set (page 2 of textbook) has six different measurements on ten students
Numerical Data
I (^) Interval: I (^) distance exists but no ratios I (^) zero is arbitrary and not an indication of absence of the variable; eg.’s, temperature scale, IQ scores, GPA I (^) Ratio: ratios exists and zero indicates an absence of the variable
Example: Temperature
I 60 ◦F is not twice as warm as 30◦F I 0 ◦F: not absence of temperature
Two types
I (^) Discrete: result of a counting process, whole numbers (i.e., integers), eg., result of question “how many children in your family?” I (^) Continuous: result of a measuring process, eg.’s, age, money, time, mph, height, weight
CLASS DATA
I (^) Variables Sex and Transport are nominal I (^) Variable (Class) Level is ordinal I (^) Variable GPA is an interval measurement I (^) Variables Hours taken and Sleep hours last night are ratio measurements. I (^) Note: The column Student is used as data label. It’s not used in data analysis. However, it could be used to label observations in graphical presentation or tabular outcomes. Other data labels include students’ names, SSNs, PINs, etc.
for nominal data
Arrange the rows of relative frequency table in decreasing order of frequencies of the categories. Redo previous example:
Major Frequency Relative % GBS 28 50.0% ACT 16 28.6% MGT 8 14.3% MKT 4 7.1% Total 56 100.0%
Note: it is recommended not to apply this to ordinal data — in such case, the rows should be kept in the order of categories.
is used to present frequencies or relative frequencies graphically — draw bars (at the same base) with heights representing frequencies or relative frequencies
ACT MGT MKT GBS
Frequency
0
5
10
15
20
25
30 Note: use only relative frequency for comparison of multiple data sets having the same variable of same categories.
for nominal data
A Pareto chart is a bar chart used for nominal data (only, recommended) in which bars are arranged in decreasing order (left to right) of heights. Redo previous example:
GBS ACT MGT MKT
Frequency
0
5
10
15
20
25
30
I (^) Picture illustrating the distribution of data I (^) Circle divided into slices — number of slices corresponds to the number of categories I (^) Size of slice is proportional I (^) Relative frequency percents make it easier to create a proportional pie chart
to identify the following I (^) typical value I (^) spred about the typical value I (^) data gaps I (^) shape (distribution) of data I (^) number & location of peaks I (^) outlying values
Summer II Quiz Data (sorted)
Stemplot of Summer Quiz Data
stem width = 10 0 | 8 1 | 1 3 9 2 | 1 3 5 5 5 8 3 | 1 5 9 4 | 7
different set of stems
Each stem in the previous example split in two
stem width = 5 0 | 8 1 | 1 3 1 | 9 2 | 1 3 2 | 5 5 5 8 3 | 1 3 | 5 9 4 | 4 | 7
cont’d
Summer II Quiz Data (sorted)
range = 47 − 8 = 39 and set k = 4 then width = 39 ÷ (4 − 1) = 13 right-inclusion ⇒ (−5)–8, 8–21, 21–34, 34– Class Freq. Rel.Freq. Cum.Rel.Freq. −5–8 1 0.071 0. 8–21 4 0.286 0. 21–34 6 0.429 0. 34–47 3 0.214 1. Total 14 1. class interval includes right boundary
I (^) Vertical bar chart constructed at boundaries of each class I (^) Bars of same width and joined at boundaries I (^) Height represents class freq. or rel.freq. I (^) Classes listed and evenly spaced along horizontal axis I (^) (Rel.) Freq. listed along vertical axis, scaled to account for highest (rel.) freq. I (^) Comparison histogram: use rel. freq. only
I (^) MIN = Minimum data value I (^) Q 1 = first quartile = upper boundary of first quarter of data values I (^) MED = middle value of data = second quartile I (^) Q 3 = third quartile = upper boundary of third quarter of data values I (^) MAX = Maximum data value
Summer II Quiz Example
data 8 11 13 19 21 23 25 25 25 28 31 35 39 47 order(1 2 3 4 5 6 7 8 9 10 11 12 13 14) n=14; .25(n+1)=3.75; .5(n+1)=7.5; .75(n+1)=11.
Use textbook formula (pages 12 & 13) MIN = 8 Q 1 = 16 = (3rd obs. + 4th obs.)/2 = (13+19)/ MED = 25 = (7th obs. + 8th obs.)/2 = (25+25)/ Q 3 = 33 = (11th obs. + 12th obs.)/2 = (31+35)/ MAX = 47
Skeletel Boxplot
Summer II Quiz Example
10 20 30 40
Skeletel Boxplot Summer II Quiz Example
Note: different computation methods used for quartiles^ Quiz Scores
based on histogram, stemplot and dotplot
I (^) Histogram: draw a smooth curve over the top of the bars I (^) Stemplot: firt turn 90 degrees counterclockwise, draw a smooth curve over the ends of the leaves I (^) Dotplot: draw a smooth curve over the top of the stacked dots I (^) Examine the tails of the curve (examples on page 14 of textbook) I (^) Left tail longer than right ⇒ left-skewed data I (^) Right tail longer than left ⇒ right-skewed data I (^) Both tails approximately the same ⇒ symmetric data
based on boxplot
I (^) Use only skeletel boxplot in horizontal position to examine data shape I (^) Examine the length of the whiskers (example on page 14 of textbook) I (^) Left whisker longer than right ⇒ left-skewed data I (^) Right whisker longer than left ⇒ right-skewed data I (^) Both whiskers approximately the same ⇒ symmetric data