Summary of "Lab 2: Interval estimation for population CDF"

Concise summary — main ideas, methods, and lab plan

Lecture focus

Key concepts and definitions

Constructing interval (confidence) bands for a CDF

Plug‑in estimators (second lab topic)

Lab structure — procedural steps

  1. Set up the environment (use provided R packages/functions; code is encapsulated so you need not reimplement everything).
  2. Choose a known population distribution (simulate from a known CDF/PDF so you can compare estimates to truth).
  3. For a chosen sample size n:
    • Draw a random sample from the population.
    • Sort the sample values (ascending).
    • Construct the empirical CDF: assign probability 1/n to each sample value and compute cumulative sums to form the step function.
  4. Compute the point estimate for F(x) (the ECDF).
  5. Compute the margin of error for the CDF bands using the chosen method (e.g., DKW-based uniform bound); margin depends on n and α.
  6. Form interval bands: F̂(x) ± margin, then clip values to [0,1].
  7. Plot results:
    • Plot the true CDF (if known) and the ECDF.
    • Plot upper and lower bands around the ECDF to visualize the confidence region.
    • Be careful with artificial first/last points used to illustrate 0 and 1; remove or trim them when needed for clarity.
  8. Repeat experiments to study effects:
    • Vary n (e.g., n = 100, 1,000, 10,000) and observe narrowing of bands and smoothing of the ECDF.
    • Vary confidence level (1 − α, e.g., 70%, 95%, 99%) and observe widening of bands as confidence increases.
  9. Second lab part — plug‑in estimator experiments:
    • Simulate many samples, compute plug‑in estimates for parameters of interest (mean, variance, or distribution parameters like exponential rate λ).
    • Compare estimated values to true parameter values; evaluate convergence as n grows.
    • Pay attention to biased vs unbiased forms (e.g., variance with divisor n vs n − 1).
  10. Diagnostic/comparison measures: - Compute bias, variance, MSE, or other criteria to compare alternative estimators (method of moments, MLE, plug‑in, etc.).

Practical R implementation notes

Important conceptual takeaways

Speakers and sources referenced

Category ?

Educational


Share this summary


Is the summary off?

If you think the summary is inaccurate, you can reprocess it with the latest model.

Video