1.1 Descriptive & Inferential Statistics
Data is any observation that has been collected.
Statistics is the science of collecting, analyzing, summarizing, interpreting, and drawing conclusions from data.
A population is the complete set of elements being studied.
A sample is a subset selected from a population.
A census is when we collect data from every member of a population.
A sample must be collected randomly. Otherwise, it is going to be biased.
Descriptive statistics is the collection, organization, summarization, and presentation of data.
Inferential statistics consists of generalizing from samples to populations, performing estimations and hypothesis tests, determining relationships among variables, and making predictions.
A parameter is a characteristic of a population.
A statistic is a characteristic of a sample.
1.2 Variables & Types of Data
Qualitative variables are non-numerical (categorical).
Math operations are not applicable.
Color, gender, race, religion, zip codes, ID numbers.
Quantitative variables are numerical (determined by units).
Math operations are applicable.
Height (ft), weight (lb), wages ($), temperature (°F), time (units may vary), age (years).
There are two types of quantitative data:
Discrete data is countable or finite.
The number of children in a family (countable, without restrictions). The roll of a die (finite: only the values 1 to 6).
Continuous data is infinite (not countable).
It can assume an infinite number of values in an interval between any two values, and is obtained by measurement.
Temperature, in the range 10°F to 120°F.
1.2.1 Levels of Measurement
In the nominal level, categories are not ordered. They are all at the same level.
Major/minor, gender, race, ethnicity, religion, zip codes, political affiliation, marital status.
In the ordinal level, categories can be ordered or ranked.
Differences between them are meaningless.
Size (S, M, L), grades, ratings.
The interval level ranks data. Order matters and differences are meaningful, but there is no natural zero.
SAT score, IQ, temperature.
The ratio level is like the interval level, but with a natural zero.
Height, weight, time, income, age.
There is no universal agreement about the classification of data.
1.3 Data Collection & Sampling Techniques
In random sampling, each member of the population has an equal chance of being selected.
In simple random sampling, every sample of size $n$ has an equal chance of being selected.
Mixing names in a bowl and drawing them out, or using a table of random numbers or a calculator's random number generator.
Systematic sampling is obtained from an ordered population by selecting every $k^{\text{th}}$ member.
Take a systematic sample from a class. Let the population $N$ be the number of students in the class and $n$ the sample size. Then
$$k = \frac{N}{n}.$$
Pick a random starting student between $1$ and $k$, then select every $k^{\text{th}}$ student after that.
Stratified sampling breaks the population into subgroups, or strata, based on a characteristic, and samples from each one.
A university president wants to know how opinions about the men's basketball team's performance last season differ among freshman, sophomore, junior, and senior students.
From the 5,238 undergraduate students, the president samples each of the 4 strata, picking 100 students from each. The sample is 400 students.
Cluster sampling divides the population into clusters regardless of characteristics. Randomly select a certain number of clusters, then collect data from all members of those clusters.
Divide a city into zip codes. Pick, say, 10 zip codes at random: they are the clusters. Every individual in a chosen cluster is part of the sample.