Tab 1
Chapter 1
Basic Definitions
● data: facts and figures collected, analyzed, and summarized for presentation and interpretation
● data set: all the data collected in a particular study
●
●
population: the entire group you want to draw conclusions about
sample: subset of the population that you actually collect data from
○ often randomly chosen and representative of the population as a whole, allowing the
data collected from the sample to be generalized to the population
●
elements: “who” or “what” the data is about (the individual entities/subjects on which data is
collected)
○ eg. Student A, Student B,...
variable: a characteristic of interest for the elements
○ eg. GPA, Age, Grade
observation: set of measurements obtained for a particular element
○ a single observation is the value of a variable for a specific entity
○ eg. 4.0, 18, Senior
●
●
Scales of Measurement
● nominal: categorizes data into labels or names
○ eg. blood type, gender
○ what you can do: count frequency, mode
● ordinal: has properties of nominal data and categorizes data with a meaningful order/ranking
○ eg. class rank, socioeconomic classes, survey results (strongly disagree → strongly agree)
○ what you can do: compare rankings, median
● interval: has properties of ordinal data and measures data where intervals between values are
equal
○ eg. °C or °F, IQ scores, calendar years
○ what you can do: +, -, mean, standard deviation
● ratio: has properties of interval data and measures data that has a true zero
○ eg. distance, weight
○ what you can do: all statistical operations
Types of Data
●
●
●
qualitative: data that can be grouped by specific categories (may be represented by numerical
values)
○ uses nominal or ordinal
○ able to count frequencies and determine proportions
quantitative: data that use numerical values to indicate how much or how many
○ uses interval or ratio
○ 2 types
■ discrete: can take on only distinct values (there are gaps)
- “how many?”
- eg. number of iPads sold
■ continuous: can take on any value (no gaps)
- “how much?”
- eg. height
can classify data types based on the time dimension
○ cross-sectional data: collected at one time point
○ time series (longitudinal) data: collected over a period of time
Chapter 2
Frequency Tables
● frequency distribution: a table showing the number of elements or observations in each
category
●
●
𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓 𝑓𝑓 𝑓𝑓𝑓 𝑓𝑓𝑓𝑓𝑓
𝑓
𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓 𝑓𝑓 𝑓𝑓𝑓 𝑓𝑓𝑓𝑓𝑓
percentage frequency of a class =
× 100%
𝑓
relative frequency of a class =
Pie & Bar Charts
● qualitative data
● pie charts for few categories
● bar charts for many categories
○ gaps between bins (no continuity)
Line Graphs
● useful for identifying trends and patterns in time series data
Histograms
● quantitative data
Frequency Distribution
1. determine the number of non-overlapping classes
● use enough to show the variation in data, but not so many that some contain only a few
data items
2. determine the width of each class
● needs to be equal (avoids misinterpretation)
●
approx class width =
𝑓𝑓𝑓𝑓𝑓𝑓𝑓 𝑓𝑓𝑓𝑓 𝑓𝑓𝑓𝑓𝑓 −𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓 𝑓𝑓𝑓𝑓 𝑓𝑓𝑓𝑓𝑓
𝑓𝑓𝑓𝑓𝑓𝑓 𝑓𝑓 𝑓𝑓𝑓𝑓𝑓𝑓𝑓
3. determine the class limits
● each data item should belong to only one class
Cumulative Distributions
● shows the number of items with values less than or equal to the upper limit of each class
● last entries
○ cumulative freq. = sum of all observations
○ cumulative relative freq = 1.00
○ cumulative percentage freq. = 100
Stem-and-Leaf Display
● shows rank order and the shape of the distribution of the data
Chapter 3
Central Tendency
● mode: most frequently occurring
○ only measure of central tendency for nominal data
● median: middle observation when the data are sorted from smallest to largest
○ used for ordinal qualitative data and quantitative data
●
Shape
●
●
●
●
mean: average
○ only used for quantitative data
symmetrical: mean = median = mode
positively skewed: mean > median > mode
negatively skewed: mean < median < mode
if the distribution is skewed, the median is a more appropriate measure of central tendency
than the mean
Weighted Mean
● observations may be given a weight that reflects its relative importance
●
𝑓𝑓𝑓 𝑓𝑓 𝑓𝑓𝑓 𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓 𝑓𝑓𝑓𝑓 𝑓𝑓𝑓𝑓𝑓𝑓
𝑓𝑓𝑓 𝑓𝑓 𝑓𝑓𝑓 𝑓𝑓𝑓𝑓𝑓𝑓𝑓
Measures of Variability
● the p th percentile of a dataset is the value such that p% of all values are less than it
● calculate percentiles
1. order/rank the values
2. determine the position of the percentile
𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓 𝑓𝑓 𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓
(𝑓 + 1)
100
3. determine the percentile value
● eg. using the data set: 5, 2, 6, 3, 4, 9, 4, 5, 8, 3, determine the 75th percentile
1. 2, 3, 3, 4, 4, 5, 5, 6, 8, 9
1 2 3 4 5 6 7 8 9 10
75
2. (10 + 1) 100 = 8.25
3. 6 + (.25(8 − 6)) = 6.5
Box Plot
Range
● maximum - minimum
● very sensitive to extreme values
Interquartile Range (IQR)
● 3rd quartile - 1st quartile
● the middle 50% of the data
● much less sensitive to extreme values
Outliers
● values < Q1 - 1.5(IQR)
Variance
● average of the squared deviations from the mean
●
●
●
●
●
𝑓(𝑓𝑓 −𝑓𝑓𝑓𝑓)2
𝑓−1
𝑓(𝑓 −𝑓𝑓𝑓𝑓)2
2
population variance: 𝜎 = 𝑓𝑓−1
sample variance: 𝑓2 =
the sum of deviations (𝑓𝑓 − 𝑓𝑓𝑓𝑓) always equals zero
small variance = observations are close to the mean
large variance = observations are further from the mean
Standard Deviation
● measures the average distance of values from the mean
●
𝑓 = √𝑓2 = √𝑓𝑓𝑓𝑓𝑓𝑓 𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓
●
●
𝜎 = √𝑓2 = √𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓 𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓
interpretation: on average the _________ deviates/differs from the mean by (standard
deviation)
Coefficient of Variation (CV)
● standardized measure of dispersion of a probability or frequency distribution
●
𝑓𝑓𝑓.𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓
𝑓𝑓𝑓𝑓𝑓𝑓 𝑓𝑓𝑓𝑓
●
“how much does the data vary relative to its size”
Tab 2