Basic Business Statistics 1B Study Notes

Fundamentals of Statistics: Populations, Samples, and Variables

  • Random Variable: Any attribute or characteristic being measured or observed.
  • Data: The actual values (numbers) or outcomes recorded on random variables.
  • Sampling Unit: The item being measured, observed, or counted with respect to the random variable(s) under study.
  • Population: Every possible item that contains a data value of the random variable under study.
  • Sample: A subset of items drawn from a population.
  • Census: The gathering of data on a random variable from every member of the target population.
  • Survey: The gathering of data on a random variable from a sample.
  • Parameter: The numeric characteristic of a population.
  • Statistic: The numeric characteristic of a sample.
  • Sampling: The process of coming up with the sample.
Comparison of Population Parameters and Sample Statistics
  • Single Mean:
    • Population Parameter: μ\mu
    • Sample Statistic: xˉ\bar{x}
  • Single Proportion:
    • Population Parameter: π\pi
    • Sample Statistic: pp
  • Difference Between Two Means:
    • Population Parameter: μ1−μ2\mu_1 - \mu_2
    • Sample Statistic: xˉ1−xˉ2\bar{x}_1 - \bar{x}_2
  • Difference Between Two Proportions:
    • Population Parameter: π1−π2\pi_1 - \pi_2
    • Sample Statistic: p1−p2p_1 - p_2

Sampling Techniques and Data Collection Errors

Reasons for Sampling
  • Cost: It is generally less expensive to gather sample data than population data.
  • Timeliness: Sample data can be gathered much quicker than population data.
  • Destructive Testing: Data on certain random variables can only be generated by consuming or destroying the sampling unit.
  • Accuracy: Better control can usually be exercised over the data collection process in a sample than in an entire population.
Classification of Sampling Methods

Sampling methods are broadly categorized into Probability Sampling Methods (random-based) and Non-Probability Sampling Methods.

Probability Sampling Methods

Probability sampling includes any selection method where sample members are chosen from the target population on a purely random basis.

  • Advantages:

    • Reduces the likelihood of selection bias.
    • Makes it possible to quantitatively measure sampling error.
  • Four Types of Probability Sampling:

    1. Simple Random Sampling: Every member in the target population has an equal chance of being selected. This method is used when the population is assumed to be relatively homogeneous with respect to the random variable under study.
    2. Systematic Random Sampling: Similar to simple random sampling, but differs in how units are selected. Sampling begins by randomly selecting the first sampling unit from the sampling frame, after which subsequent units are selected at a uniform interval relative to the first unit.
    3. Stratified Random Sampling: Used when the population is assumed to be heterogeneous with respect to the random variable under study. The population is divided into segments (strata) where members in each stratum are relatively homogeneous. Random samples are then independently selected from each stratum.
    4. Cluster Random Sampling: Used when the target population can be naturally divided into clusters where each cluster has a profile similar to every other cluster. A subset of clusters is randomly selected for full sampling. This method is typically used when the population is large and geographically dispersed.
Non-Probability Sampling Methods
  • Four Types of Non-Probability Sampling:
    1. Convenience Sampling: Applied when sampling units are selected purely to suit the convenience of the researcher.
    2. Judgment Sampling: Samples drawn based on the researcher's personal knowledge and experience in selecting the most appropriate units.
    3. Quota Sampling: Proportions of various subgroups in the population are determined, and the sample is drawn to reflect those exact percentages. It is similar to stratified random sampling, except that selection within subgroups lacks randomization.
    4. Snowball Sampling: Used to reach target populations where sampling units are difficult to identify. Each identified member of the target population is asked to identify other units belonging to the same target population.
Errors in Statistical Analysis
  • Sampling Errors: Errors that occur as a result of using a sample rather than considering the entire population. It is defined as the numerical difference between the actual population parameter value and its corresponding sample statistic.
  • Non-Sampling Errors: Errors that occur during data collection processes that are not caused by using a sample. Examples include misrecording responses, interviewer errors, lack of interviewer knowledge, or flawed measurement instruments.

Parameter Estimation and Sample Size Determination

Key Factors in Determining Sample Size
  1. Degree of Confidence: The probability associated with a measure of confidence that the required sample size will yield an accurate estimate. Higher confidence (e.g., 99%99\%) implies greater accuracy and requires a larger sample size.
  2. Maximum Allowable Error (EE): The maximum sampling error tolerated at a specified level of confidence.
  3. Variation of the Population: Measured by the population standard deviation (σ\sigma), which must be known or estimated.
Sample Size Determination for Estimating a Population Mean
  • Formula:n=(Z×σE)2n = \left(\frac{Z \times \sigma}{E}\right)^2   Where:

    • ZZ = Critical value from the standardized normal distribution corresponding to the specified confidence level.
    • σ\sigma = Population standard deviation.
    • EE = Maximum allowable sampling error.
  • Worked Example 1 (Plumbing Company):

    • Desired sampling error E=±5E = \pm 5
    • Confidence level = 95%95\% (Z=1.96Z = 1.96
    • Standard deviation σ=$25\sigma = \$25
    • Calculation:     n=(1.96×255)2=(9.8)2=96.04≈97n = \left(\frac{1.96 \times 25}{5}\right)^2 = (9.8)^2 = 96.04 \approx 97
  • Worked Example 2 (Home Heating Oil Usage):

    • Desired sampling error E=±50E = \pm 50
    • Confidence level = 90%90\% (Z=1.645Z = 1.645
    • Standard deviation σ=325\sigma = 325
    • Calculation:     n=(1.645×32550)2=(10.6925)2=114.33≈115n = \left(\frac{1.645 \times 325}{50}\right)^2 = (10.6925)^2 = 114.33 \approx 115
  • Exercise Problem:

    • Desired confidence level = 99%99\% (Z=2.58Z = 2.58
    • Sampling error E=±20E = \pm 20
    • Standard deviation σ=100\sigma = 100
    • Calculation:     n=(2.58×10020)2=(12.9)2=166.41≈167n = \left(\frac{2.58 \times 100}{20}\right)^2 = (12.9)^2 = 166.41 \approx 167
Sample Size Determination for Estimating a Population Proportion
  • Formula:n=Z2×p(1−p)E2n = \frac{Z^2 \times p(1-p)}{E^2}   Where:

    • pp = Estimated proportion of success in the population.
    • Rule: If no prior information exists regarding the proportion of success, fix p=0.05p = 0.05.
  • Worked Example 1 (Sales Invoices Errors):

    • Confidence level = 95%95\% (Z=1.96Z = 1.96
    • Sampling error E=±0.07E = \pm 0.07
    • Past data maximum proportion p=0.15p = 0.15
    • Calculation:     n=(1.96)2×0.15×(1−0.15)(0.07)2=3.8416×0.12750.0049=0.4898040.0049=99.96≈100n = \frac{(1.96)^2 \times 0.15 \times (1 - 0.15)}{(0.07)^2} = \frac{3.8416 \times 0.1275}{0.0049} = \frac{0.489804}{0.0049} = 99.96 \approx 100
  • Worked Example 2 (Non-Conforming Newspapers):

    • Confidence level = 90%90\% (Z=1.645Z = 1.645
    • Sampling error E=±0.05E = \pm 0.05
    • No past information available (p=0.05p = 0.05
    • Calculation:     n=(1.645)2×0.05×(1−0.05)(0.05)2=2.706025×0.04750.0025=51.41≈52n = \frac{(1.645)^2 \times 0.05 \times (1 - 0.05)}{(0.05)^2} = \frac{2.706025 \times 0.0475}{0.0025} = 51.41 \approx 52
  • Exercise Problem:

    • Confidence level = 90%90\% (Z=1.645Z = 1.645
    • Sampling error E=±0.04E = \pm 0.04
    • No prior information (p=0.05p = 0.05
    • Calculation:     n=(1.645)2×0.05×(1−0.05)(0.04)2=0.1285360.0016=80.345≈81n = \frac{(1.645)^2 \times 0.05 \times (1 - 0.05)}{(0.04)^2} = \frac{0.128536}{0.0016} = 80.345 \approx 81

Sampling Distributions and the Central Limit Theorem

Definitions and Theoretical Properties
  • Sampling Distribution: Shows the relationship between a sample statistic (e.g., sample mean xˉ\bar{x}) and its corresponding population parameter (e.g., population mean μ\mu). The distribution of all possible sample means and their associated probabilities is the sampling distribution of the means.
  • Properties of the Sampling Distribution of the Sample Mean:
    1. Sample means are random variables because their values vary from sample to sample.
    2. The mean of all possible sample means (μxˉ\mu_{\bar{x}}) equals the true population mean (μ\mu):      μxˉ=xˉˉ=μ\mu_{\bar{x}} = \bar{\bar{x}} = \mu
The Central Limit Theorem (CLT)

If a random sample of nn observations is selected from any population, then when the sample size is sufficiently large (n≥30n \ge 30), the sampling distribution of the mean tends to approximate a normal distribution regardless of the underlying population shape.

  • ZZ-Transformation Formula for Sample Means:Z=xˉ−μσnZ = \frac{\bar{x} - \mu}{\frac{\sigma}{\sqrt{n}}}
Probability Calculations with Known Population Parameters
  • Example 1 (Highway Truck Speeds):

    • Population parameter: speed limit μ=60 km/h\mu = 60\text{ km/h}, σ=12.5 km/h\sigma = 12.5\text{ km/h}
    • Sample details: n=120n = 120, xˉ=62 km/h\bar{x} = 62\text{ km/h}
    • Problem: Find P(xˉ≥62)P(\bar{x} \ge 62)
    • ZZ-score calculation:     Z=62−6012.5120=21.141=1.75Z = \frac{62 - 60}{\frac{12.5}{\sqrt{120}}} = \frac{2}{1.141} = 1.75
    • Probability: P(Z≥1.75)=0.5−0.4599=0.0401P(Z \ge 1.75) = 0.5 - 0.4599 = 0.0401
  • Example 2 (High School Boys IQ):

    • μ=100\mu = 100, σ=16\sigma = 16, n=36n = 36
    • Problem: Find P(xˉ≤96)P(\bar{x} \le 96)
    • ZZ-score calculation:     Z=96−1001636=−42.667=−1.50Z = \frac{96 - 100}{\frac{16}{\sqrt{36}}} = \frac{-4}{2.667} = -1.50
    • Probability: P(Z≤−1.50)=0.5−0.4332=0.0668P(Z \le -1.50) = 0.5 - 0.4332 = 0.0668
  • Example 3 (Boxers Weight Distribution):

    • μ=94 kg\mu = 94\text{ kg}, σ=4.2 kg\sigma = 4.2\text{ kg}, n=81n = 81
    • Problem: Find P(93.5≤xˉ≤95.1)P(93.5 \le \bar{x} \le 95.1)
    • ZZ-score calculations:     Z1=93.5−944.281=−0.50.4667=−1.07Z_1 = \frac{93.5 - 94}{\frac{4.2}{\sqrt{81}}} = \frac{-0.5}{0.4667} = -1.07Z2=95.1−944.281=1.10.4667=2.36Z_2 = \frac{95.1 - 94}{\frac{4.2}{\sqrt{81}}} = \frac{1.1}{0.4667} = 2.36
    • Probability: P(−1.07≤Z≤2.36)=0.3577+0.4909=0.8486P(-1.07 \le Z \le 2.36) = 0.3577 + 0.4909 = 0.8486
Probability Calculations with Unknown Population Means

Used to evaluate the probability that a single sample mean lies within a specific margin of error around an unknown population mean.

  • Required Conditions:

    1. Normally distributed population.
    2. Population standard deviation (σ\sigma) is known.
    3. Large sample size (n≥30n \ge 30
  • Example 1 (Typists Speed):

    • n=100n = 100, σ=8 wpm\sigma = 8\text{ wpm}
    • Margin: Differs from μ\mu by no more than 1 wpm1\text{ wpm}
    • Z=18100=10.8=1.25Z = \frac{1}{\frac{8}{\sqrt{100}}} = \frac{1}{0.8} = 1.25
    • Probability: P(−1.25≤Z≤1.25)=2×0.3944=0.7888P(-1.25 \le Z \le 1.25) = 2 \times 0.3944 = 0.7888
  • Example 2 (BBS1b Student Marks):

    • n=81n = 81, σ=6%\sigma = 6\%
    • Margin: Differs from μ\mu by no more than 2%2\%
    • Z=2681=20.667=3.00Z = \frac{2}{\frac{6}{\sqrt{81}}} = \frac{2}{0.667} = 3.00
    • Probability: P(−3.00≤Z≤3.00)=2×0.4987=0.9974P(-3.00 \le Z \le 3.00) = 2 \times 0.4987 = 0.9974
  • Exercise (Newborn Babies Weight):

    • n=225n = 225, σ=0.25 kg\sigma = 0.25\text{ kg}
    • Margin: Differs from μ\mu by no more than 0.04 kg0.04\text{ kg}
    • Z=0.040.25225=0.040.01667=2.40Z = \frac{0.04}{\frac{0.25}{\sqrt{225}}} = \frac{0.04}{0.01667} = 2.40
    • Probability: P(−2.40≤Z≤2.40)=2×0.4918=0.9836P(-2.40 \le Z \le 2.40) = 2 \times 0.4918 = 0.9836
Sampling Distribution of the Sample Proportion
  • The sample proportion (pp) measures central location when the random variable under study is qualitative.

  • Properties:

    1. Sample proportions are random variables that vary across samples.
    2. The mean of all sample proportions equals the true population proportion (π\pi).
    3. Standard error of the sample proportion:      σp=π(1−π)n\sigma_p = \sqrt{\frac{\pi(1-\pi)}{n}}
    4. The shape of the sampling distribution of sample proportions is normally distributed.
  • ZZ-Transformation Formula:Z=p−ππ(1−π)nZ = \frac{p - \pi}{\sqrt{\frac{\pi(1-\pi)}{n}}}

  • Example (Burglarized Homes):

    • π=0.55\pi = 0.55, n=100n = 100, observed burglaries = 6464 (p=0.64p = 0.64
    • Calculation:     Z=0.64−0.550.55(1−0.55)100=0.090.002475=0.090.04975=1.81Z = \frac{0.64 - 0.55}{\sqrt{\frac{0.55(1-0.55)}{100}}} = \frac{0.09}{\sqrt{0.002475}} = \frac{0.09}{0.04975} = 1.81

Interval Estimation for Means and Proportions

Point Estimation vs. Confidence Interval Estimation
  • Point Estimate: A single numeric value calculated from a sample statistic used to represent a true but unknown population parameter (e.g., xˉ\bar{x} is a point estimate of μ\mu
  • Point Estimator: The formula or rule producing the point estimate.
  • Disadvantage: Gives no information regarding reliability or closeness to the actual parameter.
  • Confidence Interval (CI): A range of values constructed around a sample statistic within which the population parameter is expected to fall at a specified confidence level.
    • Level of Confidence: The probability that the constructed interval includes the true population parameter.
    • Margin of Error: The maximum distance added to and subtracted from the statistic.
CI Estimation for Single Mean (σ\sigma Known)
  • Formula:xˉ±Z(σn)\bar{x} \pm Z \left(\frac{\sigma}{\sqrt{n}}\right)

  • Assumptions:

    1. Population standard deviation (σ\sigma) is known.
    2. Sample size is large (n≥30n \ge 30
    3. Population is normally distributed.
  • Worked Example 1 (Windhoek Car Commuters):

    • n=100n = 100, xˉ=35.8 minutes\bar{x} = 35.8\text{ minutes}, σ=20 minutes\sigma = 20\text{ minutes}, Level = 95%95\% (Z=1.96Z = 1.96
    • Calculation:     CI=35.8±1.96(20100)=35.8±1.96(2)=35.8±3.92=[31.88,39.72] minutes\text{CI} = 35.8 \pm 1.96 \left(\frac{20}{\sqrt{100}}\right) = 35.8 \pm 1.96(2) = 35.8 \pm 3.92 = [31.88, 39.72]\text{ minutes}
    • Interpretation: We are 95%95\% confident that the true population mean daily travel time for all car commuters in Windhoek is between 31.8831.88 and 39.7239.72 minutes.
  • Worked Example 2 (Radial Tires Tread Life):

    • n=49n = 49, xˉ=52345 km\bar{x} = 52345\text{ km}, σ=12943 km\sigma = 12943\text{ km}, Level = 99%99\% (Z=2.58Z = 2.58
    • Calculation:     CI=52345±2.58(1294349)=52345±2.58(1849)=52345±4770.42=[47574.58,57115.42] km\text{CI} = 52345 \pm 2.58 \left(\frac{12943}{\sqrt{49}}\right) = 52345 \pm 2.58(1849) = 52345 \pm 4770.42 = [47574.58, 57115.42]\text{ km}
  • Homework Problem (Mores Desserts):

    • n=49n = 49, xˉ=R3140\bar{x} = \text{R}3140, σ=R345\sigma = \text{R}345, Level = 98%98\% (Z=2.33Z = 2.33
    • Calculation:     CI=3140±2.33(34549)=3140±2.33(49.286)=3140±114.84=[R3025.16,R3254.84]\text{CI} = 3140 \pm 2.33 \left(\frac{345}{\sqrt{49}}\right) = 3140 \pm 2.33(49.286) = 3140 \pm 114.84 = [\text{R}3025.16, \text{R}3254.84]
Distribution Selection Rules (ZZ vs. tt)
  • When population is normally distributed and σ\sigma is known: Use ZZ-distribution regardless of sample size.
  • When population is normally distributed and σ\sigma is unknown:
    • Large samples (n≥30n \ge 30): Use ZZ-distribution.
    • Small samples (n<30n < 30): Use Student tt-distribution.
Properties of Student tt-Distribution
  • Bell-shaped and symmetrical about its mean of zero.
  • Standard deviation is not constant; it changes based on sample size.
  • Standard deviation depends on sample standard deviation (ss) and degrees of freedom (df=n−1df = n - 1
CI Estimation for Single Mean (σ\sigma Unknown, n<30n < 30)
  • Formula:xˉ±tα2,n−1(sn)\bar{x} \pm t_{\frac{\alpha}{2}, n-1} \left(\frac{s}{\sqrt{n}}\right)

  • Worked Example 1 (Credit Card Purchases):

    • n=25n = 25, \bar{x} = \text{N}\\$165.45, s = \text{N}\\$38.60, Level = 95%95\%
    • Degrees of freedom df=25−1=24df = 25 - 1 = 24; Critical value t0.025,24=2.064t_{0.025, 24} = 2.064
    • Calculation:     CI=165.45±2.064(38.6025)=165.45±2.064(7.72)=165.45±15.93=[N\text{CI} = 165.45 \pm 2.064 \left(\frac{38.60}{\sqrt{25}}\right) = 165.45 \pm 2.064(7.72) = 165.45 \pm 15.93 = [\text{N}\\149.52, \text{N}\\181.38]181.38]
  • Worked Example 2 (Taxi Travel Times):

    • n=49n = 49, xˉ=20 mins\bar{x} = 20\text{ mins}, s=6 minss = 6\text{ mins}
    • For 98%98\% Level (Z=2.33Z = 2.33 as n≥30n \ge 30CI=20±2.33(649)=20±2.33(0.857)=20±2.00=[18.00,22.00] mins\text{CI} = 20 \pm 2.33 \left(\frac{6}{\sqrt{49}}\right) = 20 \pm 2.33(0.857) = 20 \pm 2.00 = [18.00, 22.00]\text{ mins}
    • For 90%90\% Level (Z=1.645Z = 1.645CI=20±1.645(649)=20±1.645(0.857)=20±1.41=[18.59,21.41] mins\text{CI} = 20 \pm 1.645 \left(\frac{6}{\sqrt{49}}\right) = 20 \pm 1.645(0.857) = 20 \pm 1.41 = [18.59, 21.41]\text{ mins}
Precision of Confidence Intervals
  • Precision is determined by interval width:
    • Narrower CI = Higher precision.
    • Wider CI = Lower precision.
  • Width is influenced by: confidence level, sample size (nn), and population variation (σ\sigma
CI Estimation for Single Population Proportion
  • Formula for Large Samples (n≥30n \ge 30):p±Zp(1−p)np \pm Z \sqrt{\frac{p(1-p)}{n}}

  • Formula for Small Samples (n<30n < 30):p±tp(1−p)np \pm t \sqrt{\frac{p(1-p)}{n}}

  • Worked Example 1 (Johannesburg Street Vendors):

    • n=120n = 120, x=42x = 42 vendors (p=42120=0.35p = \frac{42}{120} = 0.35
    • Confidence level = 95%95\% (Z=1.96Z = 1.96
    • Calculation:     CI=0.35±1.960.35(0.65)120=0.35±1.96(0.0435)=0.35±0.0853=[0.2647,0.4353]\text{CI} = 0.35 \pm 1.96 \sqrt{\frac{0.35(0.65)}{120}} = 0.35 \pm 1.96(0.0435) = 0.35 \pm 0.0853 = [0.2647, 0.4353]
  • Worked Example 2 (Overdrawn Cheque Accounts):

    • n=29n = 29, x=6x = 6 overdrawn (p=629=0.2069p = \frac{6}{29} = 0.2069
    • Level = 95%95\%, df=28df = 28, t0.025,28=2.048t_{0.025, 28} = 2.048
    • Calculation:     CI=0.2069±2.0480.2069(0.7931)29=0.2069±2.048(0.0752)=0.2069±0.1540=[0.0529,0.3609]\text{CI} = 0.2069 \pm 2.048 \sqrt{\frac{0.2069(0.7931)}{29}} = 0.2069 \pm 2.048(0.0752) = 0.2069 \pm 0.1540 = [0.0529, 0.3609]

Principles and Applications of Hypothesis Testing

Definition and Purpose

Hypothesis testing is a statistical process used to test the validity of a claim regarding the true value of a population parameter. It determines whether sample analysis provides sufficient evidence to conclude that the population possesses a specific property.

Five-Step Procedure
  1. Formulate Hypotheses: Define Null Hypothesis (H0H_0) and Alternative Hypothesis (H1H_1
  2. Decision Rule: Determine critical value limits (ZZ or tt) based on significance level (α\alpha) and directionality.
  3. Compute Sample Test Statistic: Calculate ZcalZ_{cal} or tcalt_{cal}.
  4. Comparison: Compare calculated statistic with critical limits.
  5. Conclusion: State conclusion to reject or fail to reject H0H_0
Hypothesis Formulation Structures
  • One-sided Upper-tailed Test:
    • H0:μ≤aH_0: \mu \le a
    • H1:μ>aH_1: \mu > a
    • Reject H0H_0 if Zcal>ZαZ_{cal} > Z_{\alpha}
  • One-sided Lower-tailed Test:
    • H0:μ≥aH_0: \mu \ge a
    • H1:μ<aH_1: \mu < a
    • Reject H0H_0 if Zcal<−ZαZ_{cal} < -Z_{\alpha}
  • Two-sided Test:
    • H0:μ=aH_0: \mu = a
    • H1:μ≠aH_1: \mu \neq a
    • Reject H0H_0 if ∣Zcal∣>Zα2|Z_{cal}| > Z_{\frac{\alpha}{2}}
Test Statistic Formulas
  • For Single Sample Mean:Zcal=xˉ−μσnortcal=xˉ−μsnZ_{cal} = \frac{\bar{x} - \mu}{\frac{\sigma}{\sqrt{n}}} \quad \text{or} \quad t_{cal} = \frac{\bar{x} - \mu}{\frac{s}{\sqrt{n}}}
  • For Single Sample Proportion:Zcal=p−ππ(1−π)nZ_{cal} = \frac{p - \pi}{\sqrt{\frac{\pi(1-\pi)}{n}}}
Standard ZZ-Limits for Critical Values
  • 99%99\% Confidence (α=0.01\alpha = 0.01):
    • Two-sided: ±2.58\pm 2.58
    • Lower-tailed: −2.33-2.33
    • Upper-tailed: +2.33+2.33
  • 95%95\% Confidence (α=0.05\alpha = 0.05):
    • Two-sided: ±1.96\pm 1.96
    • Lower-tailed: −1.645-1.645
    • Upper-tailed: +1.645+1.645
  • 90%90\% Confidence (α=0.10\alpha = 0.10):
    • Two-sided: ±1.645\pm 1.645
    • Lower-tailed: −1.28-1.28
    • Upper-tailed: +1.28+1.28
Decision Errors
  • Type I Error (α\alpha): Rejecting the null hypothesis H0H_0 when it is actually true.
  • Type II Error (β\beta): Failing to reject the null hypothesis H0H_0 when it is actually false.
Worked Examples on Single Mean
  • Example 1 (Domestic Cleaners Hourly Wage):

    • Claim: \mu = \text{N}\\$2.85, n=250n = 250, \bar{x} = \text{N}\\$3.03, \sigma = \text{N}\\$1.00, α=0.05\alpha = 0.05
    • Hypotheses: H0:μ=2.85vsH1:μ≠2.85H_0: \mu = 2.85 \quad \text{vs} \quad H_1: \mu \neq 2.85
    • Decision Rule: Reject H0H_0 if ∣Zcal∣>1.96|Z_{cal}| > 1.96
    • Test Statistic:     Zcal=3.03−2.851.00250=0.180.0632=2.85Z_{cal} = \frac{3.03 - 2.85}{\frac{1.00}{\sqrt{250}}} = \frac{0.18}{0.0632} = 2.85
    • Decision: Since 2.85>1.962.85 > 1.96, reject H0H_0. Average hourly rate differs significantly from N\$2.85.
  • Example 2 (Typing Machine Battery Life):

    • Claim: Stop buying if μ<24 months\mu < 24\text{ months}, n=9n = 9, xˉ=22\bar{x} = 22, s=3s = 3, α=0.10\alpha = 0.10
    • Hypotheses: H0:μ≥24vsH1:μ<24H_0: \mu \ge 24 \quad \text{vs} \quad H_1: \mu < 24
    • Critical value: df=8df = 8, t0.10,8=−1.397t_{0.10, 8} = -1.397
    • Test Statistic:     tcal=22−2439=−21=−2.00t_{cal} = \frac{22 - 24}{\frac{3}{\sqrt{9}}} = \frac{-2}{1} = -2.00
    • Decision: Since −2.00<−1.397-2.00 < -1.397, reject H0H_0. School should stop buying these batteries.
  • Example 3 (Namibian CEOs Work Hours):

    • Claim: μ<60 hours\mu < 60\text{ hours}, n=90n = 90, xˉ=61.3\bar{x} = 61.3, σ=8.8\sigma = 8.8, α=0.01\alpha = 0.01
    • Hypotheses: H0:μ≥60vsH1:μ<60H_0: \mu \ge 60 \quad \text{vs} \quad H_1: \mu < 60
    • Decision Rule: Reject H0H_0 if Zcal<−2.33Z_{cal} < -2.33
    • Test Statistic:     Zcal=61.3−608.890=1.30.9276=1.40Z_{cal} = \frac{61.3 - 60}{\frac{8.8}{\sqrt{90}}} = \frac{1.3}{0.9276} = 1.40
    • Decision: Since 1.40>−2.331.40 > -2.33, fail to reject H0H_0
  • Example 4 (Battery Life Exceeds 50 Hours):

    • Claim: μ>50\mu > 50, n=36n = 36, xˉ=52\bar{x} = 52, σ=6\sigma = 6, α=0.05\alpha = 0.05
    • Hypotheses: H0:μ≤50vsH1:μ>50H_0: \mu \le 50 \quad \text{vs} \quad H_1: \mu > 50
    • Decision Rule: Reject H0H_0 if Zcal>1.645Z_{cal} > 1.645
    • Test Statistic:     Zcal=52−50636=21=2.00Z_{cal} = \frac{52 - 50}{\frac{6}{\sqrt{36}}} = \frac{2}{1} = 2.00
    • Decision: Since 2.00>1.6452.00 > 1.645, reject H0H_0. Mean battery life is significantly greater than 50 hours.
Worked Examples on Single Proportion
  • Example 1 (Polytechnic Students Newspaper Reading):

    • Claim: π=0.25\pi = 0.25, n=200n = 200, x=45x = 45 readers (p=45200=0.225p = \frac{45}{200} = 0.225
    • Hypotheses: H0:π=0.25vsH1:π≠0.25H_0: \pi = 0.25 \quad \text{vs} \quad H_1: \pi \neq 0.25
    • Decision Rule: Reject H0H_0 if ∣Zcal∣>1.96|Z_{cal}| > 1.96
    • Test Statistic:     Zcal=0.225−0.250.25(0.75)200=−0.0250.0306=−0.817Z_{cal} = \frac{0.225 - 0.25}{\sqrt{\frac{0.25(0.75)}{200}}} = \frac{-0.025}{0.0306} = -0.817
    • Decision: Fail to reject H0H_0. Statement is accurate.
  • Example 2 (Auro Cosmetics Market Share):

    • Claim: π>0.35\pi > 0.35, n=360n = 360, x=108x = 108 (p=0.30p = 0.30
    • Hypotheses: H0:π≤0.35vsH1:π>0.35H_0: \pi \le 0.35 \quad \text{vs} \quad H_1: \pi > 0.35
    • Decision Rule: Reject H0H_0 if Zcal>2.33Z_{cal} > 2.33
    • Test Statistic:     Zcal=0.30−0.350.35(0.65)360=−0.050.0251=−1.99Z_{cal} = \frac{0.30 - 0.35}{\sqrt{\frac{0.35(0.65)}{360}}} = \frac{-0.05}{0.0251} = -1.99
    • Decision: Fail to reject H0H_0
  • Example 3 (Manufacturer Market Share):

    • Claim: π<0.60\pi < 0.60, n=500n = 500, x=275x = 275 (p=0.55p = 0.55
    • Hypotheses: H0:π≥0.60vsH1:π<0.60H_0: \pi \ge 0.60 \quad \text{vs} \quad H_1: \pi < 0.60
    • Decision Rule: Reject H0H_0 if Zcal<−1.645Z_{cal} < -1.645
    • Test Statistic:     Zcal=0.55−0.600.60(0.40)500=−0.050.0219=−2.28Z_{cal} = \frac{0.55 - 0.60}{\sqrt{\frac{0.60(0.40)}{500}}} = \frac{-0.05}{0.0219} = -2.28
    • Decision: Reject H0H_0

Statistical Inferences on Population Variance and Standard Deviation

Sample Variance
  • Formula:S2=∑xi2−nxˉ2n−1S^2 = \frac{\sum x_i^2 - n \bar{x}^2}{n - 1}
Confidence Interval Estimation for Single Variance (σ2\sigma^2)

To construct a CI for a single unknown population variance, the Chi-Square (χ2\chi^2) distribution is used.

  • Interval Definition:LCL≤σ2≤UCLLCL \le \sigma^2 \le UCL
  • Limits Formulas:LCL=(n−1)×S2χα2,n−12,UCL=(n−1)×S2χ1−α2,n−12LCL = \frac{(n-1) \times S^2}{\chi^2_{\frac{\alpha}{2}, n-1}}, \quad UCL = \frac{(n-1) \times S^2}{\chi^2_{1-\frac{\alpha}{2}, n-1}}
  • Limits Formulas for Standard Deviation (σ\sigma):LCL=(n−1)×S2χα2,n−12,UCL=(n−1)×S2χ1−α2,n−12LCL = \sqrt{\frac{(n-1) \times S^2}{\chi^2_{\frac{\alpha}{2}, n-1}}}, \quad UCL = \sqrt{\frac{(n-1) \times S^2}{\chi^2_{1-\frac{\alpha}{2}, n-1}}}
Characteristics of the Chi-Square Distribution
  1. Non-symmetric shape (positively skewed).
  2. Values are always non-negative (positive).
  3. Applicable under conditions with small sample sizes.
Hypothesis Testing for Single Population Variance
  • Hypotheses (Two-sided):

    • H0:σ2=aH_0: \sigma^2 = a
    • H1:σ2≠aH_1: \sigma^2 \neq a
  • Decision Rule: Reject H0H_0 if χstat2>χ1−α2,n−12\chi^2_{stat} > \chi^2_{1-\frac{\alpha}{2}, n-1} or χstat2<χα2,n−12\chi^2_{stat} < \chi^2_{\frac{\alpha}{2}, n-1}

  • Test Statistic Formula:χcal2=(n−1)S2σ02\chi^2_{cal} = \frac{(n-1)S^2}{\sigma_0^2}

  • Worked Example 1 (Post Office Waiting Times):

    • Historical standard deviation σ=7.2 mins\sigma = 7.2\text{ mins} (σ2=51.84\sigma^2 = 51.84
    • Sample n=25n = 25, s=3.5 minss = 3.5\text{ mins} (S2=12.25S^2 = 12.25
    • Level α=0.10\alpha = 0.10, df=24df = 24
    • Hypotheses: H0:σ2=51.84vsH1:σ2≠51.84H_0: \sigma^2 = 51.84 \quad \text{vs} \quad H_1: \sigma^2 \neq 51.84
    • Test Statistic:     χcal2=(25−1)(12.25)51.84=29451.84=5.67\chi^2_{cal} = \frac{(25-1)(12.25)}{51.84} = \frac{294}{51.84} = 5.67
    • Critical values (df=24df=24): χ0.05,242=36.415\chi^2_{0.05, 24} = 36.415, χ0.95,242=13.848\chi^2_{0.95, 24} = 13.848
    • Decision: Since 5.67<13.8485.67 < 13.848, reject H0H_0
  • Worked Example 2 (Process Control Variance):

    • Process in control if variance σ2<0.05\sigma^2 < 0.05
    • Sample n=26n = 26, S2=0.06S^2 = 0.06
    • Level α=0.10\alpha = 0.10, df=25df = 25
    • Hypotheses: H0:σ2≤0.05vsH1:σ2>0.05H_0: \sigma^2 \le 0.05 \quad \text{vs} \quad H_1: \sigma^2 > 0.05
    • Test Statistic:     χcal2=(26−1)(0.06)0.05=1.50.05=30.00\chi^2_{cal} = \frac{(26-1)(0.06)}{0.05} = \frac{1.5}{0.05} = 30.00
    • Critical value: χ0.10,252=34.382\chi^2_{0.10, 25} = 34.382
    • Decision: Since 30.00<34.38230.00 < 34.382, fail to reject H0H_0. Process is in control.

Chi-Square Tests for Independence and Contingency Tables

Overview and Classification

A Chi-square test is a test of significance based on bivariate contingency tables, measuring differences between observed frequencies (fof_o) and expected frequencies (fef_e).

  • Three Basic Chi-Square Tests:
    1. Test for independence of association.
    2. Test for equality (homogeneity) in more than two population proportions.
    3. Chi-square goodness-of-fit test.
Test for Independence of Association
  • Hypotheses:
    • H0H_0: The variables are independent (no association).
    • H1H_1: The variables are dependent (there is an association).
  • Decision Rule: Reject H0H_0 if χcal2>χ(α,df)2\chi^2_{cal} > \chi^2_{(\alpha, df)}
    • Degrees of Freedom: df=(r−1)(c−1)df = (r-1)(c-1), where rr = number of rows, cc = number of columns.
  • Test Statistic Formula:χcal2=∑(fo−fe)2fe\chi^2_{cal} = \sum \frac{(f_o - f_e)^2}{f_e}
  • Expected Frequency Formula:fe=row total×column totalgrand total=RT×CTGTf_e = \frac{\text{row total} \times \text{column total}}{\text{grand total}} = \frac{RT \times CT}{GT}
Practical Contingency Table Problems
  • Example 1 (Gender vs. Magazine Preference):

    • Significance Level α=0.05\alpha = 0.05
    • Data Table:
    • Girls: Beat = 1818, Youth = 1212, Grow = 2020, Live = 2828 (Row Total = 7878
    • Boys: Beat = 3838, Youth = 2626, Grow = 3434, Live = 2424 (Row Total = 122122
    • Column Totals: Beat = 5656, Youth = 3838, Grow = 5454, Live = 5252 (Grand Total = 200200
    • df=(2−1)(4−1)=3df = (2-1)(4-1) = 3
    • Critical Value: χ0.05,32=7.815\chi^2_{0.05, 3} = 7.815
  • Example 2 (Buyer's Age vs. Car Size Bought):

    • Significance Level α=0.01\alpha = 0.01
    • Data Table:
    • Under 30: Small = 1010, Medium = 2222, Large = 3434 (Row Total = 6666
    • 30-45: Small = 2424, Medium = 4242, Large = 4848 (Row Total = 114114
    • Over 45: Small = 5252, Medium = 3232, Large = 3636 (Row Total = 120120
    • Column Totals: Small = 8686, Medium = 9696, Large = 118118 (Grand Total = 300300
    • df=(3−1)(3−1)=4df = (3-1)(3-1) = 4
    • Critical Value: χ0.01,42=13.277\chi^2_{0.01, 4} = 13.277
  • Example 3 (Warehouse Advertisement vs. Response Type):

    • Significance Level α=0.01\alpha = 0.01
    • Data Table:
    • Response: TV = 200200, Radio = 150150, Newspaper = 175175 (Row Total = 525525
    • Non-response: TV = 300300, Radio = 250250, Newspaper = 125125 (Row Total = 675675
    • Column Totals: TV = 500500, Radio = 400400, Newspaper = 300300 (Grand Total = 12001200
    • df=(2−1)(3−1)=2df = (2-1)(3-1) = 2
    • Critical Value: χ0.01,22=9.210\chi^2_{0.01, 2} = 9.210

Time-Series Analysis, Trend Estimation, and Forecasting

Fundamental Concepts
  • Time Series: A set of quantitative observations recorded over regular intervals of time (hourly, daily, weekly, monthly, quarterly, annually).
  • Core Assumption: Continuation of past patterns into the future (stable operational environment).
  • Purpose: To identify recurring patterns for forecasting future values and to isolate environmental influences.
  • Cross-Sectional vs. Time-Series Data:
    • Cross-Sectional Data: Data gathered from a sample survey at a single point in time.
    • Time Series Data: Data gathered over time across sequential periods.
Decomposition of Time Series: Multiplicative Model
  • Formula:y=T×C×S×Iy = T \times C \times S \times I   Where:
    • yy = Actual observed value.
    • TT = Long-term Trend component.
    • CC = Cyclical fluctuation component.
    • SS = Seasonal pattern component.
    • II = Irregular/random variation component.
  • Note: Statistical methods effectively isolate Trend (TT) and Seasonal (SS) components; Cyclical (CC) and Irregular (II) components are difficult to quantify precisely.
Trend Fitting Methods
1. Linear Regression Analysis (Least Squares Method)

Fits a straight trend line equation y^=a+bx\hat{y} = a + bx where time (xx) is coded.

  • Sequential Coding Method:   Assign sequential numbers 0,1,2,3,…0, 1, 2, 3, \dots or 1,2,3,4,…1, 2, 3, 4, \dots to consecutive time periods.

    • Formulas:     b=n∑xy−∑x∑yn∑x2−(∑x)2b = \frac{n \sum xy - \sum x \sum y}{n \sum x^2 - (\sum x)^2}a=yˉ−bxˉa = \bar{y} - b \bar{x}
  • Zero-Sum Coding Method:   Codes xx such that ∑x=0\sum x = 0

    • Odd Number of Periods (nn): Set center period x=0x = 0, first period x=−n−12x = -\frac{n-1}{2}, increment by 11
    • Even Number of Periods (nn): First period x=−(n−1)x = -(n-1), increment by 22
    • Simplified Coefficient Formulas:     b=∑xy∑x2b = \frac{\sum xy}{\sum x^2}a=∑yna = \frac{\sum y}{n}
  • Worked Example 1 (Namibia Electricity Demand 1993–2003):

    • Dataset (n=11n = 11 years): 1993 (3.3), 1994 (3.8), 1995 (3.5), 1996 (3.3), 1997 (3.1), 1998 (3.4), 1999 (3.7), 2000 (3.9), 2001 (4.1), 2002 (4.5), 2003 (4.9).
    • Sequential coding starting at x=1x = 1 (1993) to x=11x = 11 (2003).
    • Evaluation yields equation coefficients to forecast for 1990 (x=−2x = -2) and 2007 (x=15x = 15
  • Worked Example 2 (Rideon Motor Vehicle Sales):

    • Data (n=7n = 7 quarters): 1990 Q1 (117), Q2 (144), Q3 (191), Q4 (198); 1991 Q1 (270), Q2 (243), Q3 (300).
    • Estimation of 1991 Q4 (x=8x = 8) and target value prediction for y=400y = 400
2. Moving Average Method

Used when a specific mathematical trend line equation is not required. Smooths short-term fluctuations by taking averages of consecutive groups of observations.

Economic Index Numbers: Construction and Interpretation

Definitions and Interpretation

An index number is a single summary statistic that measures overall relative changes in price, quantity, or value from a base period to a current period.

  • Base period index value is defined as 100100
  • Interpretation:
    • Index−100\text{Index} - 100 = Percentage increase over base period.
    • 100−Index100 - \text{Index} = Percentage decrease from base period.
    • Example: An index of 104104 indicates a 4%4\% increase over the base period.
Classification of Index Numbers
  • Price Indexes: Single Price Index, Composite Price Index.
  • Quantity Indexes: Single Quantity Index, Composite Quantity Index.
Mathematical Notation
  • p0p_0 = Base period price.
  • p1p_1 = Current period price.
  • q0q_0 = Base period quantity.
  • q1q_1 = Current period quantity.
Single Price Index (Price Relative)

Price Relative=p1p0×100\text{Price Relative} = \frac{p_1}{p_0} \times 100

  • Worked Example (Cape Town Fuel Prices, Base 2004 = R3.87):
    • 2004: p0=3.87  ⟹  Index=100.0p_0 = 3.87 \implies \text{Index} = 100.0
    • 2005: p1=4.22  ⟹  4.223.87×100=109.04p_1 = 4.22 \implies \frac{4.22}{3.87} \times 100 = 109.04
    • 2006: p1=4.68  ⟹  4.683.87×100=120.93p_1 = 4.68 \implies \frac{4.68}{3.87} \times 100 = 120.93
    • 2007: p1=5.29  ⟹  5.293.87×100=136.69p_1 = 5.29 \implies \frac{5.29}{3.87} \times 100 = 136.69
Composite Price Index Methods
1. Laspeyres Price Index (LPI)

Uses base period quantities (q0q_0) as weights. LPI=∑p1q0∑p0q0×100\text{LPI} = \frac{\sum p_1 q_0}{\sum p_0 q_0} \times 100

2. Paasche Price Index (PPI)

Uses current period quantities (q1q_1) as weights. PPI=∑p1q1∑p0q1×100\text{PPI} = \frac{\sum p_1 q_1}{\sum p_0 q_1} \times 100

  • Worked Calculation Example (Car Dealer Sales 1995 vs. 1997):
    • 1995 Data (Base 0):
    • Model A: p0=40p_0 = 40, q0=10q_0 = 10
    • Model B: p0=25p_0 = 25, q0=50q_0 = 50
    • Model C: p0=20p_0 = 20, q0=25q_0 = 25
    • 1997 Data (Current 1):
    • Model A: p1=50p_1 = 50, q1=15q_1 = 15
    • Model B: p1=30p_1 = 30, q1=60q_1 = 60
    • Model C: p1=18p_1 = 18, q1=20q_1 = 20
    • Summations:
    • ∑p0q0=(40×10)+(25×50)+(20×25)=400+1250+500=2150\sum p_0 q_0 = (40 \times 10) + (25 \times 50) + (20 \times 25) = 400 + 1250 + 500 = 2150
    • ∑p1q0=(50×10)+(30×50)+(18×25)=500+1500+450=2450\sum p_1 q_0 = (50 \times 10) + (30 \times 50) + (18 \times 25) = 500 + 1500 + 450 = 2450
    • ∑p0q1=(40×15)+(25×60)+(20×20)=600+1500+400=2500\sum p_0 q_1 = (40 \times 15) + (25 \times 60) + (20 \times 20) = 600 + 1500 + 400 = 2500
    • ∑p1q1=(50×15)+(30×60)+(18×20)=750+1800+360=2910\sum p_1 q_1 = (50 \times 15) + (30 \times 60) + (18 \times 20) = 750 + 1800 + 360 = 2910
    • Index Calculations:     LPI=24502150×100=113.95\text{LPI} = \frac{2450}{2150} \times 100 = 113.95PPI=29102500×100=116.40\text{PPI} = \frac{2910}{2500} \times 100 = 116.40
Single Quantity Index (Quantity Relative)

Quantity Relative=q1q0×100\text{Quantity Relative} = \frac{q_1}{q_0} \times 100