Lecture 01 — Basic Concepts & Foundations

Three Meanings of “Statistics”
Definition (Croxton & Cowden): Statistics is the science of collection, presentation, analysis, and interpretation of numerical data.
The Statistical Process

There are many sampling techniques: simple random, stratified, cluster, systematic, etc.
| Aspect | Probability | Statistics |
|---|---|---|
| Direction | Population → Sample (deductive) | Sample → Population (inductive) |
| Known | Population parameters | Sample data |
| Unknown | Sample outcomes | Population parameters |
| Question | “Given the model, what data?” | “Given the data, what model?” |

The statistical workflow involves five stages:
Population — The complete set of items/events of interest Sample — Any subset of the population

| Type | Description | Examples |
|---|---|---|
| Finite | Countable, limited size | Students in a classroom, books in a library, employees in a company |
| Infinite | Uncountable, unlimited | Stars in the sky, outcomes of infinite coin flips, water molecules in the ocean |
| Concept | Description | Examples |
|---|---|---|
| Variable | Characteristic that varies across units | Income, height, GPA, die roll result |
| Random Variable | Variable whose value depends on chance | Result of a die throw, number of heads in 10 flips |
| Constant | Fixed, unchanging value | \(\pi\), \(e\), speed of light in vacuum |
Note: “Name of students” is a label (qualitative variable), not a constant.
| Type | Also Called | Values | Examples |
|---|---|---|---|
| Qualitative (Categorical) | Non-numeric | Categories, labels | Gender, religion, blood type, color |
| Quantitative (Numerical) | Numeric | Numbers with magnitude | Income, temperature, height, GPA |
| Type | Description | Examples |
|---|---|---|
| Discrete | Countable, gaps between values | Number of children, die roll, defect count |
| Continuous | Any value in an interval | Height, weight, temperature, time |
Describes the nature of information within the values assigned to a variable.
| Scale | Properties | Operations | Examples |
|---|---|---|---|
| Nominal | Categories only, no order | \(=, \neq\) | Gender, religion, blood type, street #, room # |
| Ordinal | Categories with order | \(=, \neq, <, >\) | Rating (poor–excellent), income group, education level |
| Interval | Order + equal intervals, no true zero | \(=, \neq, <, >, +, -\) | Temperature (°C/°F), dates (AD), IQ scores, Cartesian coordinates |
| Ratio | Order + equal intervals + true zero | All arithmetic | Height, weight, income, distance, radius, diameter |
Key distinction: Interval scales lack a true zero (0°C ≠ “no temperature”); ratio scales have meaningful zero (0 kg = no mass).
Classify each variable:
| Variable | Scale | Reason |
|---|---|---|
| Gender | Nominal | Categories, no order |
| Religion | Nominal | Categories, no order |
| Temperature (°C) | Interval | Equal intervals, no true zero |
| Income group (Lower, Middle, High) | Ordinal | Ordered categories |
| Income ($) | Ratio | True zero, all operations valid |
| Distance of stars | Ratio | True zero, measurable |
| Radius of screws | Ratio | True zero, measurable |
| Diameter of trees | Ratio | True zero, measurable |
| Room number | Nominal | Label only, no magnitude |
| Data | Correct Scale | Why |
|---|---|---|
| Poor, Bad, Good, Excellent | Ordinal | Ordered categories |
| Scale of −10 to 10: −10, −2, 0, 5, 10 | Interval | Equal intervals, arbitrary zero |
| Awesome, Amazing, Mind-blowing, Stunning | Ordinal | Ordered by intensity |
| Scale of 0 to 10: 0, 5, 8, 10 | Ratio | True zero, equal intervals |
⚠️ Common mistake: “Poor–Excellent” is ordinal (not ratio); “Awesome–Stunning” is ordinal (not nominal).
Multiplication/division are not meaningful on interval scales:
For more: Wikipedia — Level of measurement · Stat Mania discussion

Given data \(x_1, x_2, \dots, x_n\):
| Transformation | Formula | Effect |
|---|---|---|
| Origin shift | \(y_i = x_i \pm a\) | Adds/subtracts constant |
| Scale shift | \(y_i = b \cdot x_i\) or \(x_i / b\) | Multiplies/divides by constant |
| Both (standardization) | \(y_i = \frac{x_i - a}{b}\) | Center & scale (e.g., z-scores) |
Why? To compare variables on different scales, simplify calculations, or meet model assumptions.
\[\sum_{i=1}^n x_i = x_1 + x_2 + \cdots + x_n\]
Examples: - \(\sum_{i=1}^4 x_i = x_1 + x_2 + x_3 + x_4\) - \(\sum_{i=1}^{10} x_i = x_1 + x_2 + \cdots + x_{10}\) - \(\sum_{i=1}^n a = n a\) (summing a constant \(n\) times)
\[\sum_{i=1}^n b x_i = b \sum_{i=1}^n x_i\]
\[\sum_{i=1}^n (a x_i - b) = a \sum_{i=1}^n x_i - n b\]
\[\sum_{i=1}^n (a x_i^2 - b x_i + c) = a \sum_{i=1}^n x_i^2 - b \sum_{i=1}^n x_i + n c\]
\[\sum_{i=1}^n (a x_i - b y_i) = a \sum_{i=1}^n x_i - b \sum_{i=1}^n y_i\]
\[\sum_{i=1}^n (a x_i - b)^2 = a^2 \sum_{i=1}^n x_i^2 - 2ab \sum_{i=1}^n x_i + n b^2\]
\[\left(\sum_{i=1}^n x_i\right)^2 = \sum_{i=1}^n x_i^2 + 2\sum_{i < j} x_i x_j\] > Key: \((\sum x_i)^2 \neq \sum x_i^2\) (cross-product terms!)
\[\prod_{i=1}^k x_i = x_1 \times x_2 \times \cdots \times x_k\]
\[\prod_{i=1}^k (x_i y_i) = \left(\prod_{i=1}^k x_i\right)\left(\prod_{i=1}^k y_i\right)\]
\[\prod_{i=1}^n c = c^n\]
Given \(X = \{20, 25, 15\}\), \(Y = \{15, 30, 20\}\):
\[\sum_{i=1}^3 \sum_{j=1}^3 x_i y_j = (20+25+15)(15+30+20) = 60 \times 65 = 3900\]
Row-by-row expansion: - Row 1 (\(x_1=20\)): \(20(15+30+20) = 1300\) - Row 2 (\(x_2=25\)): \(25(15+30+20) = 1625\) - Row 3 (\(x_3=15\)): \(15(15+30+20) = 975\) - Total: \(3900\)
Theorem 9: \(\displaystyle \sum_{i=1}^m \sum_{j=1}^n (x_i + y_j) = n\sum_{i=1}^m x_i + m\sum_{j=1}^n y_j\)
Theorem 10: \(\displaystyle \sum_{i=1}^m \sum_{j=1}^n x_i y_j = \left(\sum_{i=1}^m x_i\right)\left(\sum_{j=1}^n y_j\right)\)
Given \(f_1=2, f_2=4, f_3=6\) and \(x_1=-3, x_2=7, x_3=4\), find: - i. \(\sum f_i x_i\) - ii. \(\sum f_i x_i^2\) - iii. \(\sum f_i (x_i - 5)^2\)
Find \(\sum_{i=1}^{10} (x_i - 4)\) given \(\sum_{i=1}^{10} x_i = 20\).
Prove: \(\sum_{i=1}^k ab x_i = ab \sum_{i=1}^k x_i\)
Prove: \(\prod_{i=1}^n c = c^n\)
Given \(\sum_{i=1}^{10} x_i = 20\) and \(\sum_{i=1}^{10} x_i^2 = 400\), find \(\sum_{i=1}^{10} (x_i^2 + 5x_i + 10)\).
With \(X = \{20, 25\}\), \(Y = \{15, 30\}\): - i. Show \(\sum X_i^2 \neq (\sum X_i)^2\) - ii. Show \(\sum X_i Y_i \neq \sum\sum X_i Y_j\)
See the question bank: STAT1 Creative Questions
| Income (\(x\)) | 120 | 130 | 88 | 150 | 175 | 144 | 180 | 200 | 160 | 155 |
|---|---|---|---|---|---|---|---|---|---|---|
| Expense (\(y\)) | 80 | 120 | 70 | 100 | 160 | 114 | 170 | 195 | 140 | 131 |
Prove: 1. \(\displaystyle \sum_{i=1}^{10}\sum_{j=1}^{10} x_i y_j = \left(\sum_{i=1}^{10} x_i\right)\left(\sum_{j=1}^{10} y_j\right)\) 2. \(\displaystyle \sum_{i=1}^{10}\sum_{j=1}^{10} (x_i - y_j) = 10\sum_{i=1}^{10} x_i - 10\sum_{j=1}^{10} y_j\) 3. \(\displaystyle \sum_{i=1}^{10} x_i y_i \neq \left(\sum_{i=1}^{10} x_i\right)\left(\sum_{i=1}^{10} y_i\right)\)
Thank You! 🎓
Questions?

www.statmania.info | Abdullah Al Mahmud | Press space or arrow to change slides