Factor Model for a bond ladder
Built for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework. Simulate a bond ladder live below — adjust the inputs and watch it respond, right in your browser.
Controls
Presets
Ordinary least squares finds the line that minimizes the sum of squared vertical residuals (the gray drop-lines). R² measures the fraction of variance the line explains — 1 is perfect, 0 is useless. Add noise or remove points to watch the fit and R² degrade.
Data Inspector
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
Controls
Presets
PCA finds the directions along which data varies most. The eigenvectors of the covariance matrix are the principal components (cyan = most variance, green = least), and their eigenvalues are the variances along each. Projecting onto the top components is the basis of dimensionality reduction.
Data Inspector
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
More with Factor Model
Frequently asked questions
- Is this good for k-12 students?
- Yes — this version of "Factor Model for a bond ladder" is framed for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.