ELE 229

Statistical Methods and Data Modeling

TU BBA-F · Semester 7 · BBA-F curriculum (2021 Common Core)

Requirement
elective
Credits
3
Study Guide
5 units available

Chapter notes

Authoritative study guide across 5 syllabus units

Open a unit to read its study notes.

Unit 1: Introductory Statistics· 8 LHs· ~10 marks

Introductory Statistics

Exploratory Data Analysis and Five-Number Summaries

Box and Whisker Plot

A graphical summary of data based on the five-number summary: Minimum, First Quartile (Q1Q_1), Median (Q2Q_2), Third Quartile (Q3Q_3), and Maximum, identifying outliers via 1.5×IQR1.5 \times \text{IQR}.

Mathematical Expectation

The weighted average of all possible values of a random variable XX, where weights are the respective probabilities: E(X)=∑xiP(xi)E(X) = \sum x_i P(x_i).

Skewness and Kurtosis

Skewness measures the asymmetry of a distribution around its mean; kurtosis measures the peakedness and fatness of tails relative to a normal distribution (mesokurtic β2=3\beta_2 = 3).

Financial Data Distribution, Skewness, and Kurtosis Dynamics

Five-Number Summary and Outlier Fences

  1. Quartiles Computation:
    • Interquartile Range (IQR): IQR=Q3−Q1\text{IQR} = Q_3 - Q_1.
    • Lower Inner Fence: LIF=Q1−1.5×IQR\text{LIF} = Q_1 - 1.5 \times \text{IQR}.
    • Upper Inner Fence: UIF=Q3+1.5×IQR\text{UIF} = Q_3 + 1.5 \times \text{IQR}.
    • Any observation falling beyond LIF or UIF is classified as an outlier.
  2. Karl Pearson’s Coefficient of Skewness (SkS_k):
    Sk=Xˉ−Modes=3(Xˉ−Median)sS_k = \frac{\bar{X} - \text{Mode}}{s} = \frac{3(\bar{X} - \text{Median})}{s}
    • If Sk>0S_k > 0: Positively skewed (right tail is longer; Mean >> Median >> Mode).
    • If Sk<0S_k < 0: Negatively skewed (left tail is longer; Mode >> Median >> Mean).

Financial Data Visualization and Correlation Analysis

  • Diagrams and Graphs in Banking and Finance:
    • Time Series Line Graphs: Displaying daily equity index price fluctuations, interest rate spreads, and foreign exchange reserves over time.
    • Histograms & Frequency Polygons: Displaying return distributions, assessing portfolio skewness and fat-tailed kurtosis.
    • Scatter Plots: Plotting asset returns against market benchmark returns to visualize portfolio beta (β\beta).
  • Bivariate Correlation Analysis:
    • Karl Pearson’s Coefficient of Correlation (rr): Quantifies linear association between continuous financial variables (e.g., inflation rate and interest rates):
      r=N∑XY−∑X∑Y[N∑X2−(∑X)2][N∑Y2−(∑Y)2]r = \frac{N \sum XY - \sum X \sum Y}{\sqrt{[N \sum X^2 - (\sum X)^2][N \sum Y^2 - (\sum Y)^2]}}
    • Spearman’s Rank Correlation (ρ\rho): Evaluates monotonic associations for non-parametric or ordinal ranked data (e.g., credit rating tier vs bond yield rank):
      ρ=1−6∑di2N(N2−1)\rho = 1 - \frac{6 \sum d_i^2}{N(N^2 - 1)}

Comparative Analysis of Dispersion and Central Tendency Measures

Measure Mean Median Mode
Sensitivity to Outliers Highly sensitive (pulled by extremes) Robust / resistant to extreme values Completely unaffected by extremes
Algebraic Treatment Capable of algebraic manipulation Cannot be combined algebraically Cannot be combined algebraically
Applicability Continuous, symmetric quantitative data Skewed data, income distributions Categorical, nominal, peak modal data

Five-Number Summary, IQR, and Outlier Detection Computations

Applied Problem: Five-Number Summary and Outlier Detection

Given the quarterly returns (%) of 11 banking stocks: 4,7,8,9,10,12,14,15,18,22,384, 7, 8, 9, 10, 12, 14, 15, 18, 22, 38.

  1. Determine the five-number summary (Min,Q1,Q2,Q3,MaxMin, Q_1, Q_2, Q_3, Max).
  2. Compute the Interquartile Range (IQR) and identify any outliers.

Solution:

Ordered Data (n=11):4,7,8,9,10,12,14,15,18,22,38\text{Ordered Data } (n=11): 4, 7, 8, 9, 10, 12, 14, 15, 18, 22, 38

  • Minimum=4\text{Minimum} = 4
  • Q1=Value of n+14=3rd item=8Q_1 = \text{Value of } \frac{n+1}{4} = \text{3rd item} = 8
  • Q2 (Median)=Value of n+12=6th item=12Q_2 \text{ (Median)} = \text{Value of } \frac{n+1}{2} = \text{6th item} = 12
  • Q3=Value of 3(n+1)4=9th item=18Q_3 = \text{Value of } \frac{3(n+1)}{4} = \text{9th item} = 18
  • Maximum=38\text{Maximum} = 38
IQR=Q3−Q1=18−8=10\text{IQR} = Q_3 - Q_1 = 18 - 8 = 10
Lower Fence=Q1−1.5×IQR=8−15=−7\text{Lower Fence} = Q_1 - 1.5 \times \text{IQR} = 8 - 15 = -7
Upper Fence=Q3+1.5×IQR=18+15=33\text{Upper Fence} = Q_3 + 1.5 \times \text{IQR} = 18 + 15 = 33

Since 38>3338 > 33, the stock return of 38%38\% is an outlier.

Key analytical nuance: they define IQR as (Q3 - Q1)/2 (which is the quartile deviation, not IQR) or neglect to sort the data before finding quartile positions.

Detailed Mathematical Framework: Measures of Central Tendency and Dispersion

In statistical data modeling, summarizing sample distributions requires rigorous calculation of location and dispersion parameters:

  • Arithmetic Mean: Xˉ=∑i=1nXin\bar{X} = \frac{\sum_{i=1}^n X_i}{n} (for ungrouped data) and Xˉ=∑fXN\bar{X} = \frac{\sum f X}{N} (for frequency distributions). Sensitive to extreme values and outliers.
  • Median (MdM_d): Value of the middle observation when data is arranged in ascending order. Positional measure: Position=n+12\text{Position} = \frac{n+1}{2}. Unaffected by extreme outliers.
  • Sample Variance (s2s^2) and Standard Deviation (ss):
    s2=∑i=1n(Xi−Xˉ)2n−1,s=s2s^2 = \frac{\sum_{i=1}^n (X_i - \bar{X})^2}{n - 1}, \quad s = \sqrt{s^2}
    Division by n−1n-1 (Bessel’s correction) provides an unbiased estimator of the true population variance σ2\sigma^2.
  • Coefficient of Variation (CV):
    CV=sXˉ×100%\text{CV} = \frac{s}{\bar{X}} \times 100\%
    Used in financial analysis to compare relative risk and volatility between securities with different price levels or units of measurement. The distribution with a lower CV is more consistent and stable.

Chebyshev’s Theorem vs. The Empirical Rule

  1. Chebyshev’s Theorem: Applies to any probability distribution regardless of shape. For any constant k>1k > 1, the proportion of values that lie within kk standard deviations of the mean is at least:
    P(∣X−μ∣<kσ)≥1−1k2P(|X - \mu| < k\sigma) \ge 1 - \frac{1}{k^2}
    For k=2k = 2, at least 75%75\% (1−1/41 - 1/4) of values lie within μ±2σ\mu \pm 2\sigma. For k=3k = 3, at least 88.89%88.89\% (1−1/91 - 1/9) lie within μ±3σ\mu \pm 3\sigma.
  2. Empirical Rule (68-95-99.7 Rule): Applies strictly to symmetric, bell-shaped Normal Distributions:
    • Approximately 68.27%68.27\% of observations lie within μ±1σ\mu \pm 1\sigma.
    • Approximately 95.45%95.45\% of observations lie within μ±2σ\mu \pm 2\sigma.
    • Approximately 99.73%99.73\% of observations lie within μ±3σ\mu \pm 3\sigma.