1. Home
  2. Explore
  3. Statistics
  4. Population and Samples

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Population and Samples

Population, Samples, and Probability Distributions

Population and Sample

Statistical and probabilistic problems usually concern a population: the complete set of individuals, objects, measurements, or outcomes relevant to a question.

Examples of populations include:

  • All people in a country

  • All fish in a lake

  • All children aged 10 worldwide

  • All measurements produced by a scientific process

  • All yellow balls labeled with values from 1 to 9

Each member of a population has one or more values of interest, such as age, height, weight, color, or category.

Why Samples Are Used

Studying an entire population is often impossible or impractical because the population may be extremely large. For example:

  • A human population may contain billions of individuals.

  • A lake may contain thousands or millions of fish.

  • A manufacturing process may produce an effectively unlimited number of items.

Instead, researchers select a sample, which is a smaller subset of the population.

A population contains all relevant observations or individuals, while a sample contains a subset selected from that population.

A sample should ideally be:

  • Randomly selected, so that each population member has an appropriate chance of being chosen

  • Representative, so that its characteristics resemble those of the larger population

  • Large enough to provide reliable information

  • Free from systematic selection bias

A sample is never identical to the entire population. Its purpose is to provide enough information to make inferences about the population.

Inference from a Sample

Statistical inference uses sample information to estimate or predict unknown characteristics of a population.

For example, a sample of children aged 10 could be used to estimate:

  • The population mean height

  • The variance of height

  • The range of likely heights

  • The probability that a randomly selected child has a particular height range

  • The mode, or most frequently occurring value

The sample statistics are used as estimates of the corresponding population parameters.

Sample Statistics and Population Parameters

A useful distinction is:

  • Population parameter: A numerical characteristic of the entire population, such as the true population mean or variance

  • Sample statistic: A numerical characteristic calculated from a sample, such as the sample mean or sample variance

For example, the mean height calculated from 1,000 children is a sample statistic. It can be used as an estimate of the true mean height of all children aged 10.

The reliability of the inference depends on factors such as:

  • The size of the sample

  • How randomly the sample was selected

  • Whether the sample is representative

  • The variability of the population

  • Whether the assumed statistical model is appropriate


Statistical Distributions

A statistical distribution describes how frequently or densely different values occur in a dataset or population.

Suppose a sample contains balls with values from 1 to 9. The balls can be grouped by value:

  • All balls labeled 1 are placed together.

  • All balls labeled 2 are placed together.

  • The same process is repeated for 3, 4, and so on.

The resulting groups show how many observations have each value.

Frequency Distribution

A frequency distribution records the number of times each value or category appears.

For example, if a sample contains 33 balls and:

  • 7 are labeled 1

  • 6 are labeled 2

  • 6 are labeled 3

  • Other values account for the remaining balls

then the frequency of the value 1 is 7, and the frequency of the value 2 is 6.

A histogram is a common visual representation of a frequency distribution. The height of each bar shows how many observations fall into the corresponding value or interval.

Relative Frequency

Raw frequency can be converted into relative frequency by dividing each frequency by the total sample size.

For a sample of 33 balls:

Relative frequency of 1=733\text{Relative frequency of 1} = \frac{7}{33}Relative frequency of 1=337​
Relative frequency of 2=633\text{Relative frequency of 2} = \frac{6}{33}Relative frequency of 2=336​

Relative frequencies can also be expressed as percentages. They describe the proportion of the sample belonging to each category.

The relative frequencies provide an estimate of the corresponding population proportions when the sample is randomly selected and representative.

Probability as Proportion

In the frequentist interpretation, probability is associated with the long-run proportion or frequency of an event.

For the ball example:

  • The estimated probability of selecting a 1 is approximately 733\frac{7}{33}337​.

  • The estimated probability of selecting a 2 is approximately 633\frac{6}{33}336​.

  • If the sample contains the same number of 2s and 3s, their estimated probabilities are approximately equal.

  • If only one of the 33 observations is a 5, the estimated probability of selecting a 5 is approximately 133\frac{1}{33}331​.

Thus, a distribution provides a way to estimate how likely different outcomes are.

The values in a probability distribution must satisfy:

  • Each probability is between 0 and 1.

  • The probabilities of all possible outcomes add up to 1.


Frequentist Probability

The frequentist paradigm interprets probability in terms of repeated observations and long-run frequencies.

For example, a fair die has six possible outcomes. If it is rolled a very large number of times, the proportion of rolls resulting in each number should approach:

16\frac{1}{6}61​

The outcomes are expected to occur in comparable numbers because the die is assumed to be fair.

A population of objects with measured values does not necessarily assign equal probability to every value. Some values may occur much more often than others. Therefore, probability describes the proportion of observations associated with a particular value, category, or range.

Frequentist and Bayesian Perspectives

Probability can be interpreted in different ways:

  • Frequentist probability: Probability represents long-run frequency or the proportion of occurrences in repeated sampling.

  • Bayesian probability: Probability represents a degree of belief that can be updated using evidence.

The discussion here focuses primarily on the frequentist interpretation, in which the observed proportions in a representative sample are used to estimate population probabilities.


Example: Adult Male Weight Distribution

Suppose the goal is to understand the weight distribution of adult males worldwide. The full population may contain billions of individuals, making it impossible to measure everyone.

A sample of adult males can be organized by weight:

  1. Each person's weight is recorded.

  2. Similar weights are grouped together.

  3. The groups are stacked or displayed in a histogram.

  4. The resulting shape shows which weights are common and which are rare.

A sample might show:

  • A concentration of observations around 75 or 76 kilograms

  • Some individuals with substantially lower weights

  • Some individuals with substantially higher weights

  • A range extending approximately from 48 to 125 kilograms

From this sample, an analyst could estimate:

  • The center of the distribution, using the sample mean

  • The spread or width, using variance or standard deviation

  • The probability of selecting an adult male within a particular weight range

  • The relative rarity of extremely low or high weights

If the sample mean is approximately 76 or 77 kilograms, that value can be used as a point estimate of the population mean.

A sample distribution can be used to estimate the center, spread, and likelihood of values in the larger population.


Normal Distribution

Many natural measurements form a shape resembling a bell curve, called the normal distribution.

A normal distribution is generally:

  • Symmetric around its mean

  • Concentrated near the center

  • Less frequent farther from the center

  • Characterized by a mean and a variance

The mean determines the center of the distribution. The variance determines how widely the observations are spread around the mean.

Central Limit Theory

The source refers to the central limit theorem, which explains why normal distributions occur frequently in statistics. In broad terms, when sufficiently large samples or combinations of many independent effects are considered, their distribution often approaches a bell-shaped normal distribution under appropriate conditions.

This does not mean every dataset is normally distributed. The normal model is most appropriate when the underlying phenomenon and sampling process support that approximation.

Parameters as a Statistical Summary

A distribution can summarize a large amount of information using a small number of parameters.

For a normal distribution, the key parameters are:

  • The mean, usually represented by μ\muμ

  • The variance, usually represented by σ2\sigma^2σ2

Knowing these parameters allows many other properties of the normal distribution to be determined, including:

  • Its center

  • Its spread

  • The relative frequency of values near or far from the mean

  • Probabilities associated with intervals of values

Other distributions use different parameters. For example, a Poisson distribution is often described using a rate parameter, which can provide information about its expected value, variance, and most likely count.


Why Statistical Distributions Are Useful

A sample alone contains only the observations that were measured. A statistical distribution provides a model that can be extended to the larger population.

Distributions are useful because they:

  • Summarize many observations

  • Represent the center and spread of data

  • Estimate probabilities for values not directly observed

  • Support predictions about the population

  • Provide a framework for calculating uncertainty

  • Allow real-life phenomena to be modeled using known mathematical forms

Point Estimates Versus Distributional Models

A point estimate gives one summary value, such as a sample mean. However, a single average may provide limited information.

Suppose two observed bus waiting times are 7 minutes and 13 minutes. Their arithmetic average is:

7+132=10 minutes\frac{7+13}{2}=10 \text{ minutes}27+13​=10 minutes

This average is a weak inference if only two observations are available. It does not describe:

  • The range of possible waiting times

  • How frequently different waiting times occur

  • The probability of waiting more than a certain amount

  • The shape of the waiting-time process

If bus waiting times are reasonably modeled by an exponential distribution, the distribution can provide more useful information than the sample average alone. Its parameters can be used to estimate probabilities and make predictions about future waiting times.


Probability Mass Functions

Discrete Random Variables

A random variable assigns a numerical value to the outcome of a random process.

A random variable is discrete when it can take separate, countable values. Examples include:

  • The result of rolling a die

  • The number of defective products

  • The number of customers arriving in an hour

  • A ball labeled 1, 2, or 3

A discrete variable cannot take arbitrary values between its possible outcomes. For example, a die result can be 1, 2, or 3, but not 1.5.

Definition of a Probability Mass Function

A probability mass function, abbreviated PMF, gives the probability that a discrete random variable equals a particular value.

It is commonly written as:

p(x)=P(X=x)p(x)=P(X=x)p(x)=P(X=x)

The PMF can be represented as a bar chart or histogram. Each bar corresponds to one possible discrete value, and the bar height represents the probability of that value.

For example:

P(X=1)=733P(X=1)=\frac{7}{33}P(X=1)=337​

means that the estimated probability of observing the value 1 is 733\frac{7}{33}337​.

Properties of a PMF

A valid PMF must satisfy two fundamental conditions:

  1. Every probability is between 0 and 1:

0≤p(x)≤10 \leq p(x) \leq 10≤p(x)≤1
  1. The probabilities of all possible values sum to 1:

∑xp(x)=1\sum_x p(x)=1∑x​p(x)=1

The total probability equals 1 because one of the possible outcomes must occur.

Interpreting PMF Bars

For a discrete random variable:

  • The height of the bar at xxx represents P(X=x)P(X=x)P(X=x).

  • A taller bar indicates that the value occurs more frequently or is more probable.

  • A shorter bar indicates that the value occurs less frequently or is less probable.

  • The probability of a group of values is obtained by adding the probabilities of those values.

For example:

P(X=2 or X=3)=P(X=2)+P(X=3)P(X=2 \text{ or } X=3)=P(X=2)+P(X=3)P(X=2 or X=3)=P(X=2)+P(X=3)

provided the events are distinct and mutually exclusive.


Probability Density Functions

Continuous Random Variables

A random variable is continuous when it can take values across a continuous interval. Continuous variables can theoretically take infinitely many values.

Examples include:

  • Height

  • Weight

  • Temperature

  • Waiting time

  • Distance

  • Precise physical measurements

Between 1 and 2, a continuous variable could take values such as:

1.1,1.11,1.111,1.11111.1,\quad 1.11,\quad 1.111,\quad 1.11111.1,1.11,1.111,1.1111

and infinitely many others.

Definition of a Probability Density Function

A probability density function, abbreviated PDF, describes how densely probability is concentrated across the possible values of a continuous random variable.

It is commonly written as:

f(x)f(x)f(x)

A high value of f(x)f(x)f(x) indicates that observations are densely concentrated near xxx. A low value indicates lower density near xxx.

The PDF itself is not usually the probability of obtaining exactly xxx. Instead, probability is determined by the area under the PDF over an interval.

Properties of a PDF

A valid PDF must satisfy:

  1. The density is nonnegative:

f(x)≥0f(x)\geq 0f(x)≥0
  1. The total area under the curve equals 1:

∫−∞∞f(x) dx=1\int_{-\infty}^{\infty} f(x)\,dx=1∫−∞∞​f(x)dx=1

Unlike a PMF, a PDF integrates to 1 rather than summing to 1.

Probability of an Interval

For a continuous random variable, the probability that XXX lies between aaa and bbb is:

P(a≤X≤b)=∫abf(x) dxP(a\leq X\leq b)=\int_a^b f(x)\,dxP(a≤X≤b)=∫ab​f(x)dx

This probability is represented by the area under the density curve between aaa and bbb.

Probability of an Exact Continuous Value

For a continuous random variable, the probability of obtaining one exact value is generally:

P(X=x)=0P(X=x)=0P(X=x)=0

This occurs because a single point has no width and therefore no area under the curve. The set of possible values is continuous, so the probability is distributed across intervals rather than assigned positive probability to individual points.

For example:

P(X=100.123)=0P(X=100.123)=0P(X=100.123)=0

This does not mean that the value is impossible. It means that the probability of one infinitely precise point is zero. Probabilities become meaningful when considering ranges, such as:

P(100.1≤X≤100.2)P(100.1\leq X\leq 100.2)P(100.1≤X≤100.2)

Cumulative Distribution Functions

Definition of a CDF

A cumulative distribution function, abbreviated CDF, gives the probability that a random variable is less than or equal to a specified value.

It is written as:

F(x)=P(X≤x)F(x)=P(X\leq x)F(x)=P(X≤x)

The CDF accumulates probability from the lower end of the distribution up to xxx.

For a continuous random variable with PDF f(x)f(x)f(x):

F(x)=∫−∞xf(t) dtF(x)=\int_{-\infty}^{x}f(t)\,dtF(x)=∫−∞x​f(t)dt

The integration variable is often written as ttt to distinguish it from the upper limit xxx.

The CDF represents the area under the PDF to the left of xxx.

The area to the left of a chosen value represents the probability that the random variable is less than or equal to that value. No usable image URL was provided in the source, so no source image can be preserved here.

Interpreting the CDF

If F(3.5)=0.40F(3.5)=0.40F(3.5)=0.40, then:

P(X≤3.5)=0.40P(X\leq 3.5)=0.40P(X≤3.5)=0.40

This means that approximately 40% of observations are less than or equal to 3.5.

The CDF can also be used to calculate the probability that a value lies between two points:

P(a<X≤b)=F(b)−F(a)P(a<X\leq b)=F(b)-F(a)P(a<X≤b)=F(b)−F(a)

For example:

P(3.5<X≤3.6)=F(3.6)−F(3.5)P(3.5<X\leq 3.6)=F(3.6)-F(3.5)P(3.5<X≤3.6)=F(3.6)−F(3.5)

For continuous variables, whether the endpoints are included does not change the result because the probability of any exact point is zero.

Approximating the Probability Near One Value

Although P(X=x)=0P(X=x)=0P(X=x)=0 for a continuous random variable, the probability of falling within a narrow interval around xxx can approximate the probability of being very close to xxx.

For a small positive value δ\deltaδ:

P(x−δ<X≤x+δ)P(x-\delta<X\leq x+\delta)P(x−δ<X≤x+δ)

can be calculated as:

F(x+δ)−F(x−δ)F(x+\delta)-F(x-\delta)F(x+δ)−F(x−δ)

This represents the area of the narrow slice surrounding xxx.


Properties of a CDF

A valid CDF has several important properties.

Range

A CDF always lies between 0 and 1:

0≤F(x)≤10\leq F(x)\leq 10≤F(x)≤1

Lower and Upper Limits

As xxx approaches negative infinity, the accumulated probability approaches zero:

lim⁡x→−∞F(x)=0\lim_{x\to-\infty}F(x)=0limx→−∞​F(x)=0

As xxx approaches positive infinity, all probability has been accumulated:

lim⁡x→∞F(x)=1\lim_{x\to\infty}F(x)=1limx→∞​F(x)=1

Thus, the probability of observing a value less than negative infinity is 0, while the probability of observing a value less than positive infinity is 1.

Nondecreasing Behavior

A CDF is nondecreasing. As xxx increases, the amount of accumulated probability cannot decrease.

The CDF may remain flat over a region where no probability is present, but it never moves downward.

For a continuous distribution:

  • The CDF usually rises quickly where the PDF is high.

  • The CDF rises slowly where the PDF is low.

  • The CDF approaches 1 after the upper tail of the distribution has been accumulated.

Right-Continuity

A CDF is right-continuous. Informally, the value of the CDF immediately to the right of xxx approaches the value at xxx.

For continuous distributions, the CDF has no jumps. Discrete distributions may have jumps because probability is concentrated at individual points.

Comprehensive Probability Information

The CDF contains all probability information needed to calculate probabilities involving a random variable.

It can determine:

  • P(X≤x)P(X\leq x)P(X≤x) directly

  • P(X>x)P(X>x)P(X>x) using 1−F(x)1-F(x)1−F(x)

  • The probability between two values using a difference of CDF values

  • Quantiles and percentiles

  • The probability of a narrow interval around a chosen value

For example:

P(X>x)=1−F(x)P(X>x)=1-F(x)P(X>x)=1−F(x)

and:

P(a<X≤b)=F(b)−F(a)P(a<X\leq b)=F(b)-F(a)P(a<X≤b)=F(b)−F(a)

Relationships Among PMF, PDF, and CDF

Discrete Variables: PMF to CDF

For a discrete random variable, the CDF is obtained by summing the PMF up to the chosen value:

F(x)=P(X≤x)=∑t≤xp(t)F(x)=P(X\leq x)=\sum_{t\leq x}p(t)F(x)=P(X≤x)=∑t≤x​p(t)

Suppose a discrete variable has the following probabilities:

  • P(X=0)=0.10P(X=0)=0.10P(X=0)=0.10

  • P(X=1)=0.20P(X=1)=0.20P(X=1)=0.20

  • P(X=2)=0.40P(X=2)=0.40P(X=2)=0.40

  • Additional values account for the remaining probability

Then:

F(0)=0.10F(0)=0.10F(0)=0.10
F(1)=0.10+0.20=0.30F(1)=0.10+0.20=0.30F(1)=0.10+0.20=0.30
F(2)=0.10+0.20+0.40=0.70F(2)=0.10+0.20+0.40=0.70F(2)=0.10+0.20+0.40=0.70

The CDF continues accumulating the PMF values until the total reaches 1.

If every possible value is among 0,1,2,3,40,1,2,3,40,1,2,3,4, then:

P(X<5)=1P(X<5)=1P(X<5)=1

and:

P(X<100)=1P(X<100)=1P(X<100)=1

The discrete CDF has a step-like shape because probability is added at individual values.

Continuous Variables: PDF to CDF

For a continuous random variable, the CDF is obtained by integrating the PDF:

F(x)=∫−∞xf(t) dtF(x)=\int_{-\infty}^{x}f(t)\,dtF(x)=∫−∞x​f(t)dt

The integral accumulates the area under the density curve from the lower end of the distribution to xxx.

When the full range of the distribution has been integrated, the result is 1:

∫−∞∞f(t) dt=1\int_{-\infty}^{\infty}f(t)\,dt=1∫−∞∞​f(t)dt=1

Consequently, once xxx is beyond the largest meaningful values in the distribution, the CDF remains at 1.

CDF to PMF or PDF

For a discrete distribution, the PMF corresponds to the probability added at each step of the CDF. A jump in the discrete CDF represents the probability mass at that point.

For a continuous distribution, the PDF is obtained by differentiating the CDF:

f(x)=ddxF(x)f(x)=\frac{d}{dx}F(x)f(x)=dxd​F(x)

The PDF is therefore the slope of the CDF.

  • Where the CDF rises steeply, the PDF is large.

  • Where the CDF rises slowly, the PDF is small.

  • Where the PDF reaches a maximum, the CDF has its greatest slope.

  • Where the CDF becomes flat, the PDF is zero or approaches zero.


Key Distinctions

Population Versus Sample

  • Population: The complete set of individuals or observations of interest

  • Sample: A smaller subset selected from the population

  • Purpose of sampling: To estimate population characteristics without measuring every member

  • Requirement for useful inference: The sample should be randomly selected and representative

Frequency Versus Probability

  • Frequency: The raw number of times a value occurs

  • Relative frequency: The frequency divided by the total number of observations

  • Probability: A value between 0 and 1 representing the likelihood or proportion associated with an outcome

PMF Versus PDF

  • PMF: Used for discrete random variables

  • PDF: Used for continuous random variables

  • PMF rule: Probabilities are summed

  • PDF rule: Probabilities are found through areas and integrals

  • Exact-value probability: A discrete value may have positive probability; an exact continuous value generally has probability 0

PDF or PMF Versus CDF

  • PMF/PDF: Describes probability at individual discrete values or density across continuous values

  • CDF: Accumulates probability up to a selected value

  • Discrete conversion: Sum the PMF to obtain the CDF

  • Continuous conversion: Integrate the PDF to obtain the CDF

  • Reverse continuous conversion: Differentiate the CDF to obtain the PDF

The CDF is a cumulative summary of a distribution, while the PMF or PDF describes how probability is distributed before accumulation.

Statistical distributions provide a mathematical framework for moving from observed sample data to meaningful conclusions about a larger population. They allow analysts to estimate centers, spreads, probabilities, and predictions more effectively than relying only on individual observations or simple point estimates.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent