Mathematics for Machine Learning

Chapter 7
Statistical Inference and Estimation

Post Graduate Program in AI and ML
Mathematics for Machine Learning   •   Post Graduate

7. Statistical Inference and Estimation

Introduction and Context

Machine-learning systems rarely observe an entire population. They learn from a sample: a collection of transactions, images, patients, documents, sensor readings, or user interactions. The central statistical problem is to use this limited and imperfect evidence to make statements about a broader population or an unknown data-generating process. Statistical inference provides the principles for doing so, while estimation supplies numerical procedures for learning unknown quantities.

Suppose a model contains an unknown parameter θ, such as the probability of customer churn, the mean response time, or the coefficients of a regression model. A sample X1, X2, ..., Xn provides evidence about θ. An estimator converts the sample into a rule, written θ-hat, for approximating θ. Inference goes further: it quantifies uncertainty, compares hypotheses, and incorporates prior information when appropriate.

These ideas are foundational to machine learning. Maximum likelihood underlies logistic regression, mixture models, hidden Markov models, and neural-network training. Bayesian inference supports probabilistic prediction, uncertainty quantification, hierarchical modelling, and decision-making under limited data. Confidence intervals and hypothesis tests help distinguish genuine patterns from sampling variation. However, inference is only as reliable as its assumptions, sampling design, measurements, and model specification.

Learning Objectives

After completing this chapter, the learner should be able to:

1. Distinguish populations, samples, parameters, statistics, estimators, and estimates.

2. Explain sampling distributions, standard error, bias, consistency, and efficiency.

3. Derive and interpret maximum-likelihood estimators.

4. Explain Bayesian estimation using priors, likelihoods, and posterior distributions.

5. Construct and interpret confidence intervals and credible intervals.

6. Formulate and evaluate hypothesis tests, including errors, power, and p-values.

7. Apply inference methods to machine-learning and organizational problems.

8. Identify assumptions, limitations, ethical risks, and sources of uncertainty.

From Data to Inference

A population is the conceptual set of units about which a conclusion is intended. It may be all future loan applicants, all hospital admissions in a region, or all images generated by a deployment environment. A sample is the observed subset. A parameter is a fixed but usually unknown numerical property of the population, such as a mean μ, variance σ², or regression coefficient β. A statistic is any function of observed data, such as the sample mean X-bar or sample variance S².

An estimator is a statistic used to estimate a parameter. Before observing data, it is a random variable because different samples produce different values. After observing data, it becomes an estimate. This distinction is important: an estimate is not the parameter itself, and a single estimate does not reveal how much it would vary under repeated sampling.

Sampling and Representativeness

Under simple random sampling, every population unit has a known and equal probability of selection. If X1, ..., Xn are independent observations from the same distribution, they are commonly described as an independent and identically distributed (i.i.d.) sample. This assumption simplifies theory but is often violated in practice.

Sampling may be stratified, clustered, systematic, sequential, or convenience-based. Stratified sampling deliberately represents important subgroups; cluster sampling selects naturally occurring groups; convenience sampling selects easily accessible observations. The sampling design affects uncertainty and may introduce bias. A very large convenience sample can still produce a systematically misleading estimate.

Dependence also matters. Repeated measurements from the same patient, observations from the same customer, or consecutive time-series values are not generally independent. Treating dependent observations as independent often produces standard errors that are too small and excessive confidence.

Sampling Distributions and the Logic of Uncertainty

The sampling distribution of an estimator is its probability distribution across repeated samples generated under the same sampling process. For a population with mean μ and variance σ², the sample mean satisfies

E[X-bar] = μ, Var(X-bar) = σ²/n,

provided the observations are independent and identically distributed. Its standard deviation, σ/√n, is called the standard error of the mean. Since σ is usually unknown, it is estimated by S, giving estimated standard error S/√n.

The law of large numbers states that, under suitable conditions, X-bar approaches μ as n increases. The central limit theorem states that the standardized sample mean often approaches a standard normal distribution even when the original observations are not normal, provided the sample is sufficiently large and no single observation dominates the sum. Thus,

(X-bar − μ)/(S/√n)

is often approximately t-distributed with n − 1 degrees of freedom when estimating a mean under normal-sampling assumptions.

The central limit theorem does not make small samples automatically safe, nor does it correct biased sampling, dependence, severe measurement error, or extreme outliers. It concerns the distribution of an estimator, not the distribution of individual observations.

Evaluating Estimators

Several properties help assess an estimator θ-hat.

Bias is the difference between its expected value and the target:

Bias(θ-hat) = E[θ-hat] − θ.

An unbiased estimator has expected value equal to θ. Unbiasedness is useful but not always necessary. A biased estimator can have lower overall error.

The variance of θ-hat measures its sampling variability. Mean squared error combines variance and squared bias:

MSE(θ-hat) = Var(θ-hat) + [Bias(θ-hat)]².

An estimator is consistent if it converges in probability to the true parameter as sample size grows. Efficiency compares estimators, often through variance among unbiased estimators. The bias–variance trade-off is especially relevant in machine learning: flexible models may have low training bias but high variance, while regularized models introduce bias to reduce instability and improve predictive performance.

A sufficient statistic summarizes all sample information relevant to a parameter under a specified model. For a normal distribution with known variance, the sample mean is sufficient for μ. Sufficiency can simplify estimation, although it depends on the assumed probability model.

Maximum Likelihood Estimation

Maximum likelihood estimation (MLE) chooses the parameter value that makes the observed data most plausible under the model. If observations x1, ..., xn have density or probability function f(x|θ), the likelihood is

L(θ; x) = product from i=1 to n of f(xi|θ).

The maximum-likelihood estimator is

θ-hat_ML = argmaxθ L(θ; x).

Because products can be numerically inconvenient, estimation usually maximizes the log-likelihood:

ℓ(θ) = log L(θ; x) = sum from i=1 to n of log f(xi|θ).

The score is the derivative of the log-likelihood, U(θ) = ∂ℓ(θ)/∂θ. Candidate interior solutions often satisfy U(θ) = 0, while the second derivative or another comparison determines whether the solution is a maximum. In multidimensional problems, the score becomes a gradient and curvature is represented by a Hessian matrix.

Example: Bernoulli Data

Let Xi indicate whether a visitor purchases a product, with Xi distributed as Bernoulli(p). The likelihood is

L(p) = p^(sum Xi)(1 − p)^(n − sum Xi).

The log-likelihood is

ℓ(p) = (sum Xi) log p + (n − sum Xi) log(1 − p).

Differentiation gives the MLE p-hat = X-bar. Thus, if 37 of 100 visitors purchase, the estimated purchase probability is 0.37. This estimate describes the assumed population and sampling process; it does not establish that the next visitor has exactly a 37% probability if conditions change.

Example: Normal Mean and Variance

For independent observations from N(μ, σ²), the MLE of μ is X-bar and the MLE of σ² is

σ²-hat_ML = (1/n) sum (Xi − X-bar)².

This differs from the usual unbiased sample variance, which divides by n − 1. The MLE is biased downward for finite n, although it is consistent. The distinction illustrates why the choice of criterion matters.

MLE in Machine Learning

Many predictive models minimize negative log-likelihood. For binary classification, this produces cross-entropy loss. For a normal regression model with constant variance, maximizing likelihood is equivalent to minimizing squared-error loss. Optimization algorithms such as gradient descent, Newton’s method, and quasi-Newton methods search for parameter values that improve the objective.

MLE has attractive large-sample properties under regularity conditions: consistency, approximate normality, and asymptotic efficiency. It can nevertheless fail when the model is misspecified, the likelihood is flat or multimodal, parameters lie on boundaries, data are separated, or the sample is small. In logistic regression with complete separation, coefficients may diverge rather than reach finite MLEs. Regularization or Bayesian priors can stabilize the problem.

Bayesian Estimation and Posterior Reasoning

Bayesian inference treats the unknown parameter as uncertain and represents that uncertainty with a probability distribution. Bayes’ theorem is

p(θ|x) = [p(x|θ)p(θ)]/p(x),

where p(θ) is the prior, p(x|θ) is the likelihood, p(θ|x) is the posterior, and p(x) is the evidence or marginal likelihood. The posterior is proportional to prior times likelihood:

posterior ∝ likelihood × prior.

A prior can encode previous studies, domain knowledge, physical constraints, or a deliberately weak assumption. A posterior mean, median, mode, or interval may be used as a Bayesian estimate. The posterior predictive distribution accounts for parameter uncertainty when predicting a future observation:

p(x-new|x) = integral p(x-new|θ)p(θ|x)dθ.

This is distinct from plugging a single estimate into the model.

Conjugacy: A Useful Analytical Pattern

For Bernoulli data, suppose p has a Beta(α, β) prior. If s successes and f failures are observed, the posterior is

p|x ~ Beta(α + s, β + f).

The posterior mean is (α + s)/(α + β + s + f). The prior contributes pseudo-counts, although this interpretation should be used cautiously because the meaning of α and β depends on the modelling context.

For example, a Beta(2, 2) prior combined with 37 successes and 63 failures yields a Beta(39, 65) posterior, whose mean is 39/104, approximately 0.375. The MLE is 0.37. With more observations, the likelihood usually dominates a fixed, reasonable prior; with little data, prior specification can substantially affect conclusions.

Bayesian and Frequentist Interpretations

A 95% confidence interval is a procedure that covers the fixed parameter in 95% of repeated samples under its assumptions. It does not mean that the parameter has a 95% probability of lying in one already-computed interval in the frequentist interpretation. A 95% Bayesian credible interval means that, conditional on the model, prior, and observed data, the posterior probability that θ lies in the interval is 95%.

The methods answer related but different questions. Bayesian analysis makes probability statements about parameters but requires explicit prior modelling. Frequentist analysis emphasizes long-run operating characteristics and can avoid prior specification, but its intervals and tests are often misinterpreted. Neither framework automatically protects against poor data, confounding, or model misspecification.

Confidence Intervals and Uncertainty Quantification

A confidence interval has the form estimate ± critical value × standard error. For a mean with unknown variance under normal assumptions,

X-bar ± t_(1−α/2,n−1) S/√n

is a 100(1 − α)% confidence interval. For large samples, a normal critical value is often used. For a proportion, the simple Wald interval p-hat ± z*√[p-hat(1 − p-hat)/n] can perform poorly when n is small or the proportion is near 0 or 1. Wilson or exact intervals are often preferable.

Intervals may be obtained analytically, through bootstrap resampling, or by Bayesian posterior simulation. The bootstrap repeatedly samples observations with replacement, recalculates the estimator, and uses the resulting empirical distribution to estimate uncertainty. It is useful for complex statistics but does not repair biased or nonrepresentative data.

Prediction intervals are wider than confidence intervals for a mean response because they include both uncertainty in the estimated mean and variation of a future individual observation. In machine learning, uncertainty may also be decomposed into aleatoric uncertainty, arising from irreducible randomness, and epistemic uncertainty, arising from limited knowledge or data.

Hypothesis Testing as a Decision Procedure

A hypothesis test begins with a null hypothesis H0 and an alternative hypothesis H1. For example, H0: p = 0.30 may be tested against H1: p ≠ 0.30. A test statistic measures incompatibility between the data and H0. The p-value is the probability, assuming H0 and the testing procedure, of obtaining a result at least as extreme as the observed result.

A significance level α is a preselected threshold for rejecting H0. A Type I error rejects a true null hypothesis; its probability is controlled approximately by α under valid assumptions. A Type II error fails to reject a false null hypothesis. Power is 1 − β, the probability of detecting a specified alternative.

The phrase “fail to reject” is preferable to “accept” the null: a nonsignificant result may reflect little effect, high noise, small sample size, or low power. Statistical significance does not establish practical importance. A very large sample can make a trivial effect statistically significant, while a meaningful effect may be missed in a small study.

For two independent means, a t-test compares the observed difference with its estimated standard error. For categorical counts, a chi-square test may assess independence. Likelihood-ratio tests compare maximized likelihoods under nested models. Permutation tests construct a reference distribution by rearranging labels under a null hypothesis and can be useful when parametric assumptions are doubtful.

Multiple testing creates a further problem. If many hypotheses are tested at α = 0.05, some false positives are likely even when all null hypotheses are true. Bonferroni controls family-wise error conservatively; false discovery rate procedures, such as Benjamini–Hochberg, control the expected proportion of false discoveries under suitable conditions. The analysis plan should specify primary outcomes and correction methods before inspecting results.

A Workflow for Statistical Inference

A defensible analysis generally follows these stages:

1. Define the population, estimand, decision, and unit of analysis.

2. Examine how observations were sampled and whether dependence or selection bias is present.

3. Specify a probability model and justify its assumptions.

4. Estimate parameters using an appropriate method.

5. Quantify uncertainty through standard errors, intervals, bootstrap methods, or posterior distributions.

6. Conduct hypothesis tests only when a clearly stated decision question requires them.

7. Examine effect size, practical consequences, sensitivity, and subgroup behaviour.

8. Communicate assumptions, missing data, exclusions, uncertainty, and limitations.

An estimand must be explicit. “Average treatment effect for the target population” is different from “effect among treated individuals,” just as “probability of fraud among all transactions” differs from “probability among transactions flagged by a screening rule.” Ambiguous estimands produce apparently conflicting but technically correct analyses.

Applied Case: Estimating Defect Risk in an Automated Inspection System

Background

An electronics manufacturer uses a vision model to identify defective circuit boards. Before deployment, engineers need to estimate the defect rate and determine whether a revised inspection process has reduced defects.

Situation and Problem

A random sample of 400 boards from the new process contains 18 defective boards. The previous process is believed to have a defect rate of 6%. Management asks whether the new process has significantly reduced defects and requests an estimate for planning production capacity.

Analysis

The observed defect-rate estimate is p-hat = 18/400 = 0.045. A rough standard error is √[0.045(0.955)/400], approximately 0.0104. Because the event count is modest, an interval designed for proportions, such as a Wilson interval, is preferable to relying automatically on the Wald interval.

The null hypothesis is H0: p = 0.06, with H1: p < 0.06. The approximate standard error under H0 is √[0.06(0.94)/400], approximately 0.0119. The standardized statistic is (0.045 − 0.06)/0.0119, approximately −1.26. A one-sided p-value is therefore around 0.10 under a normal approximation, not below the conventional 0.05 threshold.

Approach and Decision

The evidence suggests a lower observed defect rate, but it is not sufficiently strong under the prespecified test to reject the 6% benchmark at the 5% level. Management should not report that the new process has been proven superior. The estimated rate should be accompanied by an interval and by a statement about sampling uncertainty. A larger sample would improve precision and power.

The analysis must also verify that boards were randomly sampled across shifts, suppliers, and product types. If the vision model itself determines which boards receive manual confirmation, verification bias may distort the estimated defect rate. Detection sensitivity and specificity should be analysed separately from the underlying manufacturing defect rate.

Outcome and Learning Points

The case demonstrates the difference between an estimate and evidence for a claim. It also illustrates that a p-value is not the probability that the new process is ineffective. Statistical conclusions depend on the sampling plan, measurement system, benchmark, direction of the test, and practical cost of errors. A Bayesian analysis could incorporate reliable historical information and produce a posterior probability that the defect rate is below a specified operational threshold.

Assumptions, Risks, and Common Mistakes

The most damaging mistake is treating a statistical method as valid merely because software produced an output. Common risks include:

  • Confusing correlation with causation or using observational data to make causal claims without a design or assumptions supporting them.
  • Ignoring selection bias, nonresponse, covariate shift, survivorship bias, or data leakage.
  • Treating repeated or clustered observations as independent.
  • Reporting a p-value without an effect size or interval.
  • Interpreting a confidence interval as a probability statement about a fixed parameter.
  • Using asymptotic approximations for sparse data, extreme proportions, or small samples.
  • Trying many analyses and reporting only the most favourable result.
  • Choosing a prior after seeing the data without sensitivity analysis.
  • Assuming a statistically significant result is operationally important.
  • Rounding intermediate quantities or relying on default software settings without checking parameterization.

Robust analysis compares plausible models, examines residuals, tests sensitivity to exclusions and priors, and validates findings on new data. Missing data require an explicit mechanism: missing completely at random, missing at random conditional on observed variables, or not missing at random. Imputation can reduce bias in some settings but does not make missingness irrelevant.

Ethical, Governance, and Professional Considerations

Statistical inference influences credit, employment, healthcare, insurance, and public policy. Analysts should document data provenance, sampling procedures, estimands, assumptions, transformations, exclusion rules, and software versions. Results should be reproducible and independently reviewable.

Fairness analysis requires attention to subgroup-specific uncertainty. An overall estimate can conceal poor performance or unequal error rates for minority groups. Small subgroup samples create wide intervals, but uncertainty is not a reason to ignore potential harm. Privacy-preserving data practices, access controls, secure computation, and appropriate aggregation are part of responsible statistical work.

In regulated settings, validation must distinguish development data from independent evaluation data. Model updates, drift, and changed population composition can invalidate earlier inference. Communicating uncertainty honestly is a professional obligation, especially when decisions affect individuals.

Computational and Emerging Developments

Modern inference increasingly combines classical statistics with computational methods. Markov chain Monte Carlo samples from complex posterior distributions; variational inference approximates posteriors more quickly but may underestimate uncertainty; sequential Monte Carlo handles evolving systems. The bootstrap, automatic differentiation, and probabilistic programming make advanced models more accessible.

In large-scale machine learning, exact likelihood calculations may be infeasible. Stochastic-gradient methods, distributed optimization, and approximate Bayesian techniques support analysis of high-dimensional models. However, computational scalability does not guarantee statistical validity. Double descent, distribution shift, selective prediction, conformal prediction, and uncertainty calibration are active areas of research. Conformal methods are especially notable because, under exchangeability assumptions, they can provide finite-sample predictive coverage without fully specifying a parametric distribution.

The emerging emphasis is not merely on point prediction but on calibrated uncertainty, shift detection, decision-aware evaluation, and transparent reporting. These developments reinforce a central principle: inference is a combination of mathematics, data design, computation, and judgment.

Best Practices for Professional Analysis

Use a clearly stated estimand and decision context. Separate exploratory analysis from confirmatory testing. Inspect sampling and measurement processes before selecting a method. Report estimates with uncertainty and practical interpretation. Prefer effect sizes and predictive consequences over isolated significance labels. Use simulation or bootstrap checks when formulas are fragile. Conduct sensitivity analyses for models, priors, missing data, and plausible forms of dependence. Correct for multiple comparisons when relevant. Preserve an audit trail and communicate limitations in language that decision-makers can understand.

Chapter Summary

Statistical inference uses sample data to learn about populations and unknown parameters. Sampling distributions explain why estimates vary, while standard errors quantify that variation. Bias, variance, mean squared error, consistency, and efficiency provide criteria for evaluating estimators. Maximum likelihood chooses parameters that best explain observed data and forms the basis of many machine-learning objectives. Bayesian inference combines prior information with likelihood evidence to produce posterior and posterior predictive distributions.

Confidence intervals describe the long-run performance of an interval procedure, whereas Bayesian credible intervals express posterior probability conditional on a model and prior. Hypothesis tests compare data with a null model through test statistics and p-values, but decisions must also consider power, effect size, practical significance, and multiple testing. Sound inference depends on representative data, appropriate assumptions, transparent computation, and ethical communication. No method can compensate for biased sampling or a poorly defined question.

Key Terms

Population: The full set of units or outcomes to which an inference is intended to apply.

Sample: The observed subset drawn from a population.

Parameter: A fixed numerical characteristic of a population or probability model.

Statistic: A function of observed data.

Estimator: A statistic used to estimate an unknown parameter.

Sampling distribution: The probability distribution of an estimator across repeated samples.

Standard error: The standard deviation, or estimated standard deviation, of an estimator.

Bias: The difference between an estimator’s expected value and the target parameter.

Consistency: Convergence of an estimator to the true parameter as sample size increases.

Likelihood: A function measuring how compatible observed data are with parameter values.

Maximum likelihood estimation: Estimation by maximizing the likelihood of observed data.

Prior distribution: A probability distribution representing information about a parameter before current data are used.

Posterior distribution: The parameter distribution after combining prior information with observed data.

Credible interval: A posterior-probability interval for a parameter.

Confidence interval: An interval produced by a procedure with specified long-run coverage.

Null hypothesis: A formal hypothesis evaluated by a statistical test.

p-value: The probability, under the null and testing procedure, of a result at least as extreme as observed.

Statistical power: The probability of rejecting a false null hypothesis for a specified alternative.

Bootstrap: A resampling method used to approximate an estimator’s sampling distribution.

Estimand: The precisely defined quantity that an analysis seeks to learn.

Review Questions

Short Answer Questions

1. Distinguish an estimator from an estimate.

2. What does the standard error of the sample mean represent?

3. State the decomposition of mean squared error.

4. Differentiate a confidence interval from a Bayesian credible interval.

5. Why does failure to reject a null hypothesis not prove that the null is true?

Long Answer Questions

1. Explain the role of the law of large numbers and the central limit theorem in statistical inference, including their limitations.

2. Derive the maximum-likelihood estimator of a Bernoulli success probability and interpret it.

3. Explain Bayesian estimation using the prior, likelihood, posterior, and posterior predictive distribution.

4. Discuss Type I error, Type II error, power, p-values, and practical significance.

5. Compare analytical intervals, bootstrap intervals, and Bayesian posterior intervals in terms of assumptions and interpretation.

Analytical / Application Questions

1. A sample contains 12 failures in 300 trials. Formulate an appropriate estimator and uncertainty analysis for the failure probability, and explain why a simple normal approximation may require caution.

2. A model developer tests 200 features for association with an outcome and reports the five smallest p-values. Identify the inferential problem and propose a suitable corrective strategy.

3. A hospital collects ten measurements from each of 80 patients but analyses all 800 measurements as independent. Explain the consequences and recommend a more appropriate inferential approach.

22. Multiple Choice Questions with Answers

Question 1

Which statement best distinguishes an estimator from an estimate?

A. An estimator is a fixed population value, while an estimate is always random.

B. An estimator is a rule based on data; an estimate is its observed numerical value.

C. An estimator is always unbiased, while an estimate is always biased.

D. An estimator applies only to Bayesian models, while an estimate applies only to frequentist models.

Correct Answer: B. An estimator is a rule based on data; an estimate is its observed numerical value.

Question 2

For independent observations with variance σ², what is the variance of the sample mean?

A. σ²n

B. σ²

C. σ²/n

D. σ/√n

Correct Answer: C. σ²/n

Question 3

Which property combines an estimator’s variance and squared bias?

A. Likelihood

B. Mean squared error

C. Statistical power

D. Coverage probability

Correct Answer: B. Mean squared error

Question 4

In maximum likelihood estimation, the selected parameter value is the one that:

A. Minimizes the prior probability

B. Maximizes the probability of the observed data under the model

C. Makes the sample variance equal to zero

D. Guarantees an unbiased estimate in every sample

Correct Answer: B. Maximizes the probability of the observed data under the model

Question 5

A Beta(2,2) prior is combined with 37 successes and 63 failures in a Bernoulli model. What is the posterior distribution?

A. Beta(37,63)

B. Beta(39,65)

C. Beta(2,102)

D. Beta(74,126)

Correct Answer: B. Beta(39,65)

Question 6

Which interpretation is correct for a 95% frequentist confidence interval?

A. There is a 95% probability that the fixed parameter lies in this computed interval.

B. The null hypothesis has a 95% probability of being true.

C. The interval-generating procedure covers the parameter in 95% of repeated samples under its assumptions.

D. Exactly 95% of observations lie inside the interval.

Correct Answer: C. The interval-generating procedure covers the parameter in 95% of repeated samples under its assumptions.

Question 7

A small p-value, by itself, establishes that:

A. The effect is practically important.

B. The null hypothesis is logically impossible.

C. The observed result would be relatively unusual under the null model and test assumptions.

D. The alternative hypothesis has a probability equal to one minus the p-value.

Correct Answer: C. The observed result would be relatively unusual under the null model and test assumptions.

Question 8

What is the main purpose of statistical power analysis?

A. To calculate the prior distribution automatically

B. To determine the probability of detecting a specified effect when it exists

C. To guarantee that a sample is representative

D. To eliminate Type I errors completely

Correct Answer: B. To determine the probability of detecting a specified effect when it exists

Question 9

Why can treating clustered observations as independent be misleading?

A. It always increases the estimated mean.

B. It commonly underestimates uncertainty because correlated observations contain less independent information.

C. It converts a confidence interval into a credible interval.

D. It prevents maximum likelihood estimation.

Correct Answer: B. It commonly underestimates uncertainty because correlated observations contain less independent information.

Question 10

In the illustrative defect-rate case, why was the observed lower rate not sufficient by itself to claim a proven reduction?

A. The estimated rate was exactly equal to the historical rate.

B. The one-sided evidence did not cross the prespecified 5% significance threshold, and sampling assumptions required evaluation.

C. Proportions cannot be tested statistically.

D. A sample of 400 observations can never support inference.

Correct Answer: B. The one-sided evidence did not cross the prespecified 5% significance threshold, and sampling assumptions required evaluation.

Mathematics for Machine Learning
Chapter 7 of 15