MTH216 Probability and Statistics

Probability and StatisticsUnit 712 min read

Estimation: Point & Interval Estimates, Confidence Intervals, Sample Size

Unit 7 of Probability and Statistics covers point and interval estimation techniques, confidence intervals for means and proportions, and sample size determination—essential tools for making data-driven decisions in engineering and real-world applications.

TAKEAWAYS:

  • Understand the difference between point estimation (single-value guesses) and interval estimation (ranges with confidence).
  • Learn how to construct confidence intervals for population means (known/unknown variance) and proportions using the t-distribution and z-distribution.
  • Master the formula for sample size determination to ensure reliable estimates in surveys or experiments.
  • Compare maximum likelihood estimation (MLE) and method of moments (MoM) for parameter estimation.
  • Apply estimation techniques to real-world problems like quality control in manufacturing or polling in elections.
  • Recognize the trade-off between confidence level and margin of error in interval estimation.

What is Estimation?

Estimation is the process of inferring population parameters (e.g., mean, variance, proportion) from sample statistics. It is divided into two main types:

  1. Point Estimation: Provides a single value as an estimate (e.g., sample mean for population mean ).
  2. Interval Estimation: Provides a range of values (confidence interval) within which the true parameter likely lies.

Why Estimation?

In engineering, we rarely have access to the entire population (e.g., testing every battery in a factory). Instead, we rely on samples to estimate population characteristics. For example:

  • A Daraz seller might estimate the average delivery time for a product based on a sample of orders.
  • NTC could estimate the average electricity consumption of households in Kathmandu using a sample survey.

Point Estimation

Point estimation uses sample statistics to estimate population parameters. Common estimators include:

  • Mean:
  • Variance:
  • Proportion: , where is the number of successes in trials.
9509609709809901000101010201030104010509409609801000102010401060Sample Mean (\bar{x})Population Mean (μ)True μEstimated \bar{x} = 1000 (Example)
Point Estimation: Sample Mean as an Estimator for Population Mean (μ)

Properties of Good Estimators

A good estimator should be:

  1. Unbiased: (e.g., is unbiased for ).
  2. Consistent: Converges to the true parameter as sample size .
  3. Efficient: Has the smallest variance among unbiased estimators.


Interval Estimation: Confidence Intervals

A confidence interval (CI) is a range such that: where:

  • is the confidence level (e.g., 95%).
  • is the significance level (e.g., 0.05).

Confidence Interval for Population Mean ()

99099199299399499599699799899910001001100210031004100510061007100810091010Sample Mean (\bar{x} = 1000)Lower Bound (95% CI)Upper Bound (95% CI)
95% Confidence Interval for μ (σ known, n=36, z=1.96): [995, 1005]

Case 1: Known Population Variance ()

Use the z-distribution: Example: A factory produces light bulbs with a known lifetime variance (hours). A sample of 36 bulbs has a mean lifetime of 1000 hours. Construct a 95% CI for .

Case 2: Unknown Population Variance (Use -distribution)

Use the t-distribution with degrees of freedom: Example: A sample of 10 solar panel efficiencies has and . Find a 90% CI for .


Confidence Interval for Population Proportion ()

For a proportion, use the z-distribution: Example: In a survey of 500 voters, 300 support a candidate. Find a 99% CI for the true proportion .

Support (300) (60%)Oppose (200) (40%)
Survey Results: 60% Support (n=500, \hat{p} = 0.6)

Sample Size Determination

The sample size depends on:

  • Desired confidence level ().
  • Margin of error (ME).
  • Population variance () or proportion ().
102030405060708090100246810Margin of Error (ME)n = 25 (ME = 2 hours)
Sample Size Calculation: ME vs. n (σ=5, z=1.96)

For Population Mean ():

Example: How many light bulbs must be tested to estimate within 2 hours with 95% confidence, given ?

For Population Proportion ():

Example: How many voters must be surveyed to estimate within 3% with 95% confidence? Assume (worst case).


Methods of Estimation

1. Maximum Likelihood Estimation (MLE)

MLE finds the parameter value that maximizes the likelihood function . Example: For a normal distribution , the MLE of is the sample mean .

2. Method of Moments (MoM)

MoM equates sample moments to population moments and solves for . Example: For an exponential distribution with PDF , the first moment is:



In the Real World

  1. eSewa and Khalti:

    • These apps estimate the average transaction time for digital payments using confidence intervals. For example, Khalti might sample 1000 transactions to estimate the mean processing time within 0.5 seconds with 95% confidence. This helps them set realistic user expectations and optimize server load.
  2. Daraz Order Fulfillment:

    • Daraz uses interval estimation to predict delivery times. If a sample of 500 orders in Kathmandu has a mean delivery time of 3 days with a standard deviation of 1 day, they can construct a 90% CI to communicate to customers: "Your order will arrive in 2.5 to 3.5 days, 90% of the time."
  3. NTC Electricity Demand Forecasting:

    • NTC estimates the average monthly electricity consumption of households in Pokhara using sample surveys. For instance, if a sample of 200 households shows a mean consumption of 250 kWh with a standard deviation of 50 kWh, they can build a confidence interval to plan grid capacity. A 95% CI might show the true mean lies between 240 and 260 kWh, guiding infrastructure investments.
  4. Bank Loan Interest Rates (NMB, Global IME):

    • Banks estimate the average default rate for loans using historical data. For example, if 5% of 1000 loans defaulted in a sample, a 99% CI for the true default rate might be [3.5%, 6.5%]. This interval helps banks set interest rates to cover risks.
  5. Pathao Driver Earnings:

    • Pathao estimates the average daily earnings of drivers in Lalitpur by sampling 300 drivers. If the sample mean is $25 with a standard deviation of $5, a 90% CI would be [$23.80, $26.20]. This helps drivers plan finances and Pathao adjust incentives.

Worked Example: Traffic Congestion Estimation (Kathmandu)

Scenario: The Kathmandu Metropolitan City (KMC) wants to estimate the average daily traffic delay at a busy intersection. A sample of 40 drivers reports delays with minutes and minutes. Construct a 95% CI for the true mean delay .

Solution:

  1. Use the t-distribution (since is unknown).
  2. Degrees of freedom: .
  3. From the t-table, .
  4. Margin of error (ME):
  5. Confidence interval: Interpretation: KMC can be 95% confident that the true average daily delay at this intersection is between 18.40 and 21.60 minutes. This estimate can be used to justify traffic signal adjustments or alternative route planning.

Advantages and Disadvantages of Estimation

Type Advantages Disadvantages
Point Estimation Simple, single-value summary. No information about uncertainty.
Interval Estimation Provides a range with confidence level. Requires knowledge of distribution (normal, t, etc.).
MLE Asymptotically efficient and consistent. Computationally intensive for complex models.
MoM Intuitive and easy to apply. Less efficient than MLE for some distributions.

Common Mistakes to Avoid

  1. Using z-distribution when is unknown: Always use the t-distribution for small samples () with unknown variance.
  2. Ignoring sample size: Small samples lead to wide confidence intervals and unreliable estimates.
  3. Misinterpreting confidence intervals: A 95% CI does not mean there is a 95% probability that lies in the interval. Instead, it means 95% of such intervals will contain in repeated sampling.
  4. Assuming normality without checking: Confidence intervals for means assume normality (or large by CLT). Always check with a histogram or Q-Q plot.

Exam Tip

  1. Memorize Key Formulas:

    • Confidence interval for (known ):
    • Confidence interval for (unknown ):
    • Confidence interval for :
    • Sample size for mean:
  2. Understand When to Use t vs. z:

    • Use t-distribution for small samples () or unknown .
    • Use z-distribution for large samples () or known .
  3. Practice Calculations:

    • Always show your steps clearly in exams. For example:
      • Calculate and from raw data.
      • Look up - or -values from tables.
      • Interpret the confidence interval in context.
  4. Real-World Applications:

    • Expect questions linking estimation to engineering scenarios (e.g., quality control, survey sampling, or experimental design). For example:
      • "A factory tests 25 batteries and finds hours, hours. Estimate the mean lifetime with 90% confidence."
      • "How many sensors must be tested to estimate the mean failure rate within 0.1% with 99% confidence?"
  5. Graphical Interpretation:

    • Sketch confidence intervals on number lines or normal/t-distribution curves to visualize uncertainty. For example:
  6. Sample Size Questions:

    • Always round up to the nearest whole number for sample size calculations.
    • For proportions, use if the true proportion is unknown (gives the largest sample size).

Based on the PU BE Computer (PU) syllabus for Probability and Statistics (MTH216), unit 7.

Discussion

Loading…