Statistical Foundations for AnalyticsIntroductionBusiness analytics converts observations into evidence for decisions. Statistical foundations provide the language and methods needed to describe data, quantify uncertainty, identify relationships, and evaluate claims. A dashboard may show that sales increased, a predictive model may estimate future demand, and an experiment may compare two marketing campaigns; in each case, statistical reasoning determines whether the apparent pattern is reliable, how large it is, and whether it matters operationally. Statistics does not eliminate uncertainty. Instead, it makes uncertainty explicit. Good analysts distinguish a description of observed data from an inference about a wider population, association from causation, and statistical significance from practical importance. Learning ObjectivesBy the end of this chapter, you should be able to: - distinguish populations, samples, parameters, and statistics;
- calculate and interpret common summary statistics and measures of spread;
- explain probability, conditional probability, and important probability distributions;
- describe sampling methods and sources of sampling error and bias;
- construct and interpret confidence intervals;
- interpret correlation without confusing it with causation;
- formulate hypotheses and understand statistical significance and practical significance;
- recognize common analytical fallacies and communicate results responsibly.
1. Populations, Samples, Parameters, and StatisticsA population is the complete set of units relevant to a question, such as all customers who purchased from a firm during a year. A sample is a subset observed for analysis. A parameter is a numerical characteristic of a population, while a statistic is a numerical characteristic calculated from a sample. For observations x₁, x₂, …, xₙ, the sample mean is: x̄ = (1/n) ∑ᵢ₌₁ⁿ xᵢ Here, x̄ is the sample mean, xᵢ is observation i, and n is sample size. The population mean is commonly denoted by μ. The sample mean is often used to estimate μ. The distinction matters because a sample statistic varies from sample to sample. This variation is called sampling variability. Statistical inference uses probability to express how much confidence should be placed in conclusions drawn from a sample. Variables may be quantitative, such as revenue, delivery time, or age, or categorical, such as region, product type, or subscription status. Quantitative variables may be discrete, taking countable values, or continuous, taking values on an interval. Measurement scales—nominal, ordinal, interval, and ratio—determine which summaries and operations are meaningful. 2. Describing Data: Centre, Position, and SpreadMeasures of central tendencyThe mean uses every observation and is useful for roughly symmetric data without extreme values. The median is the middle ordered value; when n is even, it is the average of the two central values. The median is more resistant to outliers. The mode is the most frequently occurring value and is particularly useful for categorical data. For example, suppose five delivery times are 2, 3, 3, 4, and 13 minutes. The mean is: x̄ = (2 + 3 + 3 + 4 + 13)/5 = 5 minutes The median is 3 minutes. The large value 13 substantially increases the mean, so the median may better represent a typical delivery time. Measures of positionA percentile is a value below which a specified percentage of observations falls. The 90th percentile of delivery time, for example, describes a threshold met by approximately 90% of deliveries. Quartiles divide ordered data into four sections: Q₁ is the 25th percentile, Q₂ is the median, and Q₃ is the 75th percentile. The interquartile range is: IQR = Q₃ − Q₁ It describes the spread of the middle 50% of observations and is less affected by extreme values than the range. Measures of dispersionThe range is maximum minus minimum. The sample variance is: s² = [∑ᵢ₌₁ⁿ (xᵢ − x̄)²]/(n − 1) The sample standard deviation is: s = √s² The denominator n − 1, called the degrees-of-freedom correction, is used when sample variance estimates population variance. If the data comprise the entire population rather than a sample, population variance uses denominator N: σ² = [∑ᵢ₌₁ᴺ (xᵢ − μ)²]/N Variance is expressed in squared units; standard deviation has the same units as the original variable. A coefficient of variation can compare relative dispersion when values are positive and a meaningful zero exists: CV = s/x̄ It is often reported as a percentage, 100 × CV, but it becomes unstable when the mean is near zero. Shape and outliersA distribution may be symmetric, right-skewed, or left-skewed. Right-skewed business variables—income, transaction value, and waiting time—often have means greater than medians. Outliers may represent errors, rare but valid events, fraud, or a change in process. They should not be removed automatically. Analysts should investigate their origin, document treatment, and assess sensitivity of conclusions. 3. Probability and Conditional ReasoningProbability measures uncertainty from 0 to 1. For an event A, the complement is Aᶜ and: P(Aᶜ) = 1 − P(A) For events A and B, the addition rule is: P(A ∪ B) = P(A) + P(B) − P(A ∩ B) The intersection term prevents double-counting cases in both events. If A and B are mutually exclusive, P(A ∩ B) = 0. Conditional probability is: P(A|B) = P(A ∩ B)/P(B) provided P(B) > 0. It represents the probability of A among cases where B has occurred. Events are independent when: P(A ∩ B) = P(A)P(B) Independence is stronger than merely being mutually exclusive; nontrivial mutually exclusive events are generally not independent. Bayes’ theorem reverses conditional probabilities: P(A|B) = [P(B|A)P(A)]/P(B) This is important in fraud detection, medical screening, credit scoring, and classification. A positive test does not automatically imply that the condition is likely; the base rate P(A) must also be considered. Expected value and varianceFor a discrete random variable X with possible values xᵢ and probabilities pᵢ: E(X) = ∑ xᵢpᵢ where ∑pᵢ = 1. Expected value is a long-run average, not necessarily an outcome that will actually occur. Variance measures expected squared deviation from the mean: Var(X) = E[(X − μ)²] where μ = E(X). 4. Probability Distributions Used in AnalyticsA probability distribution describes the possible values of a random variable and their probabilities. Bernoulli and binomial distributionsA Bernoulli variable records one trial with two outcomes, often coded 1 for success and 0 for failure. If the success probability is p, its mean is p and its variance is p(1 − p). The binomial distribution counts successes in n independent Bernoulli trials with constant success probability p: P(X = k) = C(n,k)pᵏ(1 − p)ⁿ⁻ᵏ where k = 0, 1, …, n and C(n,k) is the number of ways to choose k successes. The assumptions—fixed n, two outcomes, constant p, and independence—must be considered before applying it. Normal distributionThe normal distribution is continuous, symmetric, and determined by mean μ and standard deviation σ. Its density is: f(x) = [1/(σ√(2π))]e−(x−μ)²/(2σ²) where σ > 0. A standardized value, or z-score, is: z = (x − μ)/σ A z-score indicates how many standard deviations an observation lies above or below the mean. The empirical rule states that approximately 68%, 95%, and 99.7% of normally distributed observations lie within 1, 2, and 3 standard deviations of the mean, respectively. These are approximations, not universal rules for every dataset. Sampling distributions and the central limit theoremA sampling distribution is the distribution of a statistic over repeated samples. Under appropriate conditions, the central limit theorem states that the sampling distribution of the sample mean becomes approximately normal as sample size increases, even when individual observations are not normal. For independent observations with population standard deviation σ: SE(x̄) = σ/√n When σ is unknown, it is estimated by s, giving s/√n. The theorem does not excuse severe dependence, extreme data problems, or very small samples. 5. Sampling and Data QualityA probability sample gives units a known, nonzero chance of selection. Simple random sampling selects units by chance. Stratified sampling divides the population into relevant groups and samples within each group. Cluster sampling selects naturally occurring groups, often reducing cost but potentially increasing sampling variability. Systematic sampling selects every kth unit after a random start. Nonprobability methods—including convenience, voluntary-response, and some quota samples—may be useful operationally but do not automatically support population-level inference. Important error sources include: - coverage error: some population members cannot be selected;
- nonresponse bias: selected units differ from those who respond;
- measurement error: the recorded value differs from the true value;
- selection bias: inclusion depends on characteristics related to the outcome;
- sampling error: random samples differ from the population by chance.
Larger samples generally reduce sampling error, but they do not correct systematic bias. A huge biased sample can produce a very precise estimate of the wrong quantity. 6. Confidence IntervalsA confidence interval combines a point estimate with a margin of error. A general form is: estimate ± critical value × standard error For a population mean when the population standard deviation is unknown, a t interval is commonly used: x̄ ± tα/2,n−1(s/√n) Here α is the total error probability, 1 − α is the confidence level, t_{α/2,n−1} is the relevant t critical value with n − 1 degrees of freedom, s is sample standard deviation, and n is sample size. The method assumes an appropriate random or representative sample and, for small samples, a population that is reasonably close to normal. Independence is also important. A 95% confidence procedure means that, over many repetitions using the same valid procedure, approximately 95% of intervals would contain the fixed population parameter. It is not technically correct to say that the parameter has a 95% probability of lying in one already-computed frequentist interval. Worked example: mean service timeA random sample of 25 service requests has mean completion time 42 minutes and standard deviation 10 minutes. For a 95% interval, the standard error is: SE = 10/√25 = 2 minutes With 24 degrees of freedom, t₀.₀₂₅,₂₄ is approximately 2.064. The margin of error is: 2.064 × 2 = 4.128 minutes Thus the interval is approximately: 42 ± 4.128 = (37.872, 46.128) minutes Rounded appropriately, the estimated population mean is between 37.9 and 46.1 minutes under the stated assumptions. The interval describes uncertainty from sampling; it does not account automatically for systematic measurement or coverage error. Confidence intervals for proportions often use a large-sample approximation, but that approximation can perform poorly with small samples or proportions near 0 or 1. Wilson or exact methods may be preferable in such cases. 7. Correlation and AssociationCovariance describes whether two variables tend to move together: sxy = [∑(xᵢ − x̄)(yᵢ − ȳ)]/(n − 1) Pearson’s sample correlation is: r = sxy/(sₓsᵧ) where sₓ and sᵧ are sample standard deviations. The value of r lies between −1 and +1. Positive values indicate that larger values of one variable tend to accompany larger values of the other; negative values indicate an opposite tendency. Values near zero indicate weak linear association, not necessarily no relationship. Correlation is sensitive to outliers and measures linear association. A curved relationship may have a correlation near zero. Restricted ranges can reduce observed correlation, while aggregation can create or conceal relationships. A scatterplot should accompany numerical correlation. Correlation does not establish causation. Confounding, reverse causality, selection effects, and coincidence may explain an association. Causal claims require stronger designs, such as randomized experiments, or carefully justified observational methods. 8. Statistical Inference and Hypothesis TestingA hypothesis test evaluates data against a null hypothesis H₀ and an alternative hypothesis H₁. The null often represents no difference or no association. A test statistic measures how far the observed result is from what H₀ predicts. The p-value is the probability, assuming H₀ is true and the analysis model is appropriate, of observing a result at least as extreme as the one obtained. A small p-value is evidence against H₀; it is not the probability that H₀ is true, nor is it the probability that the result occurred by chance in a vague everyday sense. The significance level α is a pre-specified threshold, often 0.05. Rejecting H₀ when it is true is a Type I error. Failing to reject H₀ when a meaningful effect exists is a Type II error. Statistical power is the probability of detecting a specified effect under a specified alternative; it generally increases with larger samples, larger effects, lower variability, and higher α. A two-sided test considers departures in either direction. A one-sided test is justified only when effects in the opposite direction are irrelevant to the research question and the direction was specified in advance. Statistical versus practical significanceStatistical significance depends partly on sample size. With a very large sample, a tiny and operationally irrelevant effect may have a small p-value. With a small sample, an important effect may fail to reach conventional significance. Decisions should therefore consider effect size, confidence interval, costs, benefits, risks, and domain context. For a difference in means, report the estimated difference and its interval, not only a p-value. For example, a new interface reducing average checkout time by 0.2 seconds may be statistically significant but practically unimportant, whereas a 5% reduction in failed payments may be commercially substantial even if uncertainty remains. Multiple testing increases the probability of false positives. If many hypotheses are tested, analysts should pre-specify primary outcomes, control the familywise error rate where appropriate, or use false-discovery-rate procedures. Post hoc subgroup findings should be labeled exploratory and validated on new data. 9. Common Analytical FallaciesConfusing correlation with causation: two variables may move together because of a third variable or reverse causality. Base-rate neglect: interpreting a positive classification without considering the prevalence of the condition. Survivorship bias: analyzing only entities that remain visible while ignoring failures or exits. Simpson’s paradox: an association in aggregated data reverses or disappears after grouping by a confounding variable. Ecological fallacy: attributing a group-level relationship to individuals. Post hoc reasoning: treating an outcome as expected because it was observed, or selecting an explanation after seeing the data. p-hacking and HARKing: trying many specifications or forming hypotheses after inspecting results without transparent disclosure. Regression to the mean: unusually high or low observations tend to be followed by less extreme observations when measurements contain random variation. This can make an intervention appear effective even when it caused no change. Cherry-picking and misleading visualization: reporting only favorable periods, categories, or axes can distort interpretation. Analysts should show denominators, uncertainty, missing data, and relevant comparisons. 10. Applied Case: Evaluating a Customer-Service InterventionThe following is an illustrative case. Background and problemA retailer introduces a revised service script at 20 randomly selected stores and compares customer satisfaction with 20 control stores using the existing script. Satisfaction is measured on a 0–100 scale after the intervention. Management wants to know whether the script improves satisfaction sufficiently to justify rollout. AnalysisThe intervention stores have a mean score of 84.0, while control stores have a mean of 81.5. The estimated difference is 2.5 points. Analysts construct a confidence interval for the difference and report a p-value from an appropriate two-sample procedure. They also examine store size, region, baseline satisfaction, response rates, and missing surveys. Suppose the 95% confidence interval for the difference is (0.4, 4.6) points and the p-value is 0.02. The result is statistically significant at the 5% level. However, the organization must define a practical threshold. If management considers at least 3 points operationally meaningful, the interval includes effects below that threshold, so the evidence supports a positive effect but leaves uncertainty about whether it meets the business standard. Approach and solutionThe analysts should verify random assignment, compare baseline measures, assess whether stores—not individual surveys—are the independent experimental units, and account for clustering if many responses come from each store. They should report the estimated effect, interval, response rate, implementation cost, and any adverse effects. A follow-up period can test whether the improvement persists. Outcome and learning pointsThe correct decision is not simply “p < 0.05, therefore roll out.” Management should weigh the plausible effect range against implementation cost and customer value. If the intervention is inexpensive and reversible, a staged rollout with continued measurement may be appropriate. The case illustrates that experimental design supports causal inference, while confidence intervals and practical thresholds support responsible decisions. 11. Best Practices, Governance, and Contemporary AnalyticsA defensible analysis begins with a clearly defined estimand: the precise quantity to be estimated, for which population, over what period, and under what intervention or condition. Analysts should preserve data dictionaries, record transformations, pre-specify major outcomes where possible, and maintain reproducible code and versioned datasets. Data governance requires attention to privacy, consent, access control, retention, and fairness. Sensitive variables may be necessary for auditing disparate outcomes, but their collection and use must be lawful and proportionate. Automated systems should be tested for subgroup performance, proxy discrimination, measurement differences, and feedback loops. Statistical uncertainty should be communicated to decision-makers rather than hidden behind dashboards or model scores. Modern tools can calculate distributions, intervals, resampling estimates, and simulations quickly. Bootstrapping repeatedly resamples observed data to approximate the sampling distribution of a statistic and can be useful when analytic formulas are difficult, although it cannot repair biased data. AI-assisted analysis can help generate code or identify patterns, but analysts remain responsible for validating assumptions, checking calculations, protecting confidential data, and documenting decisions. Reproducibility and independent review are especially important when automated tools are used. Chapter SummaryStatistical foundations enable analysts to describe data, quantify variation, and make reasoned inferences. Means, medians, percentiles, variance, standard deviation, and the interquartile range summarize centre and spread, but their usefulness depends on distributional shape and outliers. Probability rules and Bayes’ theorem support conditional reasoning, while Bernoulli, binomial, normal, and sampling distributions provide models for uncertainty. Sampling quality determines whether inference is credible. Confidence intervals express estimation uncertainty, and hypothesis tests evaluate evidence against a null model. P-values do not measure effect importance or prove hypotheses. Correlation describes linear association but does not establish causation. Sound decisions require effect sizes, uncertainty intervals, practical thresholds, domain costs, and transparent consideration of bias. Ethical analytics further requires privacy protection, fairness assessment, reproducibility, and honest communication. Key TermsPopulation: Complete set of units relevant to a study. Sample: Subset of a population that is observed. Parameter: Numerical characteristic of a population. Statistic: Numerical characteristic calculated from a sample. Mean: Arithmetic average of quantitative observations. Median: Middle value of ordered observations. Standard deviation: Measure of spread in the original units of a variable. Variance: Average squared deviation from the mean. Percentile: Value below which a specified percentage of observations falls. Interquartile range: Difference between the third and first quartiles. Conditional probability: Probability of an event given another event. Independence: Condition in which occurrence of one event does not change the probability of another. Random variable: Variable whose value is determined by a random process. Sampling distribution: Distribution of a statistic over repeated samples. Confidence interval: Estimate together with a range produced by a specified confidence procedure. Null hypothesis: Default claim evaluated by a statistical test. p-value: Probability, under the null model, of a result at least as extreme as observed. Statistical significance: Evidence judged unusual under a specified null hypothesis and threshold. Practical significance: Importance of an effect for real-world decisions. Confounding: Distortion caused by a variable related to both an explanatory factor and an outcome. Review Questions5 Short Answer Questions- Distinguish a population parameter from a sample statistic.
- Why might the median be preferable to the mean for a highly skewed variable?
- State the addition rule for two events and explain why the intersection is subtracted.
- What does a 95% confidence procedure mean in repeated sampling?
- Why does correlation not by itself establish causation?
5 Long Answer Questions- Explain how mean, median, standard deviation, and interquartile range provide complementary information about a dataset.
- Describe the assumptions of the binomial distribution and give a business example where they may be reasonable.
- Explain sampling error, coverage error, nonresponse bias, and measurement error, using examples.
- Compare statistical significance with practical significance and explain why both matter in managerial decisions.
- Discuss how p-hacking, multiple testing, and selective reporting can undermine the credibility of analytics.
3 Analytical / Application Questions- A firm reports a strong positive correlation between advertising expenditure and sales. Identify at least three reasons why this finding may not demonstrate that advertising caused the sales increase, and propose a stronger design.
- A fraud-screening system flags 95% of fraudulent transactions but also flags 10% of legitimate transactions. Explain why the fraud base rate is needed to interpret a flagged case and use Bayes’ theorem conceptually to describe the calculation.
- An A/B test finds that a redesigned webpage increases conversion by 0.3 percentage points with p = 0.01. Evaluate what additional information management should request before adopting the design, including uncertainty, effect size, cost, implementation risk, and possible subgroup effects.
Multiple Choice Questions with AnswersQuestion 1Which measure is generally most resistant to an extreme outlier? A. Mean B. Median C. Variance D. Range Correct Answer: B. Median Question 2For two events A and B, which expression correctly gives their union probability? A. P(A) + P(B) B. P(A)P(B) C. P(A) + P(B) − P(A ∩ B) D. P(A|B) + P(B|A) Correct Answer: C. P(A) + P(B) − P(A ∩ B) Question 3A sample contains 25 observations with standard deviation 10. What is the estimated standard error of the sample mean? A. 0.4 B. 2 C. 10 D. 50 Correct Answer: B. 2 Question 4What does a p-value represent, assuming the null hypothesis and model are correct? A. The probability that the null hypothesis is true B. The probability that the result occurred without any cause C. The probability of a result at least as extreme as observed D. The probability that the alternative hypothesis is true Correct Answer: C. The probability of a result at least as extreme as observed Question 5Which condition is required for the standard binomial model? A. The trials must have different success probabilities B. The trials must be independent with a constant success probability C. The outcome must be continuous D. The sample mean must equal zero Correct Answer: B. The trials must be independent with a constant success probability Question 6A correlation of approximately zero proves that two variables are unrelated in every possible way. A. True because correlation measures all relationships B. True because zero correlation implies independence C. False because correlation measures linear association and may miss nonlinear relationships D. False because correlation can only be positive Correct Answer: C. False because correlation measures linear association and may miss nonlinear relationships Question 7Which statement best describes a 95% confidence interval under repeated sampling? A. There is a 95% probability that the fixed parameter lies in this particular interval B. Approximately 95% of intervals constructed by the procedure would contain the parameter C. 95% of observations lie inside the interval D. The null hypothesis has a 95% probability of being true Correct Answer: B. Approximately 95% of intervals constructed by the procedure would contain the parameter Question 8Increasing sample size generally reduces the standard error of a sample mean because the standard error is proportional to: A. n B. n² C. 1/√n D. √n Correct Answer: C. 1/√n Question 9An effect can be statistically significant but practically unimportant primarily because: A. Large samples can detect very small effects B. P-values measure financial value directly C. Confidence intervals ignore sample size D. Statistical tests cannot use numerical data Correct Answer: A. Large samples can detect very small effects Question 10Which fallacy occurs when a group-level relationship is incorrectly applied to individuals? A. Survivorship bias B. Ecological fallacy C. Regression to the mean D. Base-rate neglect Correct Answer: B. Ecological fallacy
|