Lab 02: A covariance-aware supernova excerpt

ASTR 476: Observational Cosmology · 2026-09-25

Scope: Lectures 03-04 · Purpose: Fit only a common magnitude intercept at fixed LCDM shape using the 18-object teaching excerpt and its aligned covariance block.

Setup and data

Procedure

  1. Read data and covariance and assert row counts and order.
  2. Compute the fiducial model distance modulus for each zHD.
  3. Construct residual r=mu_obs-mu_model and solve for the GLS constant offset beta.
  4. Compute sigma_beta=(1^T C^-1 1)^-1/2 using linear solves.
  5. Calculate residual chi-square before and after fitting beta; state the conditional degrees of freedom.
  6. Repeat with diagonal errors only as a deliberately flawed comparison and explain the changed result.

Deliverables

Deliver: runnable script, residual plot with units and provenance, beta and uncertainty, covariance checks, and a paragraph forbidding survey-level interpretation.

Assessment criteria

Rubric: row/covariance alignment 25%; correct GLS implementation 25%; uncertainty and residual diagnostics 20%; plot/provenance 15%; limitations 15%.

Uncertainty and interpretation

Report numerical precision, input uncertainty, model assumptions, and covariance availability separately. Label every output as directly measured, published summary, derived, or model/synthetic. A successful script run is not evidence that the scientific interpretation is valid.

Revisions and resubmissions are encouraged. Credit is based on defensible reasoning, validation, provenance, and clear limitations.

ASTR 476 · Lab 02 · paired-module cadence Lectures 03-04 · version 2026-09-25