Skip to content

Define previously-undefined variables across all equations - #100

Merged
cnellington merged 11 commits into
mainfrom
equations-variable-definitions
Jul 25, 2026
Merged

Define previously-undefined variables across all equations#100
cnellington merged 11 commits into
mainfrom
equations-variable-definitions

Conversation

@cnellington

Copy link
Copy Markdown
Collaborator

Summary

Scanned every displayed equation in the manuscript and ensured each symbol is introduced at least once in the surrounding prose. Where variables were missing or under-explained, added succinct inline glosses in the existing "where ..." style. Definitions already established earlier (for example $\theta_i$, $c_i$, $f$, $\ell$, $\lambda$) are reused rather than repeated.

What changed, by file

  • content/03.historical.md
    • Least squares: $n$ observations, covariate $x_i$, outcome $y_i$.
    • Linear mixed model: design matrices $X$, $Z$; fixed effects $\beta$; random effects $u$ with covariance $G$; residual $\varepsilon$ with covariance $R$.
    • Bayesian hierarchy: $y_{ij}$, group parameters $\theta_j$, hyperparameters $\phi$.
    • GAM: intercept $\alpha$, smooths $f_j$ over $p$ predictors $x_{ij}$, residual $\varepsilon_i$.
    • Multi-task objective: per-task parameters $w^t$, loss $\ell$, $n_t$ samples, $T$ tasks, strength $\lambda$.
    • LinUCB: action set $\mathcal{A}$, reward parameters $\hat\theta_a$, design matrix $A_a$, exploration coefficient $\alpha$.
    • Autoregressive LM: token $x_t$, prefix $x_{<t}$, length $T$; fixed pretrained $\theta^\star$.
  • content/04.explicit.md
    • Varying-coefficient model: coefficient functions $\beta_j(c_i)$, covariates $x_{ij}$, residual $\varepsilon_i$.
  • content/06.bridge.md
    • Joint features: $\otimes$ named as the Kronecker product; dims $d_x$, $d_c$. Ridge estimator design $X$, labels $y$, penalty $\lambda$, identity $I$. Attention query/key/value projection matrices $Q$, $K$, $V$, with a note that $K$ here differs from the Gram matrix $K$ used just above.
  • content/07.principles.md
    • Potential outcomes $Y(1)$, $Y(0)$.
  • content/08.evaluation.md
    • Bias-variance bound: noise variance $\sigma^2$, smoothness/convexity constants $L$, $\mu$, smoothness exponent $\alpha$. Convergence bound: population objective $\mathcal{L}$, initialization $\theta^{(0)}$, minimizer $\theta^\star$, step size $\eta$.
  • content/09.interpretation.md
    • Local $R^2$: black-box and surrogate predictions $h_i$, $g_i$; weighted mean $\bar h$; locality kernel $\kappa$.

Notes

  • Edits are additive glosses only; no equations, results, or narrative were changed.
  • One genuine notational clash surfaced and is now flagged inline: in the theoretical bridge, $K$ denotes both the Gram matrix (part A) and the attention key-projection matrix (part B).
  • CI rebuilds HTML/PDF on merge to main.

🤖 Generated with Claude Code

cnellington and others added 11 commits July 24, 2026 23:40
Scan every displayed equation and ensure each symbol is introduced at
least once. Add succinct inline glosses where variables were missing or
under-explained:

- historical: least-squares (n, x_i, y_i), linear mixed model
  (X, Z, u, G, R), Bayesian hierarchy (y_ij, theta_j, phi), GAM
  (alpha, f_j, x_ij), multi-task (w^t, ell, n_t, T, lambda), LinUCB
  (A, theta_a, A_a, alpha), autoregressive LM (x_t, x_<t, T),
  and fixed pretrained theta*.
- explicit: varying-coefficient model coefficients and residual.
- bridge: Kronecker product and joint-feature dims, ridge design/labels,
  attention Q/K/V projection matrices (noting the K vs Gram-matrix clash).
- principles: potential outcomes Y(1), Y(0).
- evaluation: noise variance, smoothness/convexity constants, smoothness
  exponent; population objective, initialization, minimizer, step size.
- interpretation: local R^2 terms h_i, g_i, mean, locality kernel.

Reuses definitions already established (theta_i, c_i, f, ell, lambda) so
each symbol is glossed once.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Correct grammatical errors and clarify the explanation of representation learning and its implications.
Revised explanation of exploration bonus and its role in personalizing decisions. Clarified the relationship between reinforcement learning and sequential decisions.
Rearranged sentence structure for clarity in explanation of ridge regression and attention mechanism.
Clarified notation for joint features in Proposition 1.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cnellington
cnellington merged commit 8516f8a into main Jul 25, 2026
1 check passed
@cnellington
cnellington deleted the equations-variable-definitions branch July 25, 2026 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant