Book contents

STATHARBOR ANALYTICS · INTRODUCTION TO STATISTICS · CHAPTER 1

Introduction

Statistics is the science of learning from data. It encompasses the design of studies, the collection and analysis of data, and the interpretation and communication of results. Whether you are designing a clinical trial, evaluating customer satisfaction or modelling climate change, statistical thinking helps you draw sound conclusions in the presence of variability and uncertainty.

This chapter introduces the key ideas and themes of statistics. We discuss the difference between descriptive and inferential statistics, the role of uncertainty, and the importance of reproducibility. Throughout the book we use examples from the social, life and physical sciences to illustrate concepts.

What Is Statistics?

Statistics provides methods for summarising data (descriptive statistics) and for making statements about a broader population based on a sample (inferential statistics). We often distinguish between:

Populations, Samples and Parameters

A population is the full group we wish to learn about. A sample is a subset of the population that we actually observe. A parameter is a numerical summary of a population (for example, the mean height of all adult women in Canada). An estimate is a numerical summary computed from a sample (for example, the mean height of 100 women selected from that population). One of the fundamental goals of statistics is to understand how estimates vary from sample to sample and how they relate to the underlying parameters.

Worked example

Suppose the true average systolic blood pressure among all adults in a city is 122 mmHg. We do not know this number. Instead, we measure blood pressure for a sample of 50 adults and find a sample average of 119 mmHg. The sample average is an estimate of the population mean. Different samples would yield different estimates due to sampling variability. Inferential statistics provides tools to quantify that variability and construct intervals that likely contain the true mean.

Variability and Uncertainty

Two identical surveys of the same population will rarely produce identical results. Measurements vary due to sampling variation, measurement error and natural variability. Statistical methods allow us to quantify this variation and to separate signal from noise. Uncertainty is inherent in all data analysis. A good analysis acknowledges uncertainty rather than pretending that sample estimates represent exact truth.

Interpretation

Exercises

Practice

  1. Identify a question in your field of study that can be answered using statistics. Specify the population, the sample you would collect and the parameter of interest.

  2. Use R, Python or Julia to compute the mean and standard deviation of the following numbers: 4.2, 5.6, 3.8, 4.1, 6.0. Compare the syntax between the languages.

  3. Explain the difference between a population parameter and a sample estimate. Give an example where the two might differ substantially.

  4. Describe a situation in which sampling variability could lead to conflicting conclusions from two small studies. How might a larger sample help resolve the discrepancy?

References