Topic contents

Lesson 00

Introduction to statistics and summary

From understanding statistics and basic concepts to data classification, survey design, and statistical inference.

The basic approach of statistics

Statistics is the science of methods for collecting, organizing, analyzing, and interpreting data, and for using data to describe phenomena and, under appropriate conditions, draw inferences about a population.

Descriptive statistics

Organize observed data into statistical tables, charts, and summary measures.

For example: Among the 100 students surveyed, what are the mean monthly living expenses? What is the composition by year of study?

Inferential statistics

Use sample information, under appropriate sampling designs and assumptions, to infer population characteristics and describe the uncertainty.

For example: Use 100 randomly selected students to estimate the mean monthly living expenses of all students at the school.

The general statistical study process

  1. Pose the research question
  2. Define the population and variables
  3. Collect and organize data
  4. Analyze and draw inferences
  5. Interpret and report results
Class hint: Statistical analysis begins by defining the research question and understanding the source and quality of the data, rather than by calculating formulas.

Some basic statistical concepts

Whom do we study?

Population: the collection of all statistical units within the scope of the study.

Sample: a subset of statistical units selected from the population.

Statistical unit: the particular object being observed, such as one student.

Population size N; sample size n.

What do we observe?

Variable: an observable or measurable characteristic of a statistical unit.

Value of a variable: the specific value of a variable for a particular unit.

Observation record: one unit's values across the recorded variables.

For example: Monthly living expenses is a variable; 1,800 yuan is a value of that variable.

What do we calculate?

Population parameter: a value describing a numerical characteristic of the entire population.

Sample statistic: a value calculated from sample data.

Population parameters are fixed for a given population; statistics vary with the sample drawn.

Common statistical symbols

Statistical measurePopulation parameterSample statistic
Meanμ (population mean)x̄ (sample mean)
ProportionP (population proportion)p̂ (sample proportion)
Varianceσ² (population variance)s² (sample variance)
Standard deviationσ (population standard deviation)s (sample standard deviation)
A student can be a statistical unit; “monthly living expenses,” “year of study,” and “whether AI is used” are variables, while the specific answers that student gives are values of the variables.

Four ways to classify statistical data

By measurement scale

Nominal
Distinguish categories

Major, blood type

Ordinal
Ordered

Satisfaction level

Interval
Meaningful differences

Celsius temperature

Ratio
Meaningful zero and ratios

Income, height

From nominal → ordinal → interval → ratio, the four scales support progressively more quantitative comparisons. “20 °C is 10 °C higher than 10 °C” is meaningful, but “20 °C is twice the temperature of 10 °C” is not an appropriate interpretation.

By data source

Primary data: data collected directly by researchers for the current study, such as a questionnaire they conduct themselves.

Secondary data: data already collected and organized by other people or institutions, such as statistical yearbooks.

By collection method

Observational data: observed and recorded without researchers applying an experimental intervention.

Experimental data: obtained by applying an intervention through an experimental design and measuring outcomes.

By time and space characteristics

Cross-sectional data

Multiple units, one period

City incomes in one year
Time series data

One unit, multiple periods

One city's CPI over several years
Panel data

The same units over multiple periods

Incomes of multiple cities over several years
The link between variable and data classification: Variables are characteristics of the objects studied; data are their observed values. Nominal and ordinal variables usually produce categorical data; interval and ratio variables usually produce numerical data. Source, collection method, and time and space structure provide three other perspectives for classifying data. The same data can have attributes in all four dimensions.

Data collection, sampling methods, and survey errors

Census and sample survey

Census: survey every unit in the defined population; coverage is complete, but the cost is usually higher.

Sample survey: survey some population units; costs are usually lower, but the sampling method and basis for inference need attention.

Probability and nonprobability sampling

Probability sampling selects units through an explicit random mechanism with known, nonzero inclusion probabilities.

Nonprobability sampling usually selects survey subjects without a random mechanism with known inclusion probabilities.

Five probability sampling methods

  • Simple random sampling
  • Systematic sampling
  • Stratified sampling
  • Cluster sampling
  • Multistage sampling

Five nonprobability sampling methods

  • Convenience sampling
  • Judgment sampling
  • Voluntary response sample
  • Snowball sampling
  • Quota sampling
ComparisonProbability samplingNonprobability sampling
Random selection mechanismExplicit probability selection mechanismUsually no random mechanism with known inclusion probabilities
Population parameter inferenceDesign-based inference is possible when design, response, and other conditions are metDirect population generalization lacks a design-based basis; additional model assumptions, auxiliary information, or similar support are needed
Sampling error measurementSampling error can usually be estimated from the designProbability-sampling error formulas cannot be used directly
Implementation costUsually higherUsually lower and faster, but varies by survey

Sampling error

Because only some population units are selected, estimates vary across random samples.

It usually decreases as sample size increases, but also depends on the sampling design.

Nonsampling error

Coverage error, nonresponse, incorrect answers (response error), measurement and recording errors, data processing errors, and similar problems.

These can also occur in a census; a larger sample alone does not automatically eliminate them.

Class conclusion: Survey quality depends on population definition, sample selection, actual response, and data quality, rather than sample size alone. Probability sampling provides an important basis for design-based population inference; this does not mean that all nonprobability samples rule out every kind of model-dependent inference.

Quick review: Which of the following is a nonsampling error?

Choose an answer.