Proportion#
The fraction of a sample or population that has a given attribute.
Important
✨ AI-generated content. This page was written with the assistance of an AI language model and is provided as a learning aid. Despite careful review, it may still contain mistakes, omissions, or out-of-date information. Whether you are new to the topic, a team lead, or a senior practitioner, treat it as a starting point rather than an authoritative reference: read it critically and independently verify anything you act on (code, commands, figures, and factual claims) against official documentation and primary sources before relying on it.
What it is#
A proportion is a part-to-whole ratio — the fraction of a sample or population with a given characteristic, usually the fraction of successes (“yes” outcomes). The sample proportion estimates the true population proportion \(p\):
with \(x\) the number of successes and \(n\) the sample size.
Population vs sample#
\(p\) is the true proportion in the whole population (fixed, usually unknown); \(\hat{p}\) is computed from a sample and estimates \(p\).
Examples#
In a poll, 540 of 1,000 voters back candidate A → \(\hat{p} = 0.54\) (true \(p\) might be 0.55). In quality control, 10 defective bulbs out of 200 → \(\hat{p} = 0.05\), a 5% defect rate.
In inference#
Proportions drive categorical inference: a confidence interval
and hypothesis tests — a one-sample proportion test compares \(\hat{p}\) to a hypothesised \(p_0\), and a two-proportion z-test compares \(\hat{p}_1\) and \(\hat{p}_2\) (the workhorse of A/B testing).
Proportion ≈ probability#
A sample proportion estimates a population probability: if 30% of surveyed users clicked an ad, the probability a random user clicks is \(\approx 0.30\). This is why proportions sit at the centre of surveys, A/B tests, medical studies and quality control — they turn yes/no data into estimable probabilities.
Theme: Probability & Statistics Foundations · All terminology
Hint
Mind map — connected ideas
True Conversion Rate · Standard Error (SE) · Probability · True Population Parameter · Frequentist · A/B Testing
Hint
More in Probability & Statistics Foundations
Beta Distribution · Confidence Level · Correlation · Critical Value · Cumulative Distribution Function (CDF) · Frequentist · IID (Independent and Identically Distributed) · Likelihood · Margin of Error (MoE) · Mean · Median · Normal Distribution · Outlier · Population Proportion
See also
Source article Adapted (context, re-expressed) in our own words from: Proportion (insightful-data-lab.com).