Lesson 1
Mean, Median and Measures of Dispersion
Before calculating the arithmetic mean, identify the type of series: individual, discrete or continuous. Then choose a method (direct, shortcut or step deviation) and apply its formula; every method gives the same answer. The lesson also covers combined and weighted means, converting less-than/more-than data, finding a missing frequency and correcting a mean.
Types of series
- Individual series: only x values are given, with no frequencies.
- Discrete series: x values and their frequencies f are given.
- Continuous series: x is given as class intervals (e.g. 0-10, 10-20) along with frequencies.
- Frequency: the number of times a value is repeated.
Simple arithmetic mean formulas (7 in total)
- Individual series, direct method: x̄ = Σx / n.
- Individual series, shortcut method: x̄ = A + Σd / n, where d = x - A and A is the assumed mean.
- Discrete series, direct method: x̄ = Σfx / Σf.
- Discrete series, shortcut method: x̄ = A + Σfd / Σf.
- Continuous series, direct method: x̄ = Σfm / Σf, where m is the mid-value of each class.
- Continuous series, shortcut method: x̄ = A + Σfd / Σf, where d = m - A.
- Continuous series, step deviation method: x̄ = A + (Σfd' / Σf) × i, where d' = d / i and i is the class width.
- Choosing A: strike off values from the top and bottom alternately; the middle value is A. In a continuous series, use the middle mid-value.
- All methods give the same mean. Use the method named in the question; otherwise use any, with step deviation being the quickest for continuous series.
Combined and weighted mean
- Combined mean: x̄12 = (n1x̄1 + n2x̄2) / (n1 + n2).
- Example: 25 workers and 35 female workers with given mean heights give a combined mean of 59.2.
- Weighted mean: x̄w = Σwx / Σw, used when each value has a weight w.
Special question types
- Less-than cumulative data: keep the first frequency as it is, then subtract consecutive cumulative values (e.g. 49 - 41 = 8).
- More-than cumulative data: keep the last frequency as it is, then subtract consecutive cumulative values.
- Missing frequency: call the unknown 'a', use the direct method with the given mean, and solve for a.
- Correcting a mean: wrong Σx = n × wrong mean; correct Σx = wrong Σx - wrong values + correct values; correct mean = correct Σx / n.
- Classes may have unequal widths, which must be handled carefully.
Worked example
- Pocket allowance of 10 students: Σx = 340 and n = 10, so the mean is ₹34.
- The shortcut method with A = 40 gives the same answer, 34.
Median and dispersion (must-cover points; not shown in the watched segment)
- Median: the middle value of the data arranged in order; for n values it is the ((n+1)/2)th item.
- Dispersion measures how spread out values are, e.g. range, mean deviation and standard deviation.
Key terms
- Individual series
- Data with only x values and no frequencies.
- Discrete series
- Data with separate x values and their frequencies.
- Continuous series
- Data with class intervals and frequencies.
- Assumed mean (A)
- A convenient value chosen to simplify calculation of deviations.
- Deviation (d)
- The difference d = x - A, or m - A for a continuous series.
- Class width (i)
- The length of a class interval, used in the step deviation method.
- Combined mean
- The mean of two or more groups taken together.
- Weighted mean
- A mean in which each value is multiplied by its weight: Σwx / Σw.
Lesson 2
Probability Rules with Solved Examples
The addition rule gives P(A or B), and the multiplication rule, derived from conditional probability, gives P(A and B). Special cases apply for mutually exclusive events and independent events, and a worked course-enrolment example applies all of these rules.
Addition rule
- P(A ∪ B) = P(A) + P(B) - P(A ∩ B); this formula always works.
- Mutually exclusive events: P(A ∩ B) = 0, so P(A ∪ B) = P(A) + P(B).
Conditional probability and the multiplication rule
- P(A|B) = P(A ∩ B) / P(B).
- P(A ∩ B) = P(A|B) × P(B) = P(B|A) × P(A).
- 'A and B' means the two events occur at the same time, so P(A and B) = P(B and A).
Independent events
- Independence means P(A|B) = P(A) and P(B|A) = P(B).
- For independent events, P(A ∩ B) = P(A) × P(B).
Worked example
- Given: P(algebra) = 0.3, P(biology) = 0.7, P(algebra | biology) = 0.4.
- Both courses: 0.4 × 0.7 = 0.28.
- Either course: 0.3 + 0.7 - 0.28 = 0.72.
- Not independent, because P(A|B) = 0.4 ≠ P(A) = 0.3.
- Not mutually exclusive, because P(A ∩ B) = 0.28 ≠ 0.
Key terms
- Addition rule
- P(A or B) = P(A) + P(B) - P(A and B).
- Conditional probability
- P(A|B) = P(A and B) / P(B).
- Multiplication rule
- P(A and B) = P(A|B) × P(B).
- Mutually exclusive
- Events that cannot occur together, so P(A and B) = 0.
- Independent events
- Events where one does not affect the other, so P(A|B) = P(A).
Lesson 3
Binomial, Poisson and Normal Distributions
The binomial distribution gives the probability of x successes in n independent trials using P(X=x) = nCx p^x q^(n-x). The Poisson distribution, P(X=r) = e^(-m) m^r / r!, is used when n is large and p is very small, with mean = variance = m = np. The normal distribution is used when a question mentions it or for continuous, bell-shaped data.
Binomial distribution
- Formula: P(X=x) = nCx p^x q^(n-x), where p + q = 1.
- Coin questions: p = q = 1/2.
- Percentages give p directly: 20% defective means p = 20/100 = 0.2, so q = 0.8.
- n = number of times the action is performed (tosses, draws, items sampled).
- For 'how many' questions, multiply the probability by the total N given in the question.
- Mean = np and variance = npq.
Computing nCr quickly
- nC0 = nCn = 1 and nC1 = n.
- nCr: multiply r numbers stepping down from n, then divide by r!. For example, 10C3 = (10×9×8)/(3×2×1) = 120.
- nCr = nC(n-r), so 10C7 = 10C3 and 5C4 = 5C1 = 5.
At least, at most, exactly
- 'At least k' means X ≥ k. Sum P(k) + P(k+1) + ... up to P(n).
- 'At most k' means X ≤ k. Sum P(0) + P(1) + ... up to P(k).
- 'More than k' starts the sum at k+1.
- 'Exactly k' means compute P(X=k) only.
- Worked example: a coin is tossed 5 times. P(3 heads) = 5C3 (1/2)^5 = 10/32 = 5/16 ≈ 0.3125.
- Same coin: P(at least 4 heads) = P(4) + P(5) = 5/32 + 1/32 = 6/32 = 3/16 = 0.1875.
- Bolt example (p = 0.2, n = 4): P(X ≤ 2) = 4C0(0.8)^4 + 4C1(0.2)(0.8)^3 + 4C2(0.2)^2(0.8)^2.
Poisson distribution
- Formula: P(X=r) = e^(-m) m^r / r!.
- Mean = variance = m = np. 'Average' in a question also means the mean m.
- Use Poisson when n is large and p is tiny (e.g. 0.005), when the question mentions Poisson, or when values of e^(-m) are supplied.
- Example: n = 200 and p = 0.005 give m = 1, so P(exactly 3) = e^(-1)·1^3/3! = e^(-1)/6.
Normal distribution
- Questions using this distribution usually name 'normal' explicitly.
- Standardise with z = (x - μ)/σ, then read the probability from the standard normal table.
Key terms
- Binomial distribution
- Gives the probability of x successes in n independent trials, each with success probability p.
- p and q
- The probabilities of success and failure, with q = 1 - p.
- Poisson distribution
- P(X=r) = e^(-m) m^r / r!, a limiting form of the binomial for large n and small p.
- Poisson mean m
- m = np; it equals both the mean and the variance.
- nCr
- The number of ways to choose r items from n: n!/(r!(n-r)!).
- Normal distribution
- A continuous, symmetric, bell-shaped distribution described by its mean μ and standard deviation σ.
Lesson 4
Sampling Distributions and Confidence Intervals
A population parameter can be estimated by a single number (a point estimate) or by a range of values (an interval estimate). A confidence interval equals the point estimate ± the margin of error, and it comes with a stated level of confidence, such as 95% or 99%, that it contains the true parameter. Sampling distributions describe how a statistic varies from sample to sample, and they underpin the margin of error.
Estimation
- Estimation means using sample data to infer a population parameter.
- A point estimate is a single value. For example, a sample mean weight of 60 kg estimates the population mean.
- A point estimate is rarely exactly right because of sampling error, and it gives no indication of how close it is.
- An interval estimate gives a range bounded by the LCL (lower confidence limit) and the UCL (upper confidence limit).
Sampling distributions
- A sampling distribution is the distribution of a statistic, such as the sample mean, across repeated samples.
- The standard error of the mean is σ/√n; it shrinks as n grows.
- For large n, the sample mean is approximately normal (Central Limit Theorem).
- The standard error of a sample proportion is √(p(1-p)/n).
Confidence intervals
- Confidence interval = point estimate ± margin of error.
- For a mean: x̄ ± z·σ/√n, with z = 1.96 for 95% and z = 2.576 for 99%.
- For a proportion: p̂ ± z·√(p̂(1-p̂)/n).
- Interpretation: 'We are 95% confident that the population mean lies between 50 and 70.'
- A higher confidence level gives a wider interval.
- Example: we are 99% confident that the true proportion of billing statements with errors lies between 7.7% and 12.7%.
Key terms
- Point estimate
- A single value used to estimate a population parameter.
- Interval estimate
- A range of values expected to contain the parameter.
- Confidence interval
- An interval estimate stated with a confidence level; it equals the point estimate ± the margin of error.
- Margin of error
- The critical value multiplied by the standard error.
- Standard error
- The standard deviation of a statistic's sampling distribution.
- LCL / UCL
- The lower and upper confidence limits of an interval.
Lesson 5
t Test, Chi-Square Test and F Test
The t test compares means when the sample is small and the population standard deviation is unknown. The F test compares variances and also underlies ANOVA. The chi-square test checks goodness of fit and the independence of two attributes, and it can also test a population variance.
t test
- Developed by William Sealy Gosset, who published under the name 'Student'.
- It is a parametric test used to test the significance of a difference between means.
- Use it when the sample is small (n < 30) and the population standard deviation is unknown.
- Assumptions: the population is normal, samples are random and independent, and the sample is small.
- One-sample t test: t = (x̄ - μ)/(s/√n), with n - 1 degrees of freedom.
- Two-sample t test: compares the means of two groups, t = (x̄1 - x̄2)/(s·√(1/n1 + 1/n2)).
- Use a z test instead when the sample is large or the population variance is known.
Decision rule
- Set a level of significance, such as 5% or 1%.
- If the calculated value is greater than the table value, reject H0.
- If the calculated value is less than the table value, do not reject H0.
F test and ANOVA
- Named after R. A. Fisher; it is a parametric test.
- F = s1²/s2² (put the larger variance in the numerator); it tests whether two variances are equal.
- It is flexible: it can test the overall significance of a regression, compare models, and test equality of several means.
- ANOVA extends the t test to more than two group means.
- In ANOVA, F = (variance between sample means)/(variance within samples).
- One-way ANOVA has one independent variable; two-way ANOVA has two.
- Assumptions: populations are normal, samples are independent, and variances are equal.
Chi-square test
- Formula: χ² = Σ (O - E)²/E, where O is the observed frequency and E is the expected frequency.
- Goodness of fit: checks whether a theoretical distribution fits the observed data. A larger difference between O and E gives a larger χ²; a perfect fit gives χ² = 0.
- Test of independence: checks for an association between two attributes, such as gender and music taste.
- Conditions: random, independent observations, and each expected frequency should be at least 5.
- As a parametric test, it tests a population variance: χ² = (n - 1)s²/σ².
Key terms
- t test
- Tests a difference in means for small samples when σ is unknown.
- z test
- Tests means when the sample is large or σ is known.
- F test
- Compares two variances using their ratio.
- ANOVA
- Compares more than two means using F = between-group variance / within-group variance.
- Chi-square test
- χ² = Σ(O - E)²/E, used for goodness of fit and independence.
- Level of significance
- The probability threshold, such as 5%, used to reject H0.
