Loading...
Loading...
Reference
210+ statistics terms, clearly defined β from mean and median to p-values and principal components. Almost every entry links to a full article or calculator where you can explore it in depth.
A controlled experiment that randomly assigns users to two versions and compares an outcome. It is the standard tool for testing website and product changes.
A/B Testing: The Statistics Behind Product Decisions βP(A or B) equals P(A) + P(B) β P(A and B). The subtraction removes the overlap that would otherwise be counted twice.
Basic Probability Rules: Addition, Multiplication, and Conditional Probability βThe claim that there is an effect or a difference, accepted only if the data provide sufficient evidence against the null. It is written Hβ or Hβ.
Hypothesis Testing: The Complete Framework, Step by Step βAnalysis of variance, a test comparing the means of three or more groups by comparing variation between groups with variation within groups. A significant F-test says at least one group differs.
ANOVA Calculator βThe area under the ROC curve, equal to the probability that a randomly chosen positive case scores higher than a randomly chosen negative one. It is 0.5 for a useless score and 1.0 for a perfect one.
Sensitivity, Specificity, and ROC Curves: Measuring How Good a Test Really Is βThe correlation of a time series with a delayed copy of itself. It shows how strongly present values depend on past values.
Autocorrelation Explained: When Data Points Aren't Independent βHow common a condition is in the population before any test or evidence is considered. Ignoring it is called the base rate fallacy and leads to badly overestimating the meaning of positive results.
Bayes' Theorem: The Formula, the Medical Testing Example, and Why Base Rates Matter βA rule for reversing conditional probabilities: P(A | B) = P(B | A) Γ P(A) Γ· P(B). It updates a prior belief in light of new evidence.
Bayes' Theorem Calculator βAn approach to statistics that updates probability distributions for unknown parameters using Bayes' theorem. Results are expressed as probabilities about parameters given the data.
Bayesian vs. Frequentist Statistics: Two Ways of Reasoning About Uncertainty βA single random experiment with exactly two outcomes, conventionally called success and failure, with a fixed success probability. A binomial variable counts successes across independent Bernoulli trials.
Binomial Distribution: Formula, Worked Examples, and the Normal Approximation βThe difference between an estimator's average value over all possible samples and the true parameter. An estimator with zero bias is called unbiased.
Unbiased Estimators and Mean Squared Error: What Makes an Estimate Good? βThe balance between a model that is too simple, with high bias, and one that is too flexible, with high variance. Prediction error is lowest at an intermediate complexity.
Where Statistics Actually Shows Up in Machine Learning βThe distribution of the number of successes in a fixed number of independent trials with the same success probability. Its mean is np and its variance is np(1 β p).
Binomial Probability Calculator βThe result that in a group of only 23 people, the chance that two share a birthday exceeds 50%. It shows how quickly the number of possible pairs grows.
The Birthday Problem: Why 23 People Is Enough for a 50/50 Shared Birthday βA simple way to control the family-wise error rate by dividing the significance level by the number of tests. It is safe but conservative when there are many tests.
The Multiple Comparisons Problem: Why Testing Many Things Inflates False Positives βA resampling method that draws many samples with replacement from the data to estimate the variability of a statistic. It produces standard errors and confidence intervals without formulas.
Bootstrap Sampling: Confidence Intervals Without a Formula βA chart of the five-number summary, with a box from Q1 to Q3, a line at the median, and whiskers reaching toward the extremes. Points beyond the whiskers are often flagged as outliers.
Exploratory Data Analysis: The Critical First Step in Any Analysis βA variable that places observations into groups or labels, either unordered (nominal) or ordered (ordinal). Also called qualitative data.
Types of Data: Nominal, Ordinal, Interval, and Ratio Explained βA situation in which the exact time of an event is unknown for some subjects, only that it is later than their last observation. Handling censored data correctly is central to survival analysis.
The KaplanβMeier Survival Curve: Handling Censored Data βThe result that the distribution of sample means approaches a normal shape as the sample size grows, whatever the shape of the underlying population. It justifies many confidence intervals and tests.
The Central Limit Theorem, Explained With Worked Examples βA guarantee that for any distribution, at least 1 β 1/kΒ² of values lie within k standard deviations of the mean. It holds regardless of shape but is conservative.
Chebyshev's Inequality: A Distribution-Free Bound on Spread βA right-skewed distribution of a sum of squared standard normal values, determined by its degrees of freedom. It underlies chi-square tests of independence and goodness of fit.
Chi-Square Test: Goodness-of-Fit and Independence, With Worked Examples βA test that compares observed counts with the counts expected under a hypothesis. It is used for independence between categorical variables and for goodness of fit.
Chi-Square Test Calculator βA design that randomly selects whole groups, such as schools or villages, and surveys all or some members within them. It is cheaper for dispersed populations but usually less precise.
Sampling Methods: Random, Stratified, Cluster, and Systematic Sampling βThe standard deviation divided by the mean, usually shown as a percentage. It compares variability between datasets measured in different units or on different scales.
Coefficient of Variation: Comparing Variability Across Different Scales βThe difference between two group means divided by their pooled standard deviation. Values near 0.2, 0.5, and 0.8 are conventionally called small, medium, and large.
Effect Size and Cohen's d: Why Significance Isn't Enough βA measure of agreement between two raters that corrects for the agreement expected by chance. A value of 1 is perfect agreement and 0 means no better than chance.
Cohen's Kappa: Measuring Agreement Beyond Chance βA selection of items in which order does not matter. The number of ways to choose r items from n is n! Γ· (r! Γ (n β r)!).
Permutations and Combinations: When Order Matters, and When It Doesn't βThe probability that an event does not happen equals one minus the probability that it does. It often makes "at least one" problems far easier.
Basic Probability Rules: Addition, Multiplication, and Conditional Probability βThe probability of an event given that another event has occurred, written P(A | B) and equal to P(A and B) Γ· P(B). It restricts attention to the cases where B holds.
Joint, Marginal, and Conditional Probability: Reading a Two-Way Table βA range of plausible values for a parameter, built so that the procedure captures the true value in a stated percentage of repeated samples. A 95% interval does not mean a 95% chance for this particular interval.
Confidence Interval Calculator βThe long-run proportion of intervals from a procedure that would contain the true parameter, commonly 95%. Higher confidence gives a wider interval.
Confidence Intervals: What They Mean and How to Build One βA variable related to both the predictor and the outcome that creates a misleading association between them. It is a main reason correlation does not establish causation.
Pearson Correlation: Formula, Worked Example, and Why It Isn't Causation βA table of true positives, false positives, false negatives, and true negatives for a classifier. Sensitivity, specificity, and predictive values are all read from it.
Sensitivity, Specificity, and ROC Curves: Measuring How Good a Test Really Is βA variable that can take any value within a range, such as height or time. Measured values are limited only by the precision of the instrument.
Types of Data: Nominal, Ordinal, Interval, and Ratio Explained βA chart of a process measurement over time with limits showing expected variation. Points outside the limits signal a process change worth investigating.
Control Charts: Telling Real Process Shifts From Ordinary Noise βA measure of how much a regression's fitted values change when one observation is removed. It combines the point's residual and its leverage.
Leverage, Outliers, and Cook's Distance: Finding Influential Points in Regression βA number from β1 to 1 measuring the strength and direction of a linear relationship between two variables. Pearson's r is the standard version for numeric data.
Correlation Calculator βThe principle that two variables moving together does not show that one causes the other. Confounders, reverse causation, and coincidence can all produce correlation.
Pearson Correlation: Formula, Worked Example, and Why It Isn't Causation βA measure of how two variables vary together: positive when they tend to rise together, negative when one rises as the other falls. Its size depends on units, so correlation is used to judge strength.
Covariance: Measuring How Two Variables Move Together βA Bayesian interval that contains the parameter with a stated posterior probability. Unlike a confidence interval, it can be read directly as a probability statement about the parameter.
Bayesian Credible Intervals: A Worked Example, Computed From Scratch βThe cutoff on the test statistic's distribution beyond which the null hypothesis is rejected. It is determined by the significance level and whether the test is one- or two-tailed.
Hypothesis Testing: The Complete Framework, Step by Step βA measure of internal consistency reliability for a scale made of several items. Values near 1 indicate items move together strongly, and 0.70 to 0.80 is often considered acceptable.
Cronbach's Alpha: Measuring the Reliability of a Scale βA method of estimating how well a model predicts new data by repeatedly training on part of the data and testing on the held-out remainder. In k-fold cross-validation the data are split into k parts.
K-Fold Cross-Validation: Estimating How a Model Performs on New Data βA function giving the probability that a random variable is less than or equal to a value. It rises from 0 to 1 and works for both discrete and continuous variables.
PDF vs. CDF: Two Ways to Describe the Same Distribution βA running total of frequencies up to and including each class. Plotting it against upper class boundaries gives an ogive, which can be used to estimate the median and percentiles.
Frequency Distributions and Histograms: Choosing Classes and Reading the Shape βThe graphical presentation of data. Effective charts choose the display type to match the question, avoid distortion, and remove clutter.
Data Visualization Principles: Choosing Honest, Effective Charts βThe number of values in a calculation that are free to vary once constraints are imposed. For a sample variance it is n β 1, because the deviations from the sample mean must sum to zero.
The T-Distribution vs. the Normal Distribution: What Actually Differs βA variable that takes countable separate values, such as the number of children in a family. Gaps exist between possible values.
Types of Data: Nominal, Ordinal, Interval, and Ratio Explained βA 0/1 variable that represents membership in a category so it can be used in a regression. A variable with k categories needs k β 1 dummies to avoid perfect multicollinearity.
Dummy Variables: Using Categorical Predictors in Regression βA test for first-order autocorrelation in regression residuals, comparing how much consecutive residuals differ to how large they are overall. Values near 2 suggest no autocorrelation; near 0 suggests positive, near 4 suggests negative.
The Durbin-Watson Test: Detecting Autocorrelation in Regression Residuals βA measure of the magnitude of an effect that does not depend on sample size, such as Cohen's d or CramΓ©r's V. It shows how big a difference is, whereas a p-value only shows whether it is detectable.
Effect Size and Cohen's d: Why Significance Isn't Enough βFor a normal distribution, about 68% of values lie within one standard deviation of the mean, 95% within two, and 99.7% within three. It is also called the 68-95-99.7 rule.
Normal Distribution: The Bell Curve, Explained βA rule for calculating an estimate of a population parameter from sample data. Estimators are judged by properties such as bias, variance, and consistency.
Unbiased Estimators and Mean Squared Error: What Makes an Estimate Good? βA set of outcomes from the sample space, such as rolling an even number. The probability of an event is the sum of the probabilities of the outcomes it contains.
Basic Probability Rules: Addition, Multiplication, and Conditional Probability βThe long-run average of a random variable, found by weighting each possible value by its probability. It is the theoretical mean of the distribution.
Expected Value: The Long-Run Average, Explained With Worked Examples βThe practice of examining data with summaries and graphs before formal modelling. It reveals shape, outliers, errors, and relationships worth investigating.
Exploratory Data Analysis: The Critical First Step in Any Analysis βA continuous distribution for the waiting time until the next event in a Poisson process. It is memoryless, so the time already waited does not affect the time remaining.
The Exponential Distribution: Modeling Wait Times and Lifetimes βUsing a fitted model to predict outside the range of the data used to build it. Predictions there are unreliable because the relationship may change.
Simple Linear Regression: The Least-Squares Line, Explained βThe distribution of a ratio of two independent scaled chi-square variables. It is the reference distribution for ANOVA and for F-tests in regression.
The F-Distribution: The Shape Behind ANOVA and the F-Test βA test of whether a regression model, or a set of added predictors, explains significantly more variation than a simpler model. It compares explained variance with unexplained variance.
The F-Test for Overall Regression Significance βThe product of all positive whole numbers up to n, written n!. It counts the number of ways to arrange n distinct items in a row.
Permutations and Combinations: When Order Matters, and When It Doesn't βThe expected proportion of rejected hypotheses that are false discoveries. The BenjaminiβHochberg procedure controls it and is more powerful than Bonferroni.
False Discovery Rate and the BenjaminiβHochberg Procedure βA factor that reduces the standard error when a large share of a small population is sampled without replacement. It can be ignored when the sample is a small fraction of the population.
The Finite Population Correction: Sampling Without Replacement From a Small Population βThe minimum, first quartile, median, third quartile, and maximum. Together these five values describe the centre, spread, and range of a dataset and form the basis of a box plot.
Five-Number Summary Calculator βA table showing how many observations fall into each value or class interval. Relative and cumulative versions express the counts as proportions and running totals.
Frequency Distributions and Histograms: Choosing Classes and Reading the Shape βAn approach in which probability describes long-run frequencies of events under repeated sampling. Parameters are treated as fixed, and results are stated through p-values and confidence intervals.
Bayesian vs. Frequentist Statistics: Two Ways of Reasoning About Uncertainty βThe non-parametric counterpart to repeated-measures ANOVA, comparing three or more related conditions measured on the same subjects by ranking the conditions within each subject.
The Friedman Test: Comparing 3+ Related Groups by Rank βThe mistaken belief that past random outcomes make a different outcome more likely next time. Independent events such as coin flips have no memory.
The Law of Large Numbers: Why Sample Averages Converge on the Truth βThe distribution of the number of trials needed to get the first success in repeated independent trials. Its mean is 1 divided by the success probability.
The Geometric Distribution: Trials Until the First Success βThe nth root of the product of n positive values. It is the right average for growth rates and ratios, and it is always less than or equal to the arithmetic mean.
Weighted Mean and Geometric Mean: Beyond the Simple Average βThe reciprocal of the average of the reciprocals of the values. It is the appropriate average for rates such as speeds over equal distances.
Weighted Mean and Geometric Mean: Beyond the Simple Average βA situation in which the spread of the residuals changes across the range of the predictor. It violates the constant-variance assumption and can make standard errors misleading.
Simple Linear Regression: The Least-Squares Line, Explained βA bar chart of a numeric variable in which touching bars show how many values fall in each class interval. The choice of class width strongly affects how the shape appears.
Frequency Distributions and Histograms: Choosing Classes and Reading the Shape βThe distribution of successes in a sample drawn without replacement from a finite population. It differs from the binomial because each draw changes the composition of what remains.
The Hypergeometric Distribution: When Sampling Without Replacement Really Matters βA method for the probability or count of a union of overlapping events: add the singles, subtract the pairs, add the triples, and so on. It ensures every outcome is counted exactly once.
The InclusionβExclusion Principle: Counting and Probability for Overlapping Events βEvents where the occurrence of one does not change the probability of the other. For independent events, P(A and B) equals P(A) Γ P(B).
Basic Probability Rules: Addition, Multiplication, and Conditional Probability βAn observation whose removal noticeably changes a fitted model. Influence requires both unusual predictor values and a poor fit to the trend.
Leverage, Outliers, and Cook's Distance: Finding Influential Points in Regression βA situation in which the effect of one predictor depends on the level of another. It is modelled by adding a product term of the two predictors.
Interaction Effects in Regression: When One Predictor's Effect Depends on Another βThe predicted value of the outcome when the predictor equals zero. It may have no practical meaning if zero lies outside the range of the data.
Simple Linear Regression: The Least-Squares Line, Explained βThe distance between the third quartile (Q3) and the first quartile (Q1), covering the middle 50% of the data. It is a spread measure that outliers barely affect.
Percentiles and Quartiles: What They Mean and How to Calculate Them βA numeric scale with equal spacing between values but no true zero, such as temperature in Celsius. Differences are meaningful, but ratios are not.
Types of Data: Nominal, Ordinal, Interval, and Ratio Explained βA resampling method that recomputes a statistic n times, leaving out one observation each time. It estimates bias and standard error.
The Jackknife: Estimating Bias and Standard Error by Leaving One Out βThe probability that two events both occur, written P(A and B). In a two-way table it is a single cell divided by the grand total.
Joint, Marginal, and Conditional Probability: Reading a Two-Way Table βA method for estimating a survival curve from time-to-event data that includes censored observations. The estimate multiplies survival probabilities at each event time.
The KaplanβMeier Survival Curve: Handling Censored Data βA test comparing a sample's empirical distribution function with a reference distribution, or two samples with each other. Its statistic is the largest gap between the two cumulative curves.
The Kolmogorov-Smirnov Test: Comparing a Distribution's Whole Shape βThe non-parametric counterpart to one-way ANOVA, comparing three or more groups by rank rather than assuming normally distributed data. A significant result means the groups' distributions differ somewhere, without pinpointing which pairs.
The Kruskal-Wallis Test: ANOVA Without the Normality Assumption βA measure of how heavy the tails of a distribution are relative to a normal distribution. High kurtosis means extreme values occur more often than a normal curve predicts.
Skewness and Kurtosis: Measuring a Distribution's Shape βA regression that penalizes the sum of absolute coefficient values, which can shrink some coefficients exactly to zero. It performs variable selection as well as shrinkage.
Ridge and Lasso Regression: Shrinking Coefficients on Purpose βThe principle that as the number of independent trials grows, the sample average converges to the expected value. It explains why long-run frequencies settle near true probabilities.
The Law of Large Numbers: Why Sample Averages Converge on the Truth βA way to find an overall probability by splitting it across a partition of cases: P(B) = Ξ£ P(B | Aα΅’) Γ P(Aα΅’). It forms the denominator in Bayes' theorem.
Probability Trees: How to Build and Read Them, With Worked Examples βThe method of choosing regression coefficients that minimize the sum of the squared residuals. It gives the slope Sxy Γ· Sxx and an intercept passing through the point of means.
Simple Linear Regression: The Least-Squares Line, Explained βA measure of how far a point's predictor values lie from the centre of the data, showing its potential to pull the fitted line toward itself. Average leverage equals the number of parameters divided by n.
Leverage, Outliers, and Cook's Distance: Finding Influential Points in Regression βThe probability of the observed data viewed as a function of the parameter values. It measures how well each candidate parameter value explains the data.
Maximum Likelihood Estimation: The Method Behind the Formulas βHow much a test result multiplies the odds of a condition. The positive likelihood ratio equals sensitivity Γ· (1 β specificity).
Sensitivity, Specificity, and ROC Curves: Measuring How Good a Test Really Is βA test comparing two nested models by the ratio of their likelihoods. Twice the log of the ratio approximately follows a chi-square distribution.
The Likelihood Ratio Test: Comparing Two Models Directly βThe rule that the expected value of a sum equals the sum of expected values, whether or not the variables are independent. It makes many counting-expectation problems easy through indicator variables.
Linearity of Expectation: The Shortcut for Adding Averages βA distribution of a positive variable whose logarithm is normally distributed. It is right-skewed, with the mode below the median and the median below the mean.
The Log-Normal Distribution: When Logarithms Are Normal βA regression model for a binary outcome that predicts the log-odds of the event as a linear function of the predictors. Its exponentiated coefficients are odds ratios.
Logistic Regression: Predicting Probabilities for a Binary Outcome βThe half-width of a confidence interval, equal to a critical value multiplied by the standard error. It states how far the estimate could plausibly be from the truth.
Confidence Intervals: What They Mean and How to Build One βThe probability of one event ignoring the other variable, found from a row or column total of a two-way table. It is the sum of joint probabilities across the other variable.
Joint, Marginal, and Conditional Probability: Reading a Two-Way Table βA method that chooses the parameter values that make the observed data most probable. It gives estimators with strong large-sample properties.
Maximum Likelihood Estimation: The Method Behind the Formulas βA test for paired yes/no outcomes, such as before-and-after answers from the same people. It uses only the pairs whose answer changed.
McNemar's Test: Comparing Paired Yes/No Outcomes βThe sum of all values divided by how many there are, also called the arithmetic average. It uses every observation, which makes it sensitive to extreme values.
Mean, Median, and Mode: When to Use Each One βThe average squared distance between an estimator and the true value, equal to variance plus squared bias. It combines accuracy and precision in one number.
Unbiased Estimators and Mean Squared Error: What Makes an Estimate Good? βThe middle value of a sorted dataset, or the average of the two middle values when the count is even. It is resistant to outliers, so it often describes skewed data better than the mean.
Mean, Median, and Mode: When to Use Each One βThe median of the absolute differences between each value and the median. It is a robust measure of spread that a few extreme values cannot distort.
Median Absolute Deviation: A Spread Measure That Ignores Outliers βThe most frequently occurring value in a dataset. A dataset can have one mode, several, or none if every value appears equally often.
Mean, Median, and Mode: When to Use Each One βA probability puzzle in which switching doors after a host reveals a losing door wins two-thirds of the time. It illustrates how new information changes conditional probabilities.
The Monty Hall Problem: Why Switching Doors Really Does Double Your Odds βThe average of the most recent k observations, recomputed as time advances. It smooths short-term fluctuations to reveal the underlying trend.
Time Series Basics: Trend, Seasonality, and Moving Averages βStrong correlation among predictor variables, which makes coefficient estimates unstable and hard to interpret. The variance inflation factor is a common diagnostic.
Multiple Linear Regression: Modelling Several Predictors at Once βA generalization of the binomial to more than two outcome categories. It gives the probability of a particular set of counts across categories in a fixed number of independent trials.
The Multinomial Distribution: When There Are More Than Two Outcomes βAn extension of logistic regression to outcomes with more than two unordered categories. One category serves as the baseline against which the others are compared.
Multinomial Logistic Regression: Beyond Two Outcome Categories βThe growth in the chance of at least one false positive as more tests are run. Ten independent tests at the 5% level give about a 40% chance of a false alarm.
The Multiple Comparisons Problem: Why Testing Many Things Inflates False Positives βA regression model with two or more predictors. Each coefficient shows the change in the outcome for a one-unit increase in that predictor, holding the others constant.
Multiple Linear Regression: Modelling Several Predictors at Once βP(A and B) equals P(A) Γ P(B | A). For independent events it simplifies to P(A) Γ P(B).
Basic Probability Rules: Addition, Multiplication, and Conditional Probability βEvents that cannot happen at the same time, so their intersection has probability zero. Mutually exclusive events with nonzero probabilities are never independent.
Basic Probability Rules: Addition, Multiplication, and Conditional Probability βThe distribution of the number of trials needed to reach a fixed number of successes. It generalizes the geometric distribution and models overdispersed counts.
The Negative Binomial Distribution: Waiting for the R-th Success βA level of measurement for categories with no natural order, such as eye colour or country. Only counts and the mode are meaningful summaries.
Types of Data: Nominal, Ordinal, Interval, and Ratio Explained βA test that makes few assumptions about the shape of the population distribution, often working with ranks. Examples include the Mann-Whitney, Wilcoxon, and Kruskal-Wallis tests.
Non-Parametric Tests: What to Use When a T-Test's Assumptions Don't Hold βA symmetric, bell-shaped distribution defined by its mean and standard deviation. Many natural measurements and sample means follow it approximately.
Normal Distribution Calculator βThe default claim that there is no effect or no difference, which a test tries to find evidence against. It is written Hβ.
Hypothesis Testing: The Complete Framework, Step by Step βA study that records outcomes without assigning treatments. It can show association but is vulnerable to confounding, so it cannot easily establish causation.
Types of Bias in Research: Selection, Response, and Measurement Bias βThe ratio of the probability that an event happens to the probability that it does not, p Γ· (1 β p). A probability of 0.75 corresponds to odds of 3 to 1.
Odds vs. Probability: What's the Actual Difference? βThe ratio of the odds of an outcome in one group to the odds in another. A value of 1 means no association, and it is the natural effect measure in logistic regression.
Logistic Regression: Predicting Probabilities for a Binary Outcome βA test that looks for an effect in one specified direction only. It has more power in that direction but cannot detect an effect in the other.
One-Tailed vs. Two-Tailed Tests: How to Choose, With a Worked Example βA level of measurement for categories with a meaningful order but unequal or unknown gaps, such as satisfaction ratings from poor to excellent. The median and percentiles are appropriate summaries.
Types of Data: Nominal, Ordinal, Interval, and Ratio Explained βAn observation that lies unusually far from the rest of the data. A common rule flags values more than 1.5 times the IQR beyond the quartiles.
Outlier Detection: The IQR Rule, Z-Scores, and What to Do Next βWhen a model captures noise in the training data instead of the underlying pattern, so it fits the sample well but predicts new data poorly. More flexible models overfit more easily.
Polynomial Regression: Fitting a Curve Instead of a Straight Line βTrying many analyses or subsets until something reaches significance, then reporting only that result. It inflates the false positive rate far above the stated level.
The Multiple Comparisons Problem: Why Testing Many Things Inflates False Positives βThe probability, assuming the null hypothesis is true, of obtaining results at least as extreme as those observed. It is not the probability that the null hypothesis is true.
Hypothesis Testing: The Complete Framework, Step by Step βA fixed but usually unknown numerical characteristic of a population, such as its true mean. Statistics computed from samples are used to estimate it.
Sampling Methods: Random, Stratified, Cluster, and Systematic Sampling βA bar chart of categories sorted from largest to smallest with a cumulative percentage line. It highlights the few causes responsible for most of a problem.
Pareto Charts: Finding the Vital Few Causes, With a Worked Example βThe correlation between two variables after removing the linear influence of one or more other variables. It helps separate direct relationships from those driven by a third variable.
Partial Correlation: Controlling for a Third Variable βThe covariance of two variables divided by the product of their standard deviations. It measures linear association only and is sensitive to outliers.
Pearson Correlation: Formula, Worked Example, and Why It Isn't Causation βA value below which a stated percentage of the observations fall. Being at the 90th percentile means 90% of values are at or below yours.
Percentiles and Quartiles: What They Mean and How to Calculate Them βAn arrangement of items in which order matters. The number of ways to arrange r items chosen from n is n! Γ· (n β r)!.
Permutations and Combinations: When Order Matters, and When It Doesn't βA test that builds its reference distribution by repeatedly shuffling group labels and recomputing the statistic. The p-value is the proportion of shuffles at least as extreme as the observed result.
Permutation Tests: A p-Value Built by Shuffling the Labels βA single number used as the best guess for a population parameter, such as a sample mean. It carries no information about its own precision.
Confidence Intervals: What They Mean and How to Build One βA distribution for the number of events occurring in a fixed interval when events happen independently at a constant average rate. Its mean and variance are both equal to that rate.
Poisson Distribution: Formula, Worked Examples, and Real-World Uses βA regression model for count outcomes that links the log of the expected count to the predictors. It assumes the variance equals the mean, and overdispersion breaks that assumption.
Poisson Regression: Modeling Count Data From Predictors βA regression that adds powers of a predictor, such as xΒ², to capture curved relationships. It is still linear in its coefficients, but high degrees risk overfitting.
Polynomial Regression: Fitting a Curve Instead of a Straight Line βThe complete group about which conclusions are wanted, such as all voters in a country. Because measuring everyone is usually impractical, a sample is studied instead.
Sampling Methods: Random, Stratified, Cluster, and Systematic Sampling βThe probability that a person with a positive test result truly has the condition. Unlike sensitivity, it depends heavily on how common the condition is.
Sensitivity, Specificity, and ROC Curves: Measuring How Good a Test Really Is βA follow-up comparison run after a significant ANOVA to find which specific groups differ. Tukey's HSD is a common choice because it controls the family-wise error rate.
Tukey's HSD: Finding Which Groups Actually Differ After ANOVA βThe updated probability of a hypothesis after taking new evidence into account. It results from multiplying the prior by the likelihood and normalizing.
Bayes' Theorem: The Formula, the Medical Testing Example, and Why Base Rates Matter βWhether an effect is large enough to matter in the real world, as opposed to merely being statistically detectable. With large samples, trivial differences can be highly significant.
Effect Size and Cohen's d: Why Significance Isn't Enough βA range expected to contain a single new observation at a given predictor value. It is always wider than a confidence interval for the mean response at the same point.
Confidence Intervals vs. Prediction Intervals in Regression βA technique that rotates the variables into uncorrelated components ordered by how much variance they capture. It is used to compress data and reveal structure.
Principal Component Analysis (PCA): A Step-by-Step Two-Variable Example βThe probability assigned to a hypothesis before seeing new evidence. In Bayes' theorem it is combined with the likelihood to give the posterior.
Bayes' Theorem: The Formula, the Medical Testing Example, and Why Base Rates Matter βA number from 0 to 1 measuring how likely an event is, where 0 means impossible and 1 means certain. For equally likely outcomes it equals favourable outcomes divided by total outcomes.
Basic Probability Rules: Addition, Multiplication, and Conditional Probability βA function describing a continuous distribution, where the area under the curve between two values gives the probability of falling in that range. The total area under the curve is 1.
PDF vs. CDF: Two Ways to Describe the Same Distribution βA description of all possible values of a random variable and how likely each is. Discrete variables use a probability mass function; continuous variables use a density.
PDF vs. CDF: Two Ways to Describe the Same Distribution βA function giving the probability that a discrete random variable equals each specific value. The probabilities across all values sum to 1.
PDF vs. CDF: Two Ways to Describe the Same Distribution βA diagram whose branches show the stages of a multi-step process, with probabilities along each branch. Multiplying along a path gives the probability of that sequence.
Probability Trees: How to Build and Read Them, With Worked Examples βA plot comparing the quantiles of a dataset with those of a theoretical distribution. Points close to a straight line suggest the data follow that distribution.
Q-Q Plots: Checking Normality by Eye, With a Worked Example βOne of three values that split sorted data into four groups of equal size. Q1 is the 25th percentile, Q2 is the median, and Q3 is the 75th percentile.
Percentiles and Quartiles: What They Mean and How to Calculate Them βThe proportion of the outcome's variance explained by the model, from 0 to 1. A high value does not prove the model is correct or that the relationship is causal.
Simple Linear Regression: The Least-Squares Line, Explained βSelecting subjects by chance so that each has a known probability of inclusion. It protects against selection bias and makes probability-based inference possible.
Sampling Methods: Random, Stratified, Cluster, and Systematic Sampling βA numerical quantity whose value depends on the outcome of a random process, such as the sum of two dice. It can be discrete or continuous.
Expected Value: The Long-Run Average, Explained With Worked Examples βA study in which subjects are randomly assigned to conditions. Randomization balances confounders on average, which is what allows causal conclusions.
A/B Testing: The Statistics Behind Product Decisions βThe difference between the largest and smallest values. It is quick to compute but depends entirely on the two most extreme observations.
Descriptive Statistics Calculator βA numeric scale with equal spacing and a true zero, such as height, weight, or income. Both differences and ratios are meaningful.
Types of Data: Nominal, Ordinal, Interval, and Ratio Explained βThe tendency for extreme measurements to be followed by measurements closer to average. It can create the illusion of an effect after an intervention chosen because of an extreme result.
Regression to the Mean: Why Extreme Results Tend to Moderate βAdding a penalty to a model's fitting criterion to discourage large coefficients and complexity. It trades a little bias for a larger reduction in variance.
Ridge and Lasso Regression: Shrinking Coefficients on Purpose βThe difference between an observed value and the value the model predicts. Residual plots are used to check whether a model's assumptions hold.
Simple Linear Regression: The Least-Squares Line, Explained βA regression that adds a penalty on the sum of squared coefficients, shrinking them toward zero. It reduces variance and helps when predictors are correlated.
Ridge and Lasso Regression: Shrinking Coefficients on Purpose βA plot of the true positive rate against the false positive rate across every possible classification threshold. A curve hugging the top-left corner indicates a strong classifier.
Sensitivity, Specificity, and ROC Curves: Measuring How Good a Test Really Is βA test of whether a sequence of two outcomes (pass/fail, above/below the median) is genuinely random, based on the number of unbroken streaks (runs) it contains. Too few runs suggests clumping; too many suggests suspiciously frequent alternation.
The Runs Test: Checking Whether a Sequence Is Actually Random βA subset of the population that is actually observed. Its usefulness depends on how it was selected, not only on its size.
Sampling Methods: Random, Stratified, Cluster, and Systematic Sampling βThe number of observations in a sample. Larger samples shrink the standard error, but the gain slows as the size grows, with precision improving in proportion to the square root of n.
Sample Size Calculator βThe set of all possible outcomes of a random process. Rolling a die has the sample space {1, 2, 3, 4, 5, 6}.
Basic Probability Rules: Addition, Multiplication, and Conditional Probability βA flaw in how a sample is selected that makes some members of the population more likely to be included than others. It produces estimates that are systematically off, regardless of sample size.
Types of Bias in Research: Selection, Response, and Measurement Bias βThe distribution of a statistic across all possible samples of a given size. Its spread is described by the standard error.
The Central Limit Theorem, Explained With Worked Examples βA graph plotting pairs of values as points, showing the form, direction, and strength of a relationship. It should accompany any correlation or regression.
Exploratory Data Analysis: The Critical First Step in Any Analysis βSystematic error arising from how subjects come to be included in a study or analysis. It makes the studied group unrepresentative of the population of interest.
Types of Bias in Research: Selection, Response, and Measurement Bias βThe proportion of people who truly have a condition that a test correctly identifies as positive. It is also called the true positive rate or recall.
Sensitivity, Specificity, and ROC Curves: Measuring How Good a Test Really Is βA test of whether a sample comes from a normal distribution. A small p-value is evidence against normality.
The Shapiro-Wilk Test: A Formal Verdict on Normality βThe threshold for rejecting the null hypothesis, chosen before the test and commonly 0.05. It equals the probability of a Type I error when the null is true.
Hypothesis Testing: The Complete Framework, Step by Step βA model that fits a straight line to predict one variable from another. The line is chosen to minimize the sum of squared vertical errors.
Linear Regression Calculator βA sample in which every member of the population and every possible group of the chosen size has an equal chance of selection. It is the standard against which other designs are compared.
Sampling Methods: Random, Stratified, Cluster, and Systematic Sampling βA reversal in which a trend present within every subgroup disappears or reverses when the groups are combined. It arises when a hidden variable affects group sizes.
Simpson's Paradox: When Aggregated Data Reverses the Real Trend βA measure of asymmetry in a distribution. Positive skew means a longer right tail with the mean above the median; negative skew means a longer left tail.
Skewness and Kurtosis: Measuring a Distribution's Shape βThe predicted change in the outcome for a one-unit increase in the predictor. In simple regression it equals the covariance divided by the predictor's variance.
Simple Linear Regression: The Least-Squares Line, Explained βThe correlation calculated on the ranks of the data rather than the raw values. It captures any monotonic relationship and is less affected by outliers than Pearson's r.
Spearman's Rank Correlation: When the Relationship Isn't a Straight Line βThe proportion of people without a condition that a test correctly identifies as negative. One minus specificity is the false positive rate.
Sensitivity, Specificity, and ROC Curves: Measuring How Good a Test Really Is βThe square root of the variance, expressed in the same units as the data. It describes the typical distance of observations from the mean.
Standard Deviation Calculator βThe standard deviation of a statistic's sampling distribution. For a sample mean it equals the standard deviation divided by the square root of the sample size.
Standard Error: What It Measures and Why It Matters βThe normal distribution with mean 0 and standard deviation 1. Converting values to z-scores lets any normal probability be read from it.
Normal Distribution: The Bell Curve, Explained βA number computed from sample data, such as the sample mean. Because different samples give different values, a statistic has its own sampling distribution.
Standard Error: What It Measures and Why It Matters βThe use of statistical models to learn patterns from data for prediction or understanding. It covers regression, classification, and methods for judging model performance.
Where Statistics Actually Shows Up in Machine Learning βThe probability that a test correctly rejects a false null hypothesis. It rises with larger samples, larger true effects, and higher significance levels.
Statistical Power: Why 'Not Significant' Doesn't Mean 'No Effect' βA display that splits each value into a stem (leading digits) and a leaf (final digit). It shows the distribution's shape while keeping every original value visible.
Stem-and-Leaf Plots: How to Draw, Read, and Compare Them βA design that divides the population into subgroups and samples from each. It guarantees representation of every subgroup and often improves precision.
Sampling Methods: Random, Stratified, Cluster, and Systematic Sampling βThe error of studying only the cases that survived a selection process while overlooking those that dropped out. It makes outcomes look better than they truly are.
Survivorship Bias: What the Missing Data Doesn't Tell You βSelecting every kth member from an ordered list after a random start. It is simple but can be biased if the list has a hidden periodic pattern.
Sampling Methods: Random, Stratified, Cluster, and Systematic Sampling βA bell-shaped distribution with heavier tails than the normal, used when the population standard deviation is estimated from a small sample. It approaches the normal as degrees of freedom increase.
The T-Distribution vs. the Normal Distribution: What Actually Differs βA test comparing means using the t-distribution. Variants compare one sample to a value, two independent samples, or paired measurements.
t-Test Calculator βA number computed from sample data that measures how far the results are from what the null hypothesis predicts. Examples include the t, z, chi-square, and F statistics.
Hypothesis Testing: The Complete Framework, Step by Step βData recorded at regular intervals over time. Analysis separates trend, seasonality, and random variation, and accounts for the fact that neighbouring values are usually related.
Time Series Basics: Trend, Seasonality, and Moving Averages βA mean calculated after discarding a fixed percentage of the smallest and largest values. It keeps most of the mean's efficiency while limiting the influence of outliers.
Outlier Detection: The IQR Rule, Z-Scores, and What to Do Next βA test that looks for a difference in either direction. It splits the significance level between both tails of the distribution.
One-Tailed vs. Two-Tailed Tests: How to Choose, With a Worked Example βRejecting a null hypothesis that is actually true, also called a false positive. Its probability is the significance level.
Hypothesis Testing: The Complete Framework, Step by Step βFailing to reject a null hypothesis that is actually false, also called a false negative. Its probability is denoted Ξ², and power equals 1 β Ξ².
Statistical Power: Why 'Not Significant' Doesn't Mean 'No Effect' βA distribution in which every value in a range is equally likely. The continuous version has a flat density between its minimum and maximum.
The Uniform Distribution: Formula, Worked Examples, and When to Use It βThe average squared distance of the values from their mean. The sample version divides by n β 1 rather than n so that it is an unbiased estimate of the population variance.
Standard Deviation Calculator βA flexible distribution for times to failure whose hazard rate can rise, fall, or stay constant depending on its shape parameter. It is widely used in reliability engineering.
The Weibull Distribution: Modeling Wear-Out and Reliability βAn average in which each value counts in proportion to a weight, such as credit hours in a grade point average. Weights must be chosen to reflect each value's importance.
Weighted Mean and Geometric Mean: Beyond the Simple Average βA confidence interval for a proportion that performs better than the simple normal-approximation interval, especially for small samples or proportions near 0 or 1.
The Wilson Score Interval: A Better Confidence Interval for Proportions βThe number of standard deviations a value lies above or below the mean, calculated as (x β mean) Γ· standard deviation. It puts values from different scales on a common footing.
Z-Score: Formula, Worked Examples, and How to Read One β