Week 1- Introduction and Descriptive Statistics Flashcards
Name three types of Central Tendency (averages)?
Mean
Median
Mode
Name two ways to measure the spread of a data set
Standard Deviation
Range
What are categorical variables? Give an example
Represents data that may be divided into groups
Age, Gender
Which type of central tendency can you use for categorical variables? Give an example
The mode
For example, if you have the following eye colours: {brown, brown, blue, green, blue, brown}, the modal class is brown. You can’t (obviously) use mean or median here.
How would you compare wage inequality between two countries (using descriptive statistics, for now)?
You can check the standard deviation
If two countries have the same average salary (more or less), but one has a sd of 15k, and the other of 50k, the latter has higher wage inequality.
Name three stages of data analytics
1- Descriptive analytics
2- Predictive analytics
3- Prescriptive analytics
What is descriptive analytics?
Basically inferential (generalisation) statistics. Analysing historical data
What is predictive analytics?
Building mathematical, computational, and statistical models to make predictions using existing data
What is prescriptive analytics?
Building data-driven solutions to control, or change the outcome of an event
What are the 4 types of sampling techniques?
1- Simple Random
2- Stratified
3- Clustered
4- Systematic
What is a simple random sample?
A random sample from the population
What is a stratified sample?
Allows for control of group sizes by sampling based on said groups (e.g., sex, profession, etc.).
What is a clustered sample?
Usually based on geography and proximity.
What is a systematic sample?
Taking every kth member.
E.g, To find k, divide 836 by 20 to get 41.8.
Rounding gives k = 42.
Randomly select a number from 1 to 42, say 18.
Start at the person numbered 18 and then choose every 42nd member of the list.
What is the drawback of Simple random sampling?
Risks overrepresentation of certain groups, unequal group sizes.