Week 2 - Descriptive statistics for Single Variable Flashcards
define (relative) frequency distribution
give an example
Distribution of the number of observations (“frequency”) or the proportion/percentage of observations (“relative frequency”) across different values of a variable
eg. perception of the economy ces 2019
- over the past year, has canada’s economy gotten better, woorse, or stayed about the same
To describe the central tendency, what are the three summary statistics (numerical summaries of data
Mode (most common value)
Median (middle value)
mean (average value)
Mode/modal range
Mode (most common value)
- the value of the variable with the largest number of observations
- modal value is the range of values of the variable with the largest number of observations (on the histogram its the tallest bin)
Median
order observations from the smallest value of y to the largest value of y
median is the middle value of this ordered sample
it splits the sample into two groups with equal numbers
mean
mean = average
y-hat is often used to denote the mean
sum of the values of y for all observations, divided by the number of observations