Skip to main content

Notation Across Sources

This page sets our notation beside the notation of five widely used textbooks and two sets of lecture notes. The Notation Choices page gives the reasons for our conventions; this page lists the symbols side by side. The data are in data/notation-conventions.csv and data/symbols-used.csv. Links in the tables go to the definitions in the DATA 571 notes, with a few to the statistics and math prerequisite notes.

Sources

The tables on this page set our notation beside the notation of these sources:

  • An Introduction to Statistical Learning, or ISL, in its R edition [1] and its Python edition [2]. They share one column because the two books use the same notation: their notation sections are word for word the same, and so are the symbols for the slack variable, the budget \(C\) and the learning rate.
  • The Elements of Statistical Learning, or ESL [3].
  • Learning From Data, or LfD [4].
  • Bishop’s Pattern Recognition and Machine Learning [5].
  • Murphy’s Probabilistic Machine Learning: An Introduction [6].
  • Two sets of lecture notes from the DATA 471/571 courses, in the last two columns: Brian Hutchinson’s lecture notes [7] and Kameron Decker Harris’ 2022 weekly notes [8].

To read the tables:

  • A dash means the source has no symbol for the concept or does not cover it. The printed chapters of LfD, for example, stop before neural networks and SVMs.
  • A cell is bold where the source writes the symbol in bold, and plain where the source does not. Hutchinson’s notes write vectors as plain letters, and Harris’ notes put an arrow over them.
  • The name of each source in a table header links to its entry in the reference list.
  • A row label links to the definition in these notes where there is one.

Differences that cause confusion

Six differences cause most of the confusion when you read across sources:

  • Labels: the two-class label is \(\{0, 1\}\) for logistic regression and \(\{-1, +1\}\) for SVMs in most sources, and always \(\{-1, +1\}\) in LfD.
  • The SVM constant \(C\): Bishop, Murphy and Hutchinson use \(C\) as a penalty on the slack, so a larger \(C\) allows fewer violations. ISL uses \(C\) as a budget on the slack, so a larger \(C\) allows more.
  • Sample index: a subscript \(i\) in ISL and ESL, a subscript \(n\) in LfD, Bishop and Murphy, and a superscript in parentheses (\(x^{(i)}\)) in Hutchinson’s notes.
  • Prediction of the fitted model, averaged over data sets: these notes write the prediction at \(x\) as \(\predvalf{x}\), as ISL and ESL do (\(\hat{f}(x)\)). Where \(x\) is fixed and its dependence is not the point, as in the bias–variance decomposition, they drop the argument and write \(\predval\). Either way the prediction is a random variable, because it depends on the training set. The average fit \(\avgfitf{x}\) is the population expectation of that prediction over training sets, written with no bar and no hat.
  • Target: Bishop calls the output \(t\) for target, and every other source calls it \(y\).
  • Subscripts and parentheses: which arguments go in a subscript and which in parentheses varies, as in \(f_\theta(x)\) versus \(f(x; \theta)\). The Notation Choices page states our convention and the alternatives.

Tables

for (g in names(notation_groups)) {
  cat("\n\n## ", notation_groups[[g]], " {#sec-notation-", g, "}\n\n", sep = "")
  cat(notation_table(g), "\n", sep = "\n")
}

Data

Table 1: Data: notation across sources
Concept These notes ISL (R, Python) ESL LfD Bishop Murphy Hutchinson Harris
Number of observations \(\nobs\) (\(N\) in the SVM chapter) \(n\) \(N\) \(N\) \(N\) \(N\) \(N\) \(n\)
Number of input variables \(\inputdim\) \(p\) \(p\) \(d\) \(D\) \(D\) \(D\) \(d\)
Vector notation a tilde under the letter: \(\vx\) plain letter for a feature vector: \(x\); bold for a vector of length \(n\): \(\mathbf{a}\) plain letter: \(x_i\); bold for a vector of length \(N\): \(\mathbf{x}_j\) bold: \(\mathbf{x}\) bold lowercase: \(\mathbf{x}\) bold lowercase: \(\mathbf{x}\) plain letter: \(x\) an arrow: \(\overrightarrow{x}\)
Input (feature vector), observed \(\vpredvar \in \reals^\inputdim\) \(x_i\) \(x_i\) \(\mathbf{x}\), with \(x_0 = 1\) \(\mathbf{x}\) \(\mathbf{x}\) \(x \in \reals^D\) \(\overrightarrow{x}_i \in \mathbb{R}^d\)
Input (feature vector), random \(\vPredvar\) \(X\) \(X\) no separate symbol no separate symbol no separate symbol no separate symbol no separate symbol
Data matrix \(\mX\) (\(\nobs \times \inputdim\)); \(\design\) (\(\nobs \times \nparams\)) after a feature map \(\mathbf{X}\) (\(n \times p\)) \(\mathbf{X}\) (\(N \times p\)) \(X\) (\(N \times (d+1)\)) \(\mathbf{X}\) (\(N \times D\)) \(\mathbf{X}\) (\(N \times D\)) \(X \in \reals^{N \times (D+1)}\), rows padded with a 1 \(X\) (\(n \times (d+1)\)), rows padded with a 1
Feature map \(\vfeatmap\) basis functions \(b_j\) basis functions \(h_m\) \(\Phi\) \(\boldsymbol{\phi}\) (design matrix \(\boldsymbol{\Phi}\)) \(\boldsymbol{\phi}\) \(\phi\) \(\Phi\) (feature matrix)
Output (response, target), observed \(\outvar\) \(y_i\) \(y_i\) \(y\) \(t\) (target) \(y\) \(y\) \(y_i\)
Output (response, target), random \(\Outvar\) \(Y\) \(Y\) no separate symbol no separate symbol no separate symbol no separate symbol \(Y\)
\(i\)th example \(\vpredvar_i\), \(\outvar_i\) (\(\vpredvar_{(i)}\), \(\outvar_{(i)}\) in the SVM chapter) \(x_i\), \(y_i\) \(x_i\), \(y_i\) \(\mathbf{x}_n\), \(y_n\) \(\mathbf{x}_n\), \(t_n\) \(\mathbf{x}_n\), \(y_n\) \(x^{(i)}\), \(y^{(i)}\) \(\overrightarrow{x}_i\), \(y_i\)
Training data \(\trainset\) — \(\mathcal{T}\) \(\mathcal{D}\) \(\mathbf{X}\), \(\mathbf{t}\) \(\mathcal{D}\) \(\mathcal{X}\) no separate symbol
Validation data \(\valset\) validation set validation set \(\mathcal{D}_{\mathrm{val}}\) validation set validation set dev set train blocks (\(K\)-fold)
Test data \(\testset\) test observations test set test set test set \(\mathcal{D}_{\mathrm{test}}\) test set test block (\(K\)-fold)

Models, loss and risk

Table 2: Models, loss and risk: notation across sources
Concept These notes ISL (R, Python) ESL LfD Bishop Murphy Hutchinson Harris
Model \(\modmem\) (family \(\modelfam\)) \(f\) \(f\) \(h \in \mathcal{H}\) (target \(f\)) \(y(\mathbf{x}, \mathbf{w})\) \(f(\mathbf{x}; \boldsymbol{\theta})\) \(h\) \(f\)
Fitted model \(\emodmem\) \(\hat{f}\) \(\hat{f}\) \(g\) \(y(\mathbf{x}, \mathbf{w}^{\star})\) \(\hat{f}\) \(h\) \(f\) (the fit model)
Fitted value \(\eoutvar_i = \emodmemf{\predvar_i}\) \(\hat{y}_i\) \(\hat{y}_i\) \(g(\mathbf{x}_n)\) \(y(\mathbf{x}_n, \mathbf{w}^{\star})\) \(\hat{y}_n\) \(h(x^{(i)})\) \(\hat{y}\)
Parameters, general \(\param\) \(\theta\) \(\theta\) \(\mathbf{w}\) \(\mathbf{w}\) \(\boldsymbol{\theta}\) \(\theta\) no separate symbol
Noise \(\noise\) \(\epsilon\) \(\varepsilon\) noisy target \(P(y \mid \mathbf{x})\) \(\epsilon\) \(\epsilon\) \(\epsilon\) \(\varepsilon\)
Loss on one example \(\lossf{\outvar, \modmemf{\vx}}\) squared error, no general symbol \(L(Y, f(X))\) \(e(h(\mathbf{x}), f(\mathbf{x}))\) \(L(t, y(\mathbf{x}))\) \(\ell(y, \hat{y})\) \(L(y, h(x))\) \(L(y, f(\overrightarrow{x}))\); cost \(C(\overrightarrow{\beta})\) summed over examples
Population (true) risk \(\poprisk\) expected test MSE \(\mathrm{Err}\), \(\mathrm{EPE}\) \(E_{\mathrm{out}}\) \(\mathbb{E}[L]\) \(L(\boldsymbol{\theta}; p^{*})\) \(R(h)\) \(E(\hat{y} - y)^2\), no name
Training error (empirical risk on the training set) \(\empriskf{\modmem; \trainset}\) training MSE \(\overline{\mathrm{err}}\) \(E_{\mathrm{in}}\) \(E(\mathbf{w})\) \(L(\boldsymbol{\theta}; \mathcal{D}_{\mathrm{train}})\) \(\hat{R}(h)\) \(\mathrm{MSE}\), cost \(C\)
Regularization strength \(\regpar\) \(\lambda\) \(\lambda\) \(\lambda\) \(\lambda\) \(\lambda\) \(\lambda\) \(\lambda\)
Learning rate (step size) \(\learnrate\) \(\rho\) \(\gamma_r\) \(\eta\) \(\eta\) \(\eta\) \(t_k\) (step size) \(h\)

Linear models

Table 3: Linear models: notation across sources
Concept These notes ISL (R, Python) ESL LfD Bishop Murphy Hutchinson Harris
Regression coefficients \(\vcoef\) \(\beta\) \(\beta\) \(\mathbf{w}\) \(\mathbf{w}\) \(\mathbf{w}\) \(\beta\) \(\overrightarrow{\beta}\)
Weights (neural networks, SVMs) \(\vw\) \(w_{kj}\), \(\beta_k\) (neural network), \(\beta_j\) (SVM) \(\alpha_m\), \(\beta_k\) (neural network), \(\beta\) (SVM) \(\mathbf{w}\) \(\mathbf{w}\) \(\mathbf{w}\) \(w\) (SVM), \(W\), \(U\) (neural network) \(w_i\) (hidden units), \(\overrightarrow{\beta}\) (output layer)
Intercept or bias \(\intcoef\) (regression), \(b\) (neural networks, SVMs) \(\beta_0\) \(\beta_0\) \(w_0\), with \(x_0 = 1\) \(w_0\) (\(b\) in the SVM chapter) \(b\) (\(w_0\) in the SVM chapter) \(\beta_0\) or \(b\), or absorbed by padding \(\hat{x} = [1; x]\) \(\beta_0\)
Logistic (sigmoid) function \(\sigmoid\) no symbol no symbol \(\theta(s)\) \(\sigma(a)\) \(\sigma(a)\) \(\sigma\) no symbol (the formula is written out)
Odds \(\odds\) no symbol (the ratio \(p(X)/[1-p(X)]\) is written out) no symbol — no symbol no symbol — no symbol
Log-odds \(\logodds\) no symbol (“log odds” in words) no symbol (the logit) — \(a\) \(a\) — \(f(\vec{x})\)
Odds ratio \(\ror\) no symbol (“log odds ratio” in words) no symbol — no symbol no symbol — no symbol
Class labels, two classes \(\{0, 1\}\) (logistic regression), \(\{-1, +1\}\) (SVMs) \(\{0, 1\}\) (logistic regression), \(\{-1, +1\}\) (SVMs) \(\{0, 1\}\) (logistic regression), \(\{-1, +1\}\) (SVMs) \(\{-1, +1\}\) \(\{0, 1\}\) (logistic regression), \(\{-1, +1\}\) (SVMs) \(\{0, 1\}\) or \(\{-1, +1\}\) \(\{0, 1\}\) (logistic regression), \(\{-1, +1\}\) (SVMs) \(\{+1, -1\}\) (logistic regression)

Neural networks

Table 4: Neural networks: notation across sources
Concept These notes ISL (R, Python) ESL LfD Bishop Murphy Hutchinson Harris
Hidden-layer values \(\vh\) \(A_k\) (activations) \(Z_m\) — \(z_j\) \(\mathbf{z}_\ell\) \(h\) \(\phi_i\), \(\overrightarrow{\phi}\)
Backpropagation error signal \(\backerr\) — \(\delta_{ki}\), \(s_{mi}\) — \(\delta_j\) Jacobian products, no symbol — —

Support vector machines

Table 5: Support vector machines: notation across sources
Concept These notes ISL (R, Python) ESL LfD Bishop Murphy Hutchinson Harris
Margin slack \(\slack\) \(\epsilon_i\) \(\xi_i\) — \(\xi_n\) \(\xi_n\) \(\xi\) —
Dual variable (Lagrange multiplier) \(\dualvar\) \(\alpha_i\) \(\alpha_i\) — \(a_n\) \(\alpha_n\) \(\alpha_i\) —
Kernel \(K(x, z)\) \(K(x_i, x_{i'})\) \(K(x, x')\) — \(k(\mathbf{x}, \mathbf{x}')\) \(K(\mathbf{x}, \mathbf{x}')\) \(K(x, z)\) \(K(x, x')\)

Unsupervised learning

Table 6: Unsupervised learning: notation across sources
Concept These notes ISL (R, Python) ESL LfD Bishop Murphy Hutchinson Harris
Number of clusters or components \(K\) \(K\) \(K\) — \(K\) \(K\) \(K\) \(K\)
Mean and covariance matrix \(\mean\), \(\covmat\) \(\mu\), \(\Sigma\) \(\mu\), \(\Sigma\) — \(\boldsymbol{\mu}\), \(\boldsymbol{\Sigma}\) \(\boldsymbol{\mu}\), \(\boldsymbol{\Sigma}\) \(\mu\), \(\Sigma\) \(\mu\), \(\sigma^2\)
Responsibility of component \(c\) for point \(i\) \(\resp_{ic}\) — \(\hat{\gamma}_i\) — \(\gamma(z_{nk})\) \(r_{nk}\) \(\gamma_{ic}\) —

Other comparisons

Subscripts and parentheses

The Notation Choices page gives the reason for our split.

Table 7: Subscripts and parentheses in these notes, and the alternatives
object our form other forms you may encounter
entry of a vector or matrix \(x_i\), \(A_{ij}\) \(x(i)\), \(A(i, j)\), and A[i, j] in code
term of a sequence \(a_n\) \(a(n)\)
function with a parameter \(f_\theta(x)\) \(f(x; \theta)\), \(f(x \mid \theta)\), \(f(x, \theta)\)
probability under a parameter \(\Pr_\theta(A)\) \(\Pr(A; \theta)\), \(\Pr(A \mid \theta)\)
derivative of order \(k\) \(f^{(k)}(x)\) \(f^{[k]}(x)\), \(\mathrm{D}^k f(x)\)
order statistic \(X_{(i)}\) \(X_{i:n}\)
sample index \(x_i\) \(x^{(i)}\)

Information matrices

Sources disagree on the symbols for the observed and expected information (Table 8).

Table 8: Notation for information matrices in several sources
Source Observed information Expected information
These notes \(\oinf\) \(\einf\)
Dobson and Barnett [9] \(-U'\) \(\mathfrak{I}\)
Dunn and Smyth [10] \(\mathfrak{I}\) \(\mathcal{I}\)
McLachlan and Krishnan [11] \(I\) \(\mathcal{I}\)
Wood [12] \(\hat{I}\) \(\mathcal{I}\)

Other symbols used

The side-by-side tables show the symbols that differ between sources. This table lists every other symbol that a chapter of these notes uses, with what it means. Where a symbol takes arguments, the letters \(a\), \(b\) and so on stand in for them.

symbols_used <- utils::read.csv(
  "data/symbols-used.csv",
  stringsAsFactors = FALSE,
  encoding = "UTF-8",
  na.strings = character(0)
)
symbols_used$meaning[is.na(symbols_used$meaning)] <- ""
symbols_table <- data.frame(
  Symbol = sprintf("$%s$", symbols_used$symbol),
  Meaning = gsub("|", "\\|", symbols_used$meaning, fixed = TRUE)
)
knitr::kable(
  symbols_table,
  format = "pipe",
  caption = "Other symbols used in these notes {#tbl-symbols-used}"
)
Table 9: Other symbols used in these notes
Symbol Meaning
\(\truthind\) a 0/1 truth indicator written delta(condition)
\(\mbackerr\) a batch matrix of backpropagation error signals
\(\thresh\) a classification threshold
\(\condnum\) a condition number
\(\corpar\) a correlation parameter
\(\Eigvals\) a diagonal matrix of eigenvalues
\(\clipthresh\) a gradient-clipping threshold
\(\bandwidth\) a kernel bandwidth
\(\lagmult\) a Lagrange multiplier
\(\decay\) a multiplicative learning-rate decay factor
\(\unitthresh\) a neuron’s firing threshold
\(\singval\) a singular value
\(\smallconst\) a small positive constant (a small step, cutoff or half-width)
\(\sdpar\) a standard-deviation parameter
\(\varpar\) a variance parameter
\(\vbackerr\) a vector of backpropagation error signals
\(\vfeatmap\) a vector of feature-map outputs (hidden-unit features)
\(\vnoise\) a vector of model error terms
\(\vprob\) a vector of probabilities
\(\abs{a}\) absolute value &#124;·&#124;
\(\votewt\) an AdaBoost vote weight
\(\wterr\) an AdaBoost weighted training error
\(\angpar\) an angle
\(\attnweight\) an attention weight
\(\eigval\) an eigenvalue
\(\hcovmat\) an estimated covariance matrix
\(\hmean\) an estimated mean
\(\hparam\) an estimated parameter
\(\hsdpar\) an estimated standard deviation
\(\tolin\) an input radius (the delta of an epsilon-delta statement), or a small allowed failure probability
\(\tolout\) an output tolerance (the epsilon of an epsilon-delta statement)
\(\argmax\) arg max operator
\(\argmin\) arg min operator
\(\paren{a}\) auto-sized parentheses around argument
\(\sb{a}\) auto-sized square brackets around argument
\(\avgfitf{a}\) average fit at input x: the population expectation over training sets of the fitted model’s value at x, mu_h(x)
\(\avgfit\) average fit: the population mean over training sets of the fitted model, written as the population mean with the model as subscript (mu_h; no bar or hat)
\(\avgiN\) average over i from 1 to N: one over N times the sum
\(\avgin\) average over i from 1 to n: one over n times the sum
\(\bestmodf{a}\) best-in-family model applied to its argument, h*(·)
\(\bestmod\) best-in-family model h*: the member of the mean-function model family closest to the target function
\(\vbeta\) beta coefficient vector
\(\bias{a}\) bias function
\(\Covs{a}{b}\) bivariate covariance Cov(·,·)
\(\vc{a}\) bold vector notation for argument
\(\clusterassignf{a}\) cluster assigned to the argument, C applied to it
\(\clusterassign\) cluster-assignment function (the encoder) of a clustering method such as k-means, C
\(\condE{a}{b}\) conditional expected value E[A &#124; B]
\(\Expfc{a}{b}\) conditional expected value E_c[·]
\(\Cov{a}\) covariance function Cov(·)
\(\dataset\) data set: the whole collection of labelled observations that the training, validation and test sets are subsets of
\(\popdevf{a}\) deviation of the argument from its population mean, 𝕕_z
\(\diag\) diagonal matrix operator (diag)
\(\diagf{a}\) diagonal of matrix applied to argument
\(\dist\) distributes as relation (∼)
\(\dprod{a}{b}\) dot product of two arguments a·b
\(\emprisk\) empirical risk R̂
\(\eqdef\) equals-by-definition symbol (≝)
\(\erf{a}\) error function ε(·); for an estimate, the estimation error (estimate minus truth)
\(\err\) error term ε
\(\veps\) error vector (ε-vector)
\(\est{a}\) estimated / hat version of argument
\(\hb\) estimated beta coefficient β̂
\(\hvb\) estimated beta vector (β̂-vector)
\(\hvcoef\) estimated coefficient vector
\(\covh{a}\) estimated covariance function Ĉov(·)
\(\epredfn\) estimated prediction function, such as one fitted from training data
\(\hcoef{a}\) estimated regression coefficient for covariate (β̂_x)
\(\hintcoef\) estimated regression intercept (β̂_0)
\(\hse{a}\) estimated standard error ŝe(·)
\(\hVar{a}\) estimated variance function V̂ar(·)
\(\norm{a}\) Euclidean norm ‖·‖
\(\expt\) exp operator symbol
\(\Ep\) expectation operator
\(\Epredvalf{a}\) expected predicted value at the covariate value given as the argument: the population expectation over training sets of the fitted model’s prediction at that value
\(\Epredval\) expected predicted value when no covariate value is salient
\(\Expf{a}\) expected value
\(\E{a}\) expected value E[·]
\(\expf{a}\) exponential function
\(\vd\) exposure vector d lowercase (d̰)
\(\failprob\) failure probability delta of a probabilistic bound (one minus the confidence level)
\(\hy\) fitted / predicted value ŷ
\(\fitmodf{a}\) fitted model obtained from the training set given as the argument, the prediction function ŷ with the training set as subscript
\(\hf\) fitted prediction function (f̂)
\(\hfx{a}\) fitted prediction function applied to its argument, f̂(·)
\(\floor{a}\) floor function ⌊·⌋
\(\hR\) Gelman-Rubin convergence diagnostic (potential scale reduction factor, R-hat)
\(\grad\) gradient operator ∇
\(\gg\) Greek letter gamma
\(\growthfnf{a}\) growth function at n points, m_Y(n)
\(\hatmat\) hat matrix H, which maps observed responses to fitted responses
\(\h\) hazard function symbol h
\(\cutheight\) height h at which a dendrogram is cut
\(\imgheight\) height of an image or feature map, in pixels
\(\vxi\) i-th observation vector x̰_i
\(\siid\) i.i.d. distributed relation
\(\testidx\) index set of the test set
\(\trainidx\) index set of the training set
\(\validx\) index set of the validation set
\(\indicp{a}\) indicator function 𝟙(·) with parentheses
\(\indic{a}\) indicator function 𝟙_{·} (blackboard bold)
\(\mpredvar\) input matrix: the predictor vectors of all n observations, one per row
\(\levelsetof{a}{b}\) level set of the function given as the second argument at the value given as the first, the preimage of that single value
\(\preimage{a}{b}\) preimage of the set given as the second argument under the function given as the first
\(\leverage{a}\) leverage of the observation given as the argument, h with the observation as subscript
\(\llik\) log-likelihood symbol (ℓ)
\(\logodds\) log-odds symbol η
\(\sigmoidf{a}\) logistic (sigmoid) function applied to its argument, expit(·)
\(\logit\) logit function
\(\loss\) loss function symbol (L)
\(\obsloss{a}\) loss on one observation, ℓ_i (argument: the observation index)
\(\machineps\) machine epsilon
\(\cent{a}\) mark for the centered version of the argument (the data with its mean subtracted)
\(\matr{a}\) matrix notation (bold style)
\(\trf{a}\) matrix trace applied to argument
\(\tr\) matrix trace operator (tr)
\(\avgleverage\) mean leverage, h-bar
\(\vm\) mean vector (μ-vector)
\(\modmemof{a}\) member (or fit) h of the mean-function model family given as the argument, h with the family as subscript
\(\inv{a}\) multiplicative inverse (·)^{−1} with parentheses
\(\lpnorm{a}\) name of an ℓ_p norm or penalty, such as ℓ_1 or ℓ_2 (argument: p)
\(\ndist{a}\) Normal distribution expression N(·)
\(\Normal\) Normal distribution label N
\(\nmodels\) number M of models (classifiers) in a model family
\(\odds\) odds symbol ω
\(\vy\) outcome vector y (y̰)
\(\pt{a}\) parenthesized transpose (x)′
\(\deriv{a}\) partial derivative operator ∂/∂(·)
\(\derivf{a}{b}\) partial derivative ∂f/∂x with numerator
\(\popdist\) population distribution P that the data are drawn from
\(\pMSE{a}\) population mean squared error pMSE(·) applied to argument
\(\popriskf{a}\) population risk of a model, R(·)
\(\Prf{a}\) Pr(·) probability expression
\(\predval\) predicted value of the outcome
\(\predvalf{a}\) prediction at the covariate value given as the argument, from the model that a fitting procedure fits to the training set
\(\prederr\) prediction error, predicted minus observed outcome
\(\predfnf{a}\) prediction function applied to the argument
\(\predfam\) prediction function family Y-script: the set of prediction functions that training chooses from
\(\Predvar\) predictor variable, random variable
\(\Pf{a}\) probability P(·)
\(\prob\) probability symbol π
\(\prodin\) product over i from 1 to n
\(\coef{a}\) regression coefficient for covariate (β_x)
\(\regcoef\) regression coefficient symbol β
\(\ve\) residual vector e (ḛ)
\(\sMAEt\) sample mean absolute error operator sMAE, the estimator of pMAE (no hat form is needed)
\(\sMSEt\) sample mean squared error operator sMSE, the estimator of pMSE (no hat form is needed)
\(\sMSE{a}\) sample mean squared error sMSE(·) applied to argument
\(\xbar\) sample mean x̄
\(\sRMSEt\) sample root mean squared error operator sRMSE, the estimator of pRMSE (no hat form is needed)
\(\score\) score function ℓ′
\(\stprod{a}\) self transpose-based product x′x
\(\set{a}\) set notation {·}
\(\poolsize\) side length q of a square pooling block, in pixels
\(\sign\) sign operator
\(\sqf{a}\) square of argument (·)²
\(\normsq{a}\) squared norm ‖·‖²
\(\SE{a}\) standard error function SE(·)
\(\ind\) statistical independence symbol (⊥⊥)
\(\sumiN\) sum over i from 1 to N
\(\sumin\) sum over i from 1 to n
\(\sumip\) sum over i from 1 to p
\(\sumjp\) sum over j from 1 to p
\(\sumto{a}{b}\) sum over the first argument from 1 to the second
\(\targetfn\) target function \(\mu\): the true relationship between inputs and outcomes
\(\targetfnf{a}\) target function applied to its argument, \(\mu\)(·)
\(\armijo\) the Armijo sufficient-decrease constant of a backtracking line search
\(\degmat\) the degree matrix of a similarity graph
\(\recallweight\) the F-beta weight on recall
\(\schedfrac\) the fraction of a learning-rate schedule that has elapsed
\(\vhidgrad\) the gradient of the loss with respect to a hidden layer’s output
\(\shrinkage\) the gradient-boosting shrinkage factor
\(\leak\) the negative-side slope of a leaky ReLU
\(\svfrac\) the nu-SVM bound on the fraction of margin errors
\(\schedlen\) the number of updates a learning-rate schedule runs over
\(\linefn\) the one-variable function a line search minimizes
\(\coordfactor\) the per-coordinate contraction factor of gradient descent
\(\convrate\) the per-step contraction factor of gradient descent
\(\prevalence\) the prevalence of the positive class
\(\typetwoerr\) the probability of a type II error
\(\siglevel\) the significance level of a test
\(\tf\) therefore symbol (∴)
\(\vt\) time vector t lowercase (t̰)
\(\dif{a}{b}\) total derivative fraction dF/dt (numerator first, denominator second)
\(\tp{a}\) transpose of argument x′
\(\truemean\) true mean function \(\mu\): the population mean of the outcome given the inputs
\(\truemeanf{a}\) true mean function applied to its argument, \(\mu\)(·)
\(\vY\) uppercase outcome vector Y (Y̰)
\(\hidval\) value of a hidden unit in a neural network, h
\(\hidvalof{a}\) value of the hidden unit given as the argument, h with the unit as subscript
\(\vcdim\) Vapnik-Chervonenkis dimension d_VC: the largest number of points the model family shatters
\(\Var{a}\) variance function
\(\vcdimf{a}\) VC dimension of a model family, d_VC(·)
\(\va\) vector a (a̰)
\(\vg\) vector g, such as a gradient (g̰)
\(\vecf{a}\) vector notation
\(\vec{a}\) vector notation (undertilde style)
\(\vhidval\) vector of hidden-unit values (or a recurrent network’s hidden state), h̰
\(\voutvar\) vector of observed outcomes
\(\vone\) vector of ones
\(\vprederr\) vector of prediction errors, predicted minus observed outcomes
\(\vp\) vector p, such as a probability distribution (p̰)
\(\vq\) vector q, such as a second probability distribution (q̰)
\(\vr\) vector r (r̰)
\(\v{a}\) vector shorthand
\(\vu\) vector u (ṵ)
\(\vv\) vector v (v̰)
\(\vz\) vector z (z̰)
\(\imgwidth\) width of an image or feature map, in pixels
\(\vzero\) zero vector

Every symbol

This table lists every symbol that a macro in these notes prints, with one row per distinct symbol. Macros that expand to the same symbol, such as aliases and deprecated forms, share a row. The table is generated from macros.qmd by tools/gen_symbols.py, so it includes each new macro. Where a symbol takes arguments, the letters \(a\), \(b\) and so on stand in for them.

symbols_all <- utils::read.csv(
  "data/symbols-all.csv",
  stringsAsFactors = FALSE,
  encoding = "UTF-8",
  na.strings = character(0)
)
all_table <- data.frame(
  Symbol = sprintf("$%s$", symbols_all$symbol),
  Macros = sprintf("`%s`", symbols_all$macros),
  Meaning = gsub("|", "\\|", symbols_all$interpretation, fixed = TRUE)
)
# A macro named in the meaning, such as an alias note or a print hint, is
# shown as code, with its braced arguments, subscripts, superscripts and
# any macro that follows it inside the one code span, so that markdown does
# not read its backslash or underscore as markup.
all_table$Meaning <- gsub(
  paste0(
    "(\\\\[A-Za-z]+(?:(?<b>\\{(?:[^{}]|(?&b))*\\})",
    "|[_^](?:(?&b)|\\\\[A-Za-z]+|[A-Za-z0-9])",
    "|\\\\[A-Za-z]+)*)"
  ),
  "`\\1`", all_table$Meaning,
  perl = TRUE
)
knitr::kable(
  all_table,
  format = "pipe",
  caption = "Every symbol that a macro prints {#tbl-symbols-all}"
)
Table 10: Every symbol that a macro prints
Symbol Macros Meaning
\(\'\) \' transpose superscript ⊤
\(\1{a}\) \1 indicator function 1_{·} (upright subscript style)
\(\a\) \a \ga \leak \shape \accept \combwt \lowend \votewt \dualvar \adjlevel \siglevel \learnrate \attnweight Greek letter alpha (alias for \ga)
\(\abs{a}\) \abs absolute value &#124;·&#124;
\(\aCov{a}\) \aCov asymptotic covariance aCov(·)
\(\all\) \all universal quantifier (∀)
\(\am\) \am \argmax arg max operator
\(\amin\) \amin \argmin arg min operator
\(\and\) \and set intersection (∩)
\(\angb{a}\) \angb angle brackets ⟨·⟩ sized to their contents
\(\arcoef\) \arcoef \corpar \convrate \overdisp autoregressive coefficient ρ
\(\armijo\) \armijo the Armijo sufficient-decrease constant of a backtracking line search (prints c_1)
\(\ATT\) \ATT average treatment effect on the treated label ATT
\(\ATTf{a}\) \ATTf average treatment effect on the treated function ATT(·)
\(\aug{a}\) \aug mark for the augmented version of the argument (extended with additional entries)
\(\aVar{a}\) \aVar asymptotic variance aVar(·)
\(\avgcrossent\) \avgcrossent average cross-entropy per example, the sum over the N examples divided by N (prints \smean{\crossentropy})
\(\avgcrossentbase{a}\) \avgcrossentbase average cross-entropy per example with the base of the logarithm as the argument (prints \avgcrossent with that subscript, as in \avgcrossentbase{b})
\(\avgfit\) \avgfit average fit: the population mean over training sets of the fitted model, written as the population mean with the model as subscript (mu_h; no bar or hat)
\(\avgfitf{a}\) \avgfitf average fit at input x: the population expectation over training sets of the fitted model’s value at x, mu_h(x)
\(\avgiN\) \avgiN average over i from 1 to N: one over N times the sum
\(\avgin\) \avgin average over i from 1 to n: one over n times the sum
\(\avgiNf{a}\) \avgiNf average over i from 1 to N of the argument (·)
\(\avginf{a}\) \avginf average over i from 1 to n of the argument (·)
\(\avgleverage\) \avgleverage mean leverage, h-bar
\(\avgon{a}\) \avgon average over the observations in an index set: one over the set’s size times the sum over its members
\(\avgonf{a}{b}\) \avgonf average over the observations in an index set of the second argument (·)
\(\avgto{a}{b}\) \avgto average over the first argument from 1 to the second: one over the second argument times the sum
\(\avgtof{a}{b}{c}\) \avgtof average over the first argument from 1 to the second of the third argument (·)
\(\b\) \b \gb \shapeb \combwtb \highend \regcoef \quantlevel \typetwoerr \recallweight Greek letter beta (β)
\(\ba a\ea\) \ba begin aligned math environment
\(\basemeasuref{a}\) \basemeasuref base measure of an exponential family at its argument (same as \rfacf; prints h(#1))
\(\bbC\) \bbC blackboard bold C (complex numbers)
\(\bbQ\) \bbQ blackboard bold Q (rational numbers)
\(\bbR\) \bbR \reals blackboard bold R (real numbers)
\(\bbZ\) \bbZ blackboard bold Z (integers)
\(\Ber\) \Ber Bernoulli distribution label
\(\Bernoulli\) \Bernoulli Bernoulli distribution label (long form)
\(\bestmod\) \bestmod best-in-family model h*: the member of the mean-function model family closest to the target function
\(\bestmodf{a}\) \bestmodf best-in-family model applied to its argument, h*(·)
\(\bestpredfn\) \bestpredfn best prediction function f*: the conditional mean of the outcome given the inputs, which minimizes the squared-error risk
\(\bestpredfnf{a}\) \bestpredfnf best prediction function applied to its argument, f*(·)
\(\bfA\) \bfA bold Roman capital letter A
\(\bfa\) \bfa bold Roman lowercase letter a
\(\bfalpha\) \bfalpha bold Greek lowercase letter alpha
\(\bfB\) \bfB bold Roman capital letter B
\(\bfb\) \bfb bold Roman lowercase letter b
\(\bfbeta\) \bfbeta bold Greek lowercase letter beta
\(\bfC\) \bfC bold Roman capital letter C
\(\bfc\) \bfc bold Roman lowercase letter c
\(\bfchi\) \bfchi bold Greek lowercase letter chi
\(\bfD\) \bfD bold Roman capital letter D
\(\bfd\) \bfd bold Roman lowercase letter d
\(\bfDelta\) \bfDelta bold Greek capital letter Delta
\(\bfdelta\) \bfdelta bold Greek lowercase letter delta
\(\bfE\) \bfE bold Roman capital letter E
\(\bfe\) \bfe bold Roman lowercase letter e
\(\bfepsilon\) \bfepsilon bold Greek lowercase letter epsilon
\(\bfeta\) \bfeta bold Greek lowercase letter eta
\(\bfF\) \bfF bold Roman capital letter F
\(\bff\) \bff bold Roman lowercase letter f
\(\bfG\) \bfG bold Roman capital letter G
\(\bfg\) \bfg bold Roman lowercase letter g
\(\bfGamma\) \bfGamma bold Greek capital letter Gamma
\(\bfgamma\) \bfgamma bold Greek lowercase letter gamma
\(\bfH\) \bfH bold Roman capital letter H
\(\bfh\) \bfh bold Roman lowercase letter h
\(\bfI\) \bfI bold Roman capital letter I
\(\bfi\) \bfi bold Roman lowercase letter i
\(\bfiota\) \bfiota bold Greek lowercase letter iota
\(\bfJ\) \bfJ bold Roman capital letter J
\(\bfj\) \bfj bold Roman lowercase letter j
\(\bfK\) \bfK bold Roman capital letter K
\(\bfk\) \bfk bold Roman lowercase letter k
\(\bfkappa\) \bfkappa bold Greek lowercase letter kappa
\(\bfL\) \bfL bold Roman capital letter L
\(\bfl\) \bfl bold Roman lowercase letter l
\(\bfLambda\) \bfLambda bold Greek capital letter Lambda
\(\bflambda\) \bflambda bold Greek lowercase letter lambda
\(\bfM\) \bfM bold Roman capital letter M
\(\bfm\) \bfm bold Roman lowercase letter m
\(\bfmu\) \bfmu bold Greek lowercase letter mu
\(\bfN\) \bfN bold Roman capital letter N
\(\bfn\) \bfn bold Roman lowercase letter n
\(\bfnu\) \bfnu bold Greek lowercase letter nu
\(\bfO\) \bfO bold Roman capital letter O
\(\bfo\) \bfo bold Roman lowercase letter o
\(\bfOmega\) \bfOmega bold Greek capital letter Omega
\(\bfomega\) \bfomega bold Greek lowercase letter omega
\(\bfP\) \bfP bold Roman capital letter P
\(\bfp\) \bfp bold Roman lowercase letter p
\(\bfPhi\) \bfPhi bold Greek capital letter Phi
\(\bfphi\) \bfphi bold Greek lowercase letter phi
\(\bfPi\) \bfPi bold Greek capital letter Pi
\(\bfpi\) \bfpi bold Greek lowercase letter pi
\(\bfPsi\) \bfPsi bold Greek capital letter Psi
\(\bfpsi\) \bfpsi bold Greek lowercase letter psi
\(\bfQ\) \bfQ bold Roman capital letter Q
\(\bfq\) \bfq bold Roman lowercase letter q
\(\bfR\) \bfR bold Roman capital letter R
\(\bfr\) \bfr bold Roman lowercase letter r
\(\bfrho\) \bfrho bold Greek lowercase letter rho
\(\bfS\) \bfS bold Roman capital letter S
\(\bfs\) \bfs bold Roman lowercase letter s
\(\bfSigma\) \bfSigma bold Greek capital letter Sigma
\(\bfsigma\) \bfsigma bold Greek lowercase letter sigma
\(\bfT\) \bfT bold Roman capital letter T
\(\bft\) \bft bold Roman lowercase letter t
\(\bftau\) \bftau bold Greek lowercase letter tau
\(\bfTheta\) \bfTheta bold Greek capital letter Theta
\(\bftheta\) \bftheta bold Greek lowercase letter theta
\(\bfU\) \bfU bold Roman capital letter U
\(\bfu\) \bfu bold Roman lowercase letter u
\(\bfUpsilon\) \bfUpsilon bold Greek capital letter Upsilon
\(\bfupsilon\) \bfupsilon bold Greek lowercase letter upsilon
\(\bfV\) \bfV bold Roman capital letter V
\(\bfv\) \bfv bold Roman lowercase letter v
\(\bfvarepsilon\) \bfvarepsilon bold Greek lowercase letter varepsilon
\(\bfvarphi\) \bfvarphi bold Greek lowercase letter varphi
\(\bfvarpi\) \bfvarpi bold Greek lowercase letter varpi
\(\bfvarrho\) \bfvarrho bold Greek lowercase letter varrho
\(\bfvarsigma\) \bfvarsigma bold Greek lowercase letter varsigma
\(\bfvartheta\) \bfvartheta bold Greek lowercase letter vartheta
\(\bfW\) \bfW bold Roman capital letter W
\(\bfw\) \bfw bold Roman lowercase letter w
\(\bfX\) \bfX bold Roman capital letter X
\(\bfx\) \bfx bold Roman lowercase letter x
\(\bfXi\) \bfXi bold Greek capital letter Xi
\(\bfxi\) \bfxi bold Greek lowercase letter xi
\(\bfY\) \bfY bold Roman capital letter Y
\(\bfy\) \bfy bold Roman lowercase letter y
\(\bfZ\) \bfZ bold Roman capital letter Z
\(\bfz\) \bfz bold Roman lowercase letter z
\(\bfzero\) \bfzero bold zero vector/number
\(\bfzeta\) \bfzeta bold Greek lowercase letter zeta
\(\Bias{a}\) \Bias bias function Bias(·)
\(\bias{a}\) \bias bias function (alias for \Bias)
\(\biassym\) \biassym short bias operator 𝔹 (no argument, blackboard bold like \Expp)
\(\biassymf{a}\) \biassymf short bias operator applied to an estimator, like \E (prints \biassym with its argument in square brackets)
\(\Biast\) \Biast \biast bias operator Bias
\(\bigO{a}\) \bigO \asymub big-O asymptotic upper bound applied to its argument (prints O(g), italic)
\(\binomial{a}{b}\) \binomial binomial coefficient, “n choose k” (prints \binom{n}{k})
\(\black{a}\) \black typeset argument in black
\(\blue{a}\) \blue typeset argument in blue
\(\brown{a}\) \brown typeset argument in brown
\(\candfnset{a}\) \candfnset set of candidate prediction functions of a fitting procedure, with the index of the procedure as the subscript
\(\candpredvalf{a}{b}\) \candpredvalf prediction at the covariate value given as the second argument, from the model that the candidate procedure with the index given as the first argument fits to the training set (prints \fitted_{l}\paren{x}, where the subscript is the candidate index, not an observation index; the candidate counterpart of \predvalf; unlike \predval and unlike \epredfnf, which applies any estimated prediction function, it is fixed to the candidate’s training-set fit)
\(\candproc{a}\) \candproc candidate fitting procedure with the index given as the argument, g with that subscript
\(\candproctuned{a}\) \candproctuned fitting procedure with the label given as the argument as a superscript, such as CV for the cross-validation choice procedure
\(\candproctunedf{a}{b}\) \candproctunedf fitted model that the tuned procedure with the label given as the first argument fits to the data set given as the second argument (prints \candproctuned{\text{CV}}\paren{D}; the f form of \candproctuned, which names the procedure and leaves the data set implicit)
\(\card{a}\) \card \strlen cardinality (number of elements) of a finite set &#124;·&#124;
\(\cb{a}\) \cb auto-sized curly braces around argument
\(\cbl{a}\) \cbl left curly brace (open only)
\(\cbmat{a}\) \cbmat matrix wrapped in auto-sized curly braces
\(\cbr{a}\) \cbr right curly brace after the argument (close only), auto-sized to span the argument
\(\ccp{a}{b}\) \ccp \cpf column-column matrix product A′B (alias for \ccprod)
\(\cd\) \cd \dpr centered dot multiplication symbol (·)
\(\cdev\) \cdev \devn \devval \popdev \deviation deviation from conditional mean (alias for \popdev, symbol 𝕕; the noise is \Noise, which prints ε)
\(\cdff{a}\) \cdff cumulative distribution function F(·) applied to argument
\(\cds\) \cds centered ellipsis (⋯)
\(\ceil{a}\) \ceil ceiling function (alias for \ceiling)
\(\ceiling{a}\) \ceiling ceiling function ⌈·⌉
\(\censhist{a}\) \censhist censoring history through time k (prints \bar{C}_k)
\(\censvalhist{a}\) \censvalhist a censoring-history value through time k (prints \bar{c}_k)
\(\cent{a}\) \cent mark for the centered version of the argument (the data with its mean subtracted)
\(\ci\) \ci full confidence interval expression
\(\ciid\) \ciid conditionally i.i.d. label
\(\cilo\) \cilo \loss \ncand \expcodelen lower endpoint statistic of a confidence interval (prints L)
\(\cilof{a}\) \cilof lower endpoint statistic of a confidence interval as a function of the data (prints L\paren{x})
\(\cintf{a}\) \cintf confidence interval as the closed interval of its endpoint statistics (prints \sb{\cilof{x}, \ciupf{x}})
\(\cirad\) \cirad confidence interval radius expression
\(\ciradf{a}\) \ciradf confidence interval radius with argument
\(\ciup\) \ciup upper endpoint statistic of a confidence interval (prints U)
\(\ciupf{a}\) \ciupf upper endpoint statistic of a confidence interval as a function of the data (prints U\paren{x})
\(\ckolmf{a}{b}\) \ckolmf conditional Kolmogorov complexity of a string given an input, K(x &#124; n)
\(\clusterassign\) \clusterassign cluster-assignment function (the encoder) of a clustering method such as k-means, C
\(\clusterassignf{a}\) \clusterassignf cluster assigned to the argument, C applied to it
\(\cmean\) \cmean conditional population mean function of the outcome given the predictor, the subscripted \truemean with the subscript \Outvar \given \Predvar and no argument
\(\cmeanf{a}\) \cmeanf conditional population mean of the outcome given the predictor at x, \cmeanf{x}; the same as \truemeansubf{\Outvar \given \Predvar}{x} and \condE{\Outvar}{\Predvar = x}
\(\cmutinfof{a}{b}{c}\) \cmutinfof mutual information of two random variables given a third, I(X; Y &#124; Z)
\(\codelenf{a}\) \codelenf length of the codeword for a symbol, ℓ(x)
\(\codeparams{a}{b}{c}{d}\) \codeparams parameters of a linear code: block length, message length, minimum distance, alphabet size, [n, k, d]_q
\(\Coef{a}\) \Coef uppercase regression coefficient for covariate (B_x)
\(\coef{a}\) \coef regression coefficient for covariate (β_x)
\(\coll\) \coll \scrC \collection collection of sets symbol 𝒞
\(\condcdf{a}{b}\) \condcdf conditional cumulative distribution function F(A &#124; B), \condcdf{A}{B}
\(\condCov{a}{b}{c}\) \condCov conditional covariance Cov(A, B &#124; C), \condCov{A}{B}{C}
\(\condE{a}{b}\) \condE conditional expected value E[A &#124; B], \condE{A}{B}
\(\condpdf{a}{b}\) \condpdf conditional probability density function f(A &#124; B), \condpdf{A}{B}
\(\condpmf{a}{b}\) \condpmf conditional probability mass function (prints \pmf of A given B), \condpmf{A}{B}
\(\condpopriskf{a}{b}\) \condpopriskf conditional (pointwise) risk of a model at an input, R(f &#124; x): the expected loss given the input; its average over the input is the population risk
\(\condPr{a}{b}\) \condPr conditional probability Pr(A &#124; B), \condPr{A}{B}
\(\condVar{a}{b}\) \condVar conditional variance Var(A &#124; B), \condVar{A}{B}
\(\Cor{a}\) \Cor correlation function Cor(·)
\(\Corf{a}\) \Corf correlation function (alias for \Cor)
\(\Corr{a}\) \Corr correlation Corr(·) applied to argument
\(\Corrf{a}\) \Corrf correlation Corr(·) applied to argument (alias for \Corr)
\(\Corrs{a}{b}\) \Corrs correlation Corr(·, ·) applied to two arguments
\(\Corrt\) \Corrt correlation operator Corr
\(\Cors{a}{b}\) \Cors bivariate correlation Cor(·,·)
\(\Cort\) \Cort correlation operator symbol Cor
\(\cosf{a}\) \cosf cosine function applied to its argument, cos(·)
\(\cossim\) \cossim cosine similarity: dot product divided by the product of the lengths
\(\cossimf{a}{b}\) \cossimf cosine similarity applied to two arguments, cossim(x, y)
\(\Cov{a}\) \Cov covariance function Cov(·)
\(\Covf{a}\) \Covf covariance function (alias for \Cov)
\(\covh{a}\) \covh estimated covariance function Ĉov(·)
\(\covhf{a}\) \covhf \hcovf estimated covariance function (alias)
\(\covhist{a}\) \covhist covariate history through time k (prints \bar{L}_k)
\(\covmat\) \covmat \codealph a covariance matrix (prints \Sigma)
\(\Covs{a}{b}\) \Covs bivariate covariance Cov(·,·)
\(\Covt\) \Covt covariance operator symbol Cov
\(\covvalhist{a}\) \covvalhist a covariate-history value through time k (prints \bar{l}_k)
\(\cprob{a}\) \cprob complementary probability, the probability 1 - p of the complement (prints p^{\mathsf{c}})
\(\cR\) \cR \Range \range \riskset range / codomain symbol ℛ
\(\crossentropyf{a}{b}\) \crossentropyf cross-entropy of the second distribution relative to the first, H(p, q)
\(\cuhaz\) \cuhaz \cumhaz cumulative hazard symbol Λ
\(\cuhazfactorf{a}\) \cuhazfactorf cumulative hazard factor function θ_Λ(·)
\(\cuhazff{a}\) \cuhazff \fcuhazf cumulative hazard factor function (shorthand for \cuhazfactorf)
\(\cuhazr\) \cuhazr \rcuhaz \cuhazratio cumulative hazard ratio (alias for \cuhazratio)
\(\cuhazratiof{a}\) \cuhazratiof cumulative hazard ratio function ϙ_Λ(·)
\(\cuhazrf{a}\) \cuhazrf \rcuhazf cumulative hazard ratio function (alias for \cuhazratiof)
\(\cum{a}\) \cum cumulative-exposure operator cum(·)
\(\cvest{a}\) \cvest cross-validation estimate of generalization error, Êrr_CV(k)
\(\cvestof{a}{b}\) \cvestof k-fold cross-validation estimate of the generalization error of fitting procedure g, Êrr^g_CV(k); \cvestof{k}{g}
\(\cvestoff{a}{b}{c}\) \cvestoff k-fold cross-validation estimate of the generalization error of the fitting procedure given as the second argument, computed on the data set given as the third argument (prints \cvestof{k}{g}\paren{D}; the f form of \cvestof, which leaves the data set implicit)
\(\cvse{a}\) \cvse standard error SE_CV(k) of the cross-validation estimate
\(\cvseof{a}{b}\) \cvseof standard error of the k-fold cross-validation estimate for fitting procedure g, SE^g_CV(k); \cvseof{k}{g}
\(\cvseoff{a}{b}{c}\) \cvseoff standard error of the k-fold cross-validation estimate for the fitting procedure given as the second argument, computed on the data set given as the third argument (prints \cvseof{k}{g}\paren{D}; the f form of \cvseof, which leaves the data set implicit)
\(\cyan{a}\) \cyan typeset argument in cyan
\(\dapp\) \dapp approximately equal dot notation (≐)
\(\darkgray{a}\) \darkgray typeset argument in dark gray
\(\dataset\) \dataset data set: the whole collection of labelled observations that the training, validation and test sets are subsets of (prints a calligraphic D)
\(\dBern\) \dBern Bernoulli distribution operator (statmath prefix)
\(\dBernf{a}\) \dBernf Bernoulli distribution applied to parameters
\(\dBeta\) \dBeta Beta distribution operator
\(\dBetaf{a}\) \dBetaf Beta distribution applied to parameters
\(\dBin\) \dBin Binomial distribution operator
\(\dBinf{a}\) \dBinf Binomial distribution applied to parameters
\(\dderiv{a}\) \dderiv second partial derivative ∂²/∂(·)²
\(\dderivf{a}{b}\) \dderivf second partial derivative ∂²f/∂x²
\(\defEInf\) \defEInf definitional expression for expected information ℐ
\(\defeq\) \defeq \eqdef equals-by-definition (alias for \eqdef)
\(\defHess\) \defHess definitional expression for Hessian matrix ℓ″
\(\defHR\) \defHR definitional expression for hazard ratio
\(\defLik\) \defLik definitional expression for likelihood ℒ(θ)
\(\defLogLik\) \defLogLik definitional expression for log-likelihood ℓ
\(\defOInf\) \defOInf definitional expression for observed information I
\(\defScore\) \defScore definitional expression for score function ℓ′
\(\deriv{a}\) \deriv partial derivative operator ∂/∂(·)
\(\derivf{a}{b}\) \derivf partial derivative ∂f/∂x with numerator
\(\derivfdn{a}{b}\) \derivfdn alias for \derivff (denominator first, numerator second)
\(\derivff{a}{b}\) \derivff partial derivative ∂f/∂x (reversed argument order)
\(\derivfnd{a}{b}\) \derivfnd alias for \derivf (numerator first, denominator second)
\(\derivfslash{a}{b}\) \derivfslash partial derivative ∂f/∂x written with a slash (prints \partial f / \partial x)
\(\design\) \design \mdesign a design matrix built from a feature map (prints bold D) (alias for \mdesign)
\(\detf{a}\) \detf determinant of its argument, det(·)
\(\deviance\) \deviance deviance of a fitted model: twice the gap between the saturated model’s log-likelihood and its own (prints the upright name dev, because an abbreviation is a name)
\(\deviationf{a}{b}\) \deviationf deviation of the first argument from the reference value in the second, 𝔻_r(z)
\(\Devn\) \Devn \diff \mahal \change \degmat \subdiv \estimand \mbackerr \Deviation uppercase deviation (alias for \Deviation)
\(\devnv\) \devnv \deviationv deviation vector (alias for \deviationv)
\(\devof{a}{b}\) \devof deviation of the first argument from the reference value in the second (prints the first minus the second inside parentheses; see notation-choices for compound references)
\(\devsq{a}{b}\) \devsq squared deviation of the first argument from the reference value in the second (𝔻_r(z))²
\(\devsym\) \devsym deviation operator 𝔻 for any random variable, X minus its mean (blackboard bold like \varsym and \Expp; the design matrix \mdesign is bold D, and the observed value 𝕕 is \deviation)
\(\devsymf{a}\) \devsymf deviation operator applied to a random variable, like \varsymf (prints \devsym with its argument in square brackets)
\(\dexp\) \dexp derivative of exponential (exp′)
\(\dexpf{a}\) \dexpf derivative of exp applied to argument
\(\dexpitf{a}\) \dexpitf derivative of expit function
\(\dF\) \dF F-distribution operator
\(\df\) \df degrees of freedom (prints the upright name df, because an abbreviation is a name)
\(\dFf{a}\) \dFf F-distribution applied to parameters
\(\dGam\) \dGam Gamma distribution operator
\(\dGamf{a}\) \dGamf Gamma distribution applied to parameters
\(\diag\) \diag diagonal matrix operator (diag)
\(\diagf{a}\) \diagf diagonal of matrix applied to argument
\(\dicdev\) \dicdev Bayesian deviance used by the deviance information criterion: minus twice the log-likelihood, with no saturated term (prints \deviance_{\mathrm{DIC}})
\(\dicdevf{a}\) \dicdevf Bayesian deviance at a parameter value, dev_DIC(·) (prints \dicdev followed by its argument in parentheses)
\(\dif{a}{b}\) \dif total derivative fraction dF/dt (numerator first, denominator second)
\(\diffeta\) \diffeta difference in eta Δη (alias for \difflogodds)
\(\diffloghaz\) \diffloghaz difference in log-hazard Δη
\(\difflogodds\) \difflogodds difference in log-odds Δη
\(\diffvpredvar\) \diffvpredvar change in the predictor vector, the difference of two predictor vectors (prints Δx̰)
\(\diffvx\) \diffvx difference in x-vector Δx̰
\(\dInvGam\) \dInvGam Inverse-Gamma distribution operator
\(\dInvGamf{a}\) \dInvGamf Inverse-Gamma distribution applied to parameters
\(\dinvoddsf{a}\) \dinvoddsf derivative of inverse odds (alias)
\(\dInvW\) \dInvW Inverse-Wishart distribution operator
\(\dInvWf{a}\) \dInvWf Inverse-Wishart distribution applied to parameters
\(\dist\) \dist distributes as relation (∼)
\(\distfam\) \distfam \powersetsym probability distribution model family P-script: a set of probability distribution models, each a candidate for the distribution of the outcome given the covariate (distribution level)
\(\distfamof{a}\) \distfamof distribution model family with its label as the subscript, P-script with the label below
\(\distmem\) \distmem \popdist \nnetparams generic member P of a distribution model family: a probability distribution model for the outcome given the covariate; the mean-function model it contains is \meanfnof{\distmem}
\(\distmemof{a}\) \distmemof member of a distribution model family, with its label as the subscript, P with the label below
\(\distop{a}\) \distop blackboard bold distribution/function symbol (the shared form of \p, \f, \F, \h, \H, \S, \Q, \entropy and \surprisal)
\(\dLaplace\) \dLaplace Laplace distribution operator
\(\dLaplacef{a}\) \dLaplacef Laplace distribution applied to parameters
\(\dlog\) \dlog derivative of log (log′)
\(\dlogf{a}\) \dlogf derivative of log applied to argument
\(\dMN\) \dMN Multinomial/Matrix-Normal distribution operator
\(\dMNf{a}\) \dMNf Multinomial/Matrix-Normal distribution applied to parameters
\(\dN\) \dN \Normal Normal distribution operator (statmath prefix)
\(\dNf{a}\) \dNf Normal distribution applied to parameters
\(\doddsf{a}\) \doddsf derivative of odds function odds′{·}
\(\doddsinvf{a}\) \doddsinvf derivative of inverse odds function
\(\dpf{a}{b}\) \dpf \dprodf dot product a·b (alias for \dprodf)
\(\dPo\) \dPo Poisson distribution operator (statmath prefix)
\(\dPof{a}\) \dPof Poisson distribution applied to parameters
\(\dprod{a}{b}\) \dprod dot product of two arguments a·b
\(\dsim\) \dsim \ddist approximately distributes as (alias for \ddist)
\(\dsn{a}\) \dsn sequence x₁, …, xₙ
\(\dsvn{a}{b}\) \dsvn paired sequence X₁=x₁, …, Xₙ=xₙ (alias)
\(\dt\) \dt Student-t distribution operator
\(\dtf{a}\) \dtf Student-t distribution applied to parameters
\(\dW\) \dW Wishart distribution operator
\(\dWeib\) \dWeib Weibull distribution operator
\(\dWeibf{a}\) \dWeibf Weibull distribution applied to parameters
\(\dWf{a}\) \dWf Wishart distribution applied to parameters
\(\E{a}\) \E expected value (prints \Expp, with the argument in square brackets)
\(\e{a}\) \e e^(·) exponential notation
\(\ba a\ea\) \ea end aligned math environment
\(\eATT\) \eATT estimated average treatment effect on the treated ATT̂ (via \Est)
\(\eATTf{a}\) \eATTf estimated average treatment effect on the treated function ATT̂(·) (via \Est)
\(\eb\) \eb estimated beta coefficient β̂
\(\Ebar\) \Ebar expectation operator with bar
\(\Ebarf{a}\) \Ebarf expectation with bar applied to subscript
\(\eBias{a}\) \eBias estimated bias applied to argument (composable \Est form)
\(\ebias{a}\) \ebias estimated bias applied to argument (lowercase alias)
\(\eBiast\) \eBiast estimated bias operator (composable \Est form)
\(\ecdf\) \ecdf estimated cumulative distribution function F̂
\(\ecdff{a}\) \ecdff estimated cumulative distribution function F̂(·) applied to argument
\(\eclassprior\) \eclassprior estimated class prior π̂ (prints \est{\pi}); write \eclassprior_k for the prior of class k
\(\ecoef{a}\) \ecoef estimated regression coefficient for covariate (β̂_x)
\(\eCor{a}\) \eCor estimated correlation function Ĉor(·)
\(\eCorf{a}\) \eCorf estimated correlation function (alias)
\(\eCorr{a}\) \eCorr estimated correlation applied to argument (composable \Est form)
\(\eCorrf{a}\) \eCorrf estimated correlation applied to argument (alias for \eCorr)
\(\eCorrs{a}{b}\) \eCorrs estimated correlation applied to two arguments (composable \Est form)
\(\eCorrt\) \eCorrt estimated correlation operator (composable \Est form)
\(\eCors{a}{b}\) \eCors estimated bivariate correlation
\(\ecort\) \ecort estimated correlation operator
\(\ecovf{a}\) \ecovf estimated covariance function (alias)
\(\ecovmat\) \ecovmat an estimated covariance matrix (forward-looking form) (prints \est{\covmat})
\(\eCovt\) \eCovt \ecovt estimated covariance operator (alias)
\(\ecuhaz\) \ecuhaz \ecumhaz estimated cumulative hazard Λ̂
\(\ecuhazfactorf{a}\) \ecuhazfactorf estimated cumulative hazard factor function θ̂_Λ(·)
\(\ecuhazff{a}\) \ecuhazff \efcuhazf estimated cumulative hazard factor function (shorthand for \ecuhazfactorf)
\(\ecuhazr\) \ecuhazr \ercuhaz \ecuhazratio estimated cumulative hazard ratio (alias for \ecuhazratio)
\(\ecuhazratiof{a}\) \ecuhazratiof estimated cumulative hazard ratio function ϙ̂_Λ(·)
\(\ecuhazrf{a}\) \ecuhazrf \ercuhazf estimated cumulative hazard ratio function (alias for \ecuhazratiof)
\(\edf\) \edf estimated degrees of freedom (forward-looking form) (prints \est{\df})
\(\edifflogodds\) \edifflogodds estimated difference in log-odds ΔΗ̂
\(\edistmem\) \edistmem fitted distribution model: estimate of a member of a distribution model family (via \est)
\(\edistmemof{a}\) \edistmemof fitted distribution model with its label as the subscript (via \est)
\(\eE{a}\) \eE estimated expected value (prints \est of \Expp, with the argument in square brackets)
\(\eeinf\) \eeinf estimated Fisher information ℐ̂
\(\eeinff{a}\) \eeinff estimated Fisher information function ℐ̂(·)
\(\eExp{a}\) \eExp \eExpf estimated expected value (alias for \eE)
\(\ef{a}\) \ef e^(·) exponential notation (alias for \e)
\(\Ef{a}\) \Ef \Exp \Expf expected value (alias for \E)
\(\efactor\) \efactor generic estimated factor θ̂ (hat-wrapped \factor)
\(\efactorf{a}\) \efactorf generic estimated factor function θ̂(·)
\(\efcuhaz\) \efcuhaz \ecuhazfactor estimated cumulative hazard factor (alias for \ecuhazfactor)
\(\eff{a}\) \eff generic estimated factor function (shorthand for \efactorf)
\(\efhaz\) \efhaz \ehazfactor estimated hazard factor (alias for \ehazfactor)
\(\efhazf{a}\) \efhazf \ehazff estimated hazard factor function (alias for \ehazfactorf)
\(\efodds\) \efodds \eoddsfactor estimated odds factor (alias for \eoddsfactor)
\(\efoddsf{a}\) \efoddsf \eoddsff estimated odds factor function (alias for \eoddsfactorf)
\(\efprev\) \efprev \eprevfactor estimated prevalence factor (alias for \eprevfactor)
\(\efprevf{a}\) \efprevf \eprevff estimated prevalence factor function (alias for \eprevfactorf)
\(\efrate\) \efrate \eratefactor estimated rate factor (alias for \eratefactor)
\(\efratef{a}\) \efratef \erateff estimated rate factor function (alias for \eratefactorf)
\(\efrisk\) \efrisk \eriskfactor estimated risk factor (alias for \eriskfactor)
\(\efriskf{a}\) \efriskf \eriskff estimated risk factor function (alias for \eriskfactorf)
\(\efsurv\) \efsurv \esurvfactor estimated survival factor (alias for \esurvfactor)
\(\efsurvf{a}\) \efsurvf \esurvff estimated survival factor function (alias for \esurvfactorf)
\(\Ehat\) \Ehat expectation operator with hat
\(\Ehatf{a}\) \Ehatf expectation with hat applied to subscript
\(\ehaz\) \ehaz \erate estimated hazard λ̂ (alias for \erate)
\(\ehazfactorf{a}\) \ehazfactorf estimated hazard factor function θ̂_λ(·)
\(\ehazrf{a}\) \ehazrf \erhazf estimated hazard ratio function (alias for \ehrf)
\(\ehr\) \ehr \ehazr \erhaz \ehazratio estimated hazard ratio (alias for \ehazratio)
\(\ehrf{a}\) \ehrf estimated hazard ratio function ϙ̂_λ(·)
\(\eigvalmax\) \eigvalmax the largest eigenvalue of a matrix (prints \eigval_{\max})
\(\eigvalmaxf{a}\) \eigvalmaxf the largest eigenvalue of a given matrix (prints \eigvalmax followed by its argument in parentheses)
\(\eigvalmin\) \eigvalmin the smallest eigenvalue of a matrix (prints \eigval_{\min})
\(\eigvalminf{a}\) \eigvalminf the smallest eigenvalue of a given matrix (prints \eigvalmin followed by its argument in parentheses)
\(\EInf\) \EInf \FInf \einf \einfm expected information (alias for \einf)
\(\einff{a}\) \einff expected information function ℐ(·)
\(\eintcoef\) \eintcoef estimated regression intercept (β̂_0)
\(\ek\) \ek \ekappa estimated kappa κ̂
\(\eKoppa\) \eKoppa \eQoppa estimated Koppa Ϙ̂ (estimator-wrapped \Koppa)
\(\ekoppa\) \ekoppa \eqoppa estimated koppa ϙ̂ (estimator-wrapped \koppa)
\(\el\) \el estimated lambda λ̂
\(\emean\) \emean an estimated mean (forward-looking form) (prints \est{\mean})
\(\emodmem\) \emodmem fitted model: estimate of a member of a mean-function model family (via \est)
\(\emodmemat{a}\) \emodmemat \emodmemof fitted model indexed by the input value, which is the subscript (stochastic-process style), h-hat_x (via \est)
\(\emodmematf{a}{b}\) \emodmematf fitted model indexed by the input value in the subscript, applied to the data set in parentheses, h-hat_x(D) (via \est)
\(\emodmemf{a}\) \emodmemf fitted model applied to its argument (via \est), h-hat(·)
\(\emp\) \emp empirical estimator label (“emp” subscript)
\(\emprisk\) \emprisk \epoprisk empirical risk R̂ (alias for \epoprisk)
\(\empriskf{a}\) \empriskf empirical risk function R̂(·) (alias for \epopriskf)
\(\eMSE{a}\) \eMSE estimated mean squared error applied to argument (composable \Est form)
\(\eMSEf{a}\) \eMSEf estimated mean squared error applied to argument (alias for \eMSE)
\(\eMSEt\) \eMSEt estimated mean squared error operator (composable \Est form)
\(\emu\) \emu estimated mean μ̂
\(\emuf{a}\) \emuf estimated mean function μ̂(·)
\(\entropyf{a}\) \entropyf Shannon entropy of a random variable, H(X)
\(\enuisance\) \enuisance an estimated nuisance parameter (forward-looking form) (prints \est{\nuisance})
\(\eodds\) \eodds estimated odds ω̂
\(\eoddsfactorf{a}\) \eoddsfactorf estimated odds factor function θ̂_ω(·)
\(\eorf{a}\) \eorf estimated odds ratio function ϙ̂_ω(·)
\(\eoutvar\) \eoutvar \predval predicted outcome, through \est (prints ŷ)
\(\ep\) \ep estimated probability density (hat p)
\(\Ep\) \Ep \Expp expectation operator (alias for \Expp)
\(\eparam\) \eparam an estimated parameter (forward-looking form) (prints \est{\param})
\(\epe{a}{b}{c}\) \epe expected prediction error at input x of fitting procedure g trained on n observations, EPE^g_n(x); \epe{g}{n}{x}
\(\epl{a}{b}{c}\) \epl expected prediction loss at input x of fitting procedure g trained on n observations, for any loss, EPL^g_n(x); \epl{g}{n}{x}
\(\epopriskf{a}\) \epopriskf estimated population risk function R̂(·) (via \est)
\(\ePr{a}\) \ePr estimated probability with brackets Pr̂[·] (via \Est)
\(\eprecision\) \eprecision an estimated precision (forward-looking form) (prints \est{\precision})
\(\epredfn\) \epredfn estimated prediction function, such as one fitted from training data; replaces the deprecated \hf
\(\epredfnf{a}\) \epredfnf estimated prediction function applied to the argument; replaces the deprecated \hfx
\(\Epredval\) \Epredval expected predicted value when no covariate value is salient: the population expectation over training sets of \predval
\(\Epredvalf{a}\) \Epredvalf expected predicted value at the covariate value given as the argument: the population expectation over training sets of the fitted model’s prediction at that value (prints the expectation over the training set of \fitted\paren{x}; the same quantity \avgfitf prints as mu_h(x), written as an expectation of a prediction rather than as a function in a model family; unlike \Epredval, it names the covariate value)
\(\eprev\) \eprev \eprob \erisk \eprobs estimated prevalence π̂ (alias for \eprob)
\(\eprevfactorf{a}\) \eprevfactorf estimated prevalence factor function θ̂_π(·)
\(\eprevratiof{a}\) \eprevratiof estimated prevalence ratio function ϙ̂_π(·)
\(\eprr\) \eprr \eprevratio estimated prevalence ratio (alias for \eprevratio)
\(\eprrf{a}\) \eprrf estimated prevalence ratio function (alias for \eprevratiof)
\(\eps\) \eps \err \Noise \noise \wterr \tolout \lsresid \propstep \machineps \smallconst varepsilon error term (ε)
\(\epsf{a}\) \epsf ε(·) error function (alias for \epsp)
\(\epsp{a}\) \epsp ε(·) error function
\(\eQ\) \eQ estimated quantile function Q̂
\(\eqby{a}\) \eqby equals sign with the reason written over it (prints \eqby{\text{Thm 2}})
\(\eQf{a}\) \eQf estimated quantile function Q̂(·) applied to argument
\(\eqGLMRatio\) \eqGLMRatio GLM hazard or odds ratio expression
\(\equantile\) \equantile estimated quantile function (alias for \eQ)
\(\equantilef{a}\) \equantilef estimated quantile function applied to argument (alias for \eQf)
\(\eR\) \eR Gelman-Rubin convergence diagnostic (potential scale reduction factor, R-hat)
\(\eratefactorf{a}\) \eratefactorf estimated rate factor function θ̂_λ(·)
\(\erater\) \erater \errate \erateratio estimated rate ratio (alias for \erateratio)
\(\erateratiof{a}\) \erateratiof estimated rate ratio function ϙ̂_λ(·)
\(\eraterf{a}\) \eraterf \erratef estimated rate ratio function (alias for \erateratiof)
\(\eRatio\) \eRatio estimated capital ratio Ϙ̂ (estimator-wrapped \Ratio)
\(\eratio\) \eratio generic estimated ratio ϙ̂ (hat-wrapped \ratio)
\(\eRatiof{a}\) \eRatiof estimated capital ratio function Ϙ̂(·)
\(\eratiof{a}\) \eratiof generic estimated ratio function ϙ̂(·)
\(\eRD\) \eRD estimated risk difference RD̂ (via \Est)
\(\eregcoef\) \eregcoef an estimated unsubscripted regression coefficient (forward-looking form) (prints \est{\regcoef})
\(\erf{a}\) \erf error function ε(·); for an estimate, the estimation error (estimate minus truth), written \esterr{estimate}{truth}
\(\eriskfactorf{a}\) \eriskfactorf estimated risk factor function θ̂_π(·)
\(\eriskr\) \eriskr \errisk \eriskratio estimated risk ratio (alias for \eriskratio)
\(\eriskratiof{a}\) \eriskratiof estimated risk ratio function ϙ̂_π(·)
\(\eriskrf{a}\) \eriskrf \erriskf estimated risk ratio function (alias for \eriskratiof)
\(\eRMSE{a}\) \eRMSE estimated root mean squared error applied to argument (composable \Est form)
\(\eRMSEf{a}\) \eRMSEf estimated root mean squared error applied to argument (alias for \eRMSE)
\(\eRMSEt\) \eRMSEt estimated root mean squared error operator (composable \Est form)
\(\eror\) \eror estimated odds ratio ϙ̂_ω (\eratio subscripted by \odds, so the hat covers only the main symbol)
\(\eRR\) \eRR estimated risk ratio RR̂ (via \Est)
\(\errcov\) \errcov \universe \samplespace the covariance matrix of observation errors (prints \Omega)
\(\ersurv\) \ersurv \esurvr \esurvratio estimated survival ratio (alias for \esurvratio)
\(\ersurvf{a}\) \ersurvf \esurvrf estimated survival ratio function (alias for \esurvratiof)
\(\es\) \es \esig estimated sigma σ̂
\(\eS\) \eS \eSig \eSigma estimated covariance matrix Σ̂
\(\eSD{a}\) \eSD estimated standard deviation SD̂(·)
\(\eSDf{a}\) \eSDf estimated standard deviation (alias)
\(\esdpar\) \esdpar an estimated standard deviation (forward-looking form) (prints \est{\sdpar})
\(\ESE{a}\) \ESE expected squared error ESE(·) of a predicted value or a parameter estimate, applied to argument
\(\ese{a}\) \ese estimated standard error ŝe(·)
\(\eSE\) \eSE \eSEt estimated standard error operator ŜE
\(\ESEE{a}\) \ESEE expected squared estimation error ESEE(·) of a parameter estimate, applied to argument
\(\ESEEf{a}\) \ESEEf expected squared estimation error ESEE(·) applied to argument (alias for \ESEE)
\(\ESEEt\) \ESEEt expected squared estimation error operator ESEE, of a parameter estimate
\(\ESEf{a}\) \ESEf expected squared error ESE(·) applied to argument (alias for \ESE)
\(\eSEf{a}\) \eSEf estimated standard error function (alias)
\(\esef{a}\) \esef estimated standard error (alias for \ese)
\(\esemp\) \esemp empirical survival function estimator Ŝ_emp
\(\esempf{a}\) \esempf empirical survival function estimator Ŝ_emp(·) applied to argument
\(\ESEt\) \ESEt expected squared error operator ESE, of a predicted value or a parameter estimate
\(\eset\) \eset estimated standard error operator ŝe
\(\eskm\) \eskm Kaplan-Meier survival function estimator Ŝ_KM
\(\eskmf{a}\) \eskmf Kaplan-Meier survival function estimator Ŝ_KM(·) applied to argument
\(\esnaa\) \esnaa Nelson-Aalen survival function estimator Ŝ_NA
\(\esnaaf{a}\) \esnaaf Nelson-Aalen survival function estimator Ŝ_NA(·) applied to argument
\(\ESPE{a}\) \ESPE expected squared prediction error ESPE(·) of a predicted value, applied to argument
\(\ESPEf{a}\) \ESPEf expected squared prediction error ESPE(·) applied to argument (alias for \ESPE)
\(\ESPEt\) \ESPEt expected squared prediction error operator ESPE, of a predicted value
\(\Est{a}\) \Est estimated / wide-hat version of argument (for multi-character targets)
\(\est{a}\) \est estimated / hat version of argument
\(\esterr{a}{b}\) \esterr estimation error: the error ε of the estimate in the first argument for the estimand in the second, ε_estimand(estimate); the estimate minus the estimand, written explicitly with \devof{estimate}{estimand}
\(\estmeanf{a}\) \estmeanf estimate of the mean function value at the covariate value given as the argument (prints \emuf{x}, the estimated mean function applied to x; the value that the fitted model’s prediction \predvalf{x} estimates, here named by its role as an estimator of \truemeanf{x} rather than as a prediction)
\(\esttmp{a}\) \esttmp alternative estimate notation (·̂*)
\(\esttmpl\) \esttmpl alternative estimate of lambda
\(\eSurv\) \eSurv \esurv estimated survival function (alias for \esurv)
\(\eSurvf{a}\) \eSurvf estimated survival function Ŝ(·) applied to argument
\(\esurvfactorf{a}\) \esurvfactorf estimated survival factor function θ̂_S(·)
\(\esurvratiof{a}\) \esurvratiof estimated survival ratio function ϙ̂_S(·)
\(\etargetfn\) \etargetfn estimated target function: fitted counterpart of the target function (via \est), \mu-hat
\(\etargetfnf{a}\) \etargetfnf estimated target function applied to its argument (via \est), \mu-hat(·)
\(\eth\) \eth estimated theta θ̂
\(\ethml\) \ethml maximum likelihood estimate of theta
\(\Etilde\) \Etilde expectation operator with tilde
\(\Etildef{a}\) \Etildef expectation with tilde applied to subscript
\(\euler\) \euler Euler’s number e (roman)
\(\evalAt{a}{b}\) \evalAt evaluate expression at a given point
\(\evalbar{a}\) \evalbar expression followed by an evaluation bar ·&#124;
\(\eVar{a}\) \eVar estimated variance function V̂ar(·)
\(\evar\) \evar \evart estimated variance operator (hat)
\(\evarf{a}\) \evarf estimated variance function (alias for \eVar)
\(\evarpar\) \evarpar an estimated variance (forward-looking form) (prints \est{\sdpar}^2)
\(\evb\) \evb \evcoef \evhcoef estimated beta vector (β̂-vector)
\(\eventnocens{a}\) \eventnocens event indicator at time m under the intervention that eliminates censoring (prints D^{\bar{c}=0}_m)
\(\evparam\) \evparam an estimated parameter vector (forward-looking form) (prints \est{\vparam})
\(\exp{a}\) \exp \expf exponential function exp{·}; takes one argument, so never write it bare: use \expf{·} or \expt with your own delimiters
\(\Expfc{a}{b}\) \Expfc conditional expected value (prints \Expp with the conditioning subscript c and the argument in square brackets)
\(\expfn{a}\) \expfn exponential function (alias for \exp)
\(\expgenerr{a}{b}\) \expgenerr expected generalization error of fitting procedure g trained on n observations, averaged over training sets, Err^g(n); \expgenerr{g}{n}
\(\expit\) \expit \sigmoid expit / logistic function
\(\expitf{a}\) \expitf expit applied to argument
\(\expt\) \expt exp operator symbol
\(\ey\) \ey \efitted estimated value of y
\(\F\) \F \cdf \fmass cumulative distribution function symbol F
\(\f\) \f \pdf \fdens probability density function symbol f
\(\factorf{a}\) \factorf generic factor function θ(·)
\(\factorial{a}\) \factorial factorial of a non-negative integer n! (prints its argument followed by an exclamation mark)
\(\fcuhaz\) \fcuhaz \cuhazfactor cumulative hazard factor (alias for \cuhazfactor)
\(\featmap\) \featmap a feature map (basis expansion) (prints D, not bold, since a feature map is a function)
\(\ff{a}\) \ff generic factor function (shorthand for \factorf)
\(\ffield{a}\) \ffield finite field with the given number of elements, F_q
\(\fhaz\) \fhaz \hazfactor hazard factor (alias for \hazfactor)
\(\fhazf{a}\) \fhazf \hazff hazard factor function (alias for \hazfactorf)
\(\fitmodf{a}\) \fitmodf \candfitted fitted model obtained from the training set given as the argument, the prediction function ŷ with the training set as subscript (prints \fitted_{D}, where the subscript is a data set, not an observation index); \fitmodf{D}\paren{x} is its prediction at x, and \fitprocf{D} is the same model written as the fitting procedure g applied to D
\(\fitmodvalf{a}{b}\) \fitmodvalf prediction at the covariate value given as the second argument, from the model that the fitting procedure fits to the data set given as the first argument (prints \fitmodf{D}\paren{x}, that is the fitted model ŷ_D applied to x; the counterpart of \predvalf for a data set other than the full training set, such as the observations outside a fold; unlike \candpredvalf, which indexes a candidate procedure rather than a data set; unlike \predval and unlike \epredfnf, which applies any estimated prediction function, it is fixed to the fit to that data set)
\(\fitprocf{a}\) \fitprocf fitting procedure applied to its argument, g(·); write \fitprocf{D} for the model g(D) fitted to the data set D, and \fitprocf{D}\paren{x} for its prediction at x
\(\fittedwo{a}{b}\) \fittedwo fitted value at input x from a fit leaving out fold j, ŷ^(-j)(x); \fittedwo{j}{x}
\(\floor{a}\) \floor floor function ⌊·⌋
\(\fodds\) \fodds \oddsfactor odds factor (alias for \oddsfactor)
\(\foddsf{a}\) \foddsf \oddsff odds factor function (alias for \oddsfactorf)
\(\fold{a}\) \fold cross-validation fold F_j (set of held-out observation indices)
\(\foldmse{a}\) \foldmse mean squared error MSE_j on fold j
\(\foldmseof{a}{b}\) \foldmseof mean squared error of fitting procedure g on fold j, MSE^g_j; \foldmseof{j}{g}
\(\foldmseoff{a}{b}{c}\) \foldmseoff mean squared error on the fold given as the first argument, of the fitting procedure given as the second argument, computed on the data set given as the third argument (prints \foldmseof{j}{g}\paren{D}; the f form of \foldmseof, which leaves the data set implicit)
\(\foldof{a}\) \foldof fold κ(i) containing observation i
\(\foldsize{a}\) \foldsize number of observations n_j in fold j
\(\fprev\) \fprev \prevfactor prevalence factor (alias for \prevfactor)
\(\fprevf{a}\) \fprevf \prevff prevalence factor function (alias for \prevfactorf)
\(\frate\) \frate \ratefactor rate factor (alias for \ratefactor)
\(\fratef{a}\) \fratef \rateff rate factor function (alias for \ratefactorf)
\(\frisk\) \frisk \riskfactor risk factor (alias for \riskfactor)
\(\friskf{a}\) \friskf \riskff risk factor function (alias for \riskfactorf)
\(\fsurv\) \fsurv \survfactor survival factor (alias for \survfactor)
\(\fsurvf{a}\) \fsurvf \survff survival factor function (alias for \survfactorf)
\(\g\) \g \gg \resp \decay Greek letter gamma (γ)
\(\gammafn\) \gammafn the gamma function (prints \Gamma)
\(\Gaus\) \Gaus Gaussian distribution label
\(\gd\) \gd \kron \step \event \tolin \backerr \errfrac \failprob \truthind \mahaldist Greek letter delta (δ)
\(\generr\) \generr generalization error operator Err (expected loss of a prediction rule on new data)
\(\gensalg{a}\) \gensalg sigma-algebra generated by argument σ(·)
\(\gensigmaalg{a}\) \gensigmaalg generated sigma-algebra (alias for \gensalg)
\(\given\) \given the conditioning bar “given” (prints &#124;), for conditional expressions such as E[Y &#124; X]
\(\grad\) \grad gradient operator ∇
\(\gradf{a}\) \gradf gradient of a function, ∇f
\(\gradwrt{a}{b}\) \gradwrt gradient with respect to a variable, ∇_θ f
\(\gram{a}\) \gram Gram matrix X′X (alias for \stprod)
\(\gray{a}\) \gray typeset argument in gray
\(\green{a}\) \green typeset argument in green
\(\growthfn\) \growthfn growth function m_Y (prints m_{\predfam}): the most labelings of n points that the prediction function family can produce
\(\growthfnf{a}\) \growthfnf growth function at n points, m_Y(n) (prints \growthfn\paren{n})
\(\h\) \h hazard function symbol h
\(\H\) \H \entropy \crossentropy \renyientropy cumulative hazard function symbol H
\(\hamdist{a}{b}\) \hamdist Hamming distance: number of positions where two strings differ, Delta(x, y)
\(\hatmat\) \hatmat hat matrix H, which maps observed responses to fitted responses
\(\hATT\) \hATT estimated average treatment effect on the treated ATT̂; deprecated, use \eATT
\(\hATTf{a}\) \hATTf estimated average treatment effect on the treated function ATT̂(·); deprecated, use \eATTf
\(\haz\) \haz \rate hazard function symbol λ (alias for \rate)
\(\hazfactorf{a}\) \hazfactorf hazard factor function θ_λ(·)
\(\hazrf{a}\) \hazrf \rhazf hazard ratio function (alias for \hrf)
\(\hb\) \hb estimated beta coefficient β̂; deprecated, use \eb
\(\hBias{a}\) \hBias estimated bias applied to argument (legacy \hat form); deprecated, use \eBias
\(\hbias{a}\) \hbias estimated bias applied to argument (lowercase alias); deprecated, use \ebias
\(\hBiast\) \hBiast estimated bias operator Biaŝ (legacy \hat form); deprecated, use \eBiast
\(\hcdf\) \hcdf estimated cumulative distribution function F̂; deprecated, use \ecdf
\(\hcdff{a}\) \hcdff estimated cumulative distribution function F̂(·) applied to argument; deprecated, use \ecdff
\(\hcoef{a}\) \hcoef estimated regression coefficient for covariate (β̂_x); deprecated, use \ecoef
\(\hCor{a}\) \hCor estimated correlation function Ĉor(·); deprecated, use \eCor
\(\hCorf{a}\) \hCorf estimated correlation function (alias); deprecated, use \eCorf
\(\hCorr{a}\) \hCorr estimated correlation Corr̂(·) applied to argument (legacy \hat form); deprecated, use \eCorr
\(\hCorrf{a}\) \hCorrf estimated correlation Corr̂(·) applied to argument (alias for \hCorr); deprecated, use \eCorrf
\(\hCorrs{a}{b}\) \hCorrs estimated correlation Corr̂(·, ·) applied to two arguments (legacy \hat form); deprecated, use \eCorrs
\(\hCorrt\) \hCorrt estimated correlation operator Corr̂ (legacy \hat form); deprecated, use \eCorrt
\(\hCors{a}{b}\) \hCors estimated bivariate correlation; deprecated, use \eCors
\(\hcort\) \hcort estimated correlation operator; deprecated, use \ecort
\(\hcovmat\) \hcovmat an estimated covariance matrix (prints \hat{\Sigma}); deprecated, use \ecovmat
\(\hCovt\) \hCovt \hcovt estimated covariance operator (alias); deprecated, use \eCovt
\(\hcuhaz\) \hcuhaz \hcumhaz estimated cumulative hazard Λ̂; deprecated, use \ecuhaz
\(\hcuhazfactorf{a}\) \hcuhazfactorf estimated cumulative hazard factor function θ̂_Λ(·); deprecated, use \ecuhazfactorf
\(\hcuhazff{a}\) \hcuhazff \hfcuhazf estimated cumulative hazard factor function (shorthand for \hcuhazfactorf); deprecated, use \ecuhazff
\(\hcuhazr\) \hcuhazr \hrcuhaz \hcuhazratio estimated cumulative hazard ratio (alias for \hcuhazratio); deprecated, use \ecuhazr
\(\hcuhazratiof{a}\) \hcuhazratiof estimated cumulative hazard ratio function ϙ̂_Λ(·); deprecated, use \ecuhazratiof
\(\hcuhazrf{a}\) \hcuhazrf \hrcuhazf estimated cumulative hazard ratio function (alias for \hcuhazratiof); deprecated, use \ecuhazrf
\(\hdf\) \hdf estimated degrees of freedom (prints the hat of the upright name df); deprecated, use \edf
\(\hdifflogodds\) \hdifflogodds estimated difference in log-odds ΔΗ̂; deprecated, use \edifflogodds
\(\hE{a}\) \hE estimated expected value (prints the hat of \Expp, with the argument in square brackets); deprecated, use \eE
\(\heinf\) \heinf estimated Fisher information ℐ̂; deprecated, use \eeinf
\(\heinff{a}\) \heinff estimated Fisher information function ℐ̂(·); deprecated, use \eeinff
\(\heldoutval{a}\) \heldoutval outcome value of a held-out observation (fixed), y with subscript star and the index of the observation
\(\heldoutvar{a}\) \heldoutvar outcome of a held-out observation (random), Y with subscript star and the index of the observation
\(\heldpredval{a}\) \heldpredval covariate value of a held-out observation (fixed), x with subscript star and the index of the observation
\(\heldpredvar{a}\) \heldpredvar covariate of a held-out observation (random), X with subscript star and the index of the observation
\(\hess\) \hess \hessm \hessian Hessian of log-likelihood ℓ″
\(\hessf{a}\) \hessf Hessian function ℓ″(·)
\(\hessianf{a}\) \hessianf Hessian function (alias for \hessf)
\(\hessij\) \hessij (i,j) element of the Hessian
\(\hessijalt\) \hessijalt (i,j) Hessian in bracket notation
\(\hExp{a}\) \hExp \hExpf estimated expected value (alias for \hE); deprecated, use \eExp
\(\hf\) \hf fitted prediction function (f̂); deprecated, use \epredfn
\(\hfactor\) \hfactor generic estimated factor θ̂ (hat-wrapped \factor); deprecated, use \efactor
\(\hfactorf{a}\) \hfactorf generic estimated factor function θ̂(·); deprecated, use \efactorf
\(\hfcuhaz\) \hfcuhaz \hcuhazfactor estimated cumulative hazard factor (alias for \hcuhazfactor); deprecated, use \efcuhaz
\(\hff{a}\) \hff generic estimated factor function (shorthand for \hfactorf); deprecated, use \eff
\(\hfhaz\) \hfhaz \hhazfactor estimated hazard factor (alias for \hhazfactor); deprecated, use \efhaz
\(\hfhazf{a}\) \hfhazf \hhazff estimated hazard factor function (alias for \hhazfactorf); deprecated, use \efhazf
\(\hfodds\) \hfodds \hoddsfactor estimated odds factor (alias for \hoddsfactor); deprecated, use \efodds
\(\hfoddsf{a}\) \hfoddsf \hoddsff estimated odds factor function (alias for \hoddsfactorf); deprecated, use \efoddsf
\(\hfprev\) \hfprev \hprevfactor estimated prevalence factor (alias for \hprevfactor); deprecated, use \efprev
\(\hfprevf{a}\) \hfprevf \hprevff estimated prevalence factor function (alias for \hprevfactorf); deprecated, use \efprevf
\(\hfrate\) \hfrate \hratefactor estimated rate factor (alias for \hratefactor); deprecated, use \efrate
\(\hfratef{a}\) \hfratef \hrateff estimated rate factor function (alias for \hratefactorf); deprecated, use \efratef
\(\hfrisk\) \hfrisk \hriskfactor estimated risk factor (alias for \hriskfactor); deprecated, use \efrisk
\(\hfriskf{a}\) \hfriskf \hriskff estimated risk factor function (alias for \hriskfactorf); deprecated, use \efriskf
\(\hfsurv\) \hfsurv \hsurvfactor estimated survival factor (alias for \hsurvfactor); deprecated, use \efsurv
\(\hfsurvf{a}\) \hfsurvf \hsurvff estimated survival factor function (alias for \hsurvfactorf); deprecated, use \efsurvf
\(\hfx{a}\) \hfx fitted prediction function applied to its argument, f̂(·); deprecated, use \epredfnf
\(\hhaz\) \hhaz \hrate estimated hazard λ̂ (alias for \hrate); deprecated, use \ehaz
\(\hhazfactorf{a}\) \hhazfactorf estimated hazard factor function θ̂_λ(·); deprecated, use \ehazfactorf
\(\hhazrf{a}\) \hhazrf \hrhazf estimated hazard ratio function (alias for \hhrf); deprecated, use \ehazrf
\(\hhr\) \hhr \hhazr \hrhaz \hhazratio estimated hazard ratio (alias for \hhazratio); deprecated, use \ehr
\(\hhrf{a}\) \hhrf estimated hazard ratio function ϙ̂_λ(·); deprecated, use \ehrf
\(\hidvalof{a}\) \hidvalof value of the hidden unit given as the argument, h with the unit as subscript
\(\hintcoef\) \hintcoef estimated regression intercept (β̂_0); deprecated, use \eintcoef
\(\hist{a}{b}\) \hist history of a variable through a time point, as in \hist{X}{k} (prints \bar{X}_{k})
\(\hk\) \hk \hkappa estimated kappa κ̂; deprecated, use \ek
\(\hKoppa\) \hKoppa \hQoppa estimated Koppa Ϙ̂ (hat-wrapped \Koppa); deprecated, use \eKoppa
\(\hkoppa\) \hkoppa \hqoppa estimated koppa ϙ̂ (hat-wrapped \koppa); deprecated, use \ekoppa
\(\hl\) \hl estimated lambda λ̂; deprecated, use \el
\(\hmodmem\) \hmodmem fitted model (hat-wrapped \modmem), legacy form; deprecated, use \emodmem
\(\hmodmemf{a}\) \hmodmemf fitted model applied to its argument (hat-wrapped), h-hat(·); deprecated, use \emodmemf
\(\hmodmemof{a}\) \hmodmemof fitted model with its mean-function model family as subscript (hat-wrapped); deprecated, use \emodmemof
\(\hMSE{a}\) \hMSE estimated mean squared error applied to argument (legacy \hat form); deprecated, use \eMSE
\(\hMSEf{a}\) \hMSEf estimated mean squared error applied to argument (alias for \hMSE); deprecated, use \eMSEf
\(\hMSEt\) \hMSEt estimated mean squared error operator MSÊ (legacy \hat form); deprecated, use \eMSEt
\(\hmu\) \hmu \hmean estimated mean μ̂; deprecated, use \emu
\(\hmuf{a}\) \hmuf estimated mean function μ̂(·); deprecated, use \emuf
\(\hnuisance\) \hnuisance an estimated nuisance parameter (prints \hat{\lambda}); deprecated, use \enuisance
\(\hodds\) \hodds estimated odds ω̂; deprecated, use \eodds
\(\hoddsfactorf{a}\) \hoddsfactorf estimated odds factor function θ̂_ω(·); deprecated, use \eoddsfactorf
\(\horf{a}\) \horf estimated odds ratio function ϙ̂_ω(·); deprecated, use \eorf
\(\hp\) \hp \ph estimated probability (alias for \ph); deprecated, use \ep
\(\hparam\) \hparam an estimated parameter (prints \hat{\theta}); deprecated, use \eparam
\(\hpoprisk\) \hpoprisk estimated population risk R̂ (hat-wrapped \poprisk); the empirical risk; deprecated, use \epoprisk
\(\hpopriskf{a}\) \hpopriskf estimated population risk function R̂(·) (hat-wrapped \popriskf); deprecated, use \epopriskf
\(\hPr{a}\) \hPr estimated probability with brackets Pr̂[·]; deprecated, use \ePr
\(\hprecision\) \hprecision an estimated precision (prints \hat{\tau}); deprecated, use \eprecision
\(\hprev\) \hprev \hprob \hrisk \hprobs estimated prevalence π̂ (alias for \hprob); deprecated, use \eprev
\(\hprevfactorf{a}\) \hprevfactorf estimated prevalence factor function θ̂_π(·); deprecated, use \eprevfactorf
\(\hprevratiof{a}\) \hprevratiof estimated prevalence ratio function ϙ̂_π(·); deprecated, use \eprevratiof
\(\hprr\) \hprr \hprevratio estimated prevalence ratio (alias for \hprevratio); deprecated, use \eprr
\(\hprrf{a}\) \hprrf estimated prevalence ratio function (alias for \hprevratiof); deprecated, use \eprrf
\(\hQ\) \hQ estimated quantile function Q̂; deprecated, use \eQ
\(\hQf{a}\) \hQf estimated quantile function Q̂(·) applied to argument; deprecated, use \eQf
\(\hquantile\) \hquantile estimated quantile function (alias for \hQ); deprecated, use \equantile
\(\hquantilef{a}\) \hquantilef estimated quantile function applied to argument (alias for \hQf); deprecated, use \equantilef
\(\hR\) \hR Gelman-Rubin convergence diagnostic (potential scale reduction factor, R-hat); deprecated, use \eR
\(\hr\) \hr \hazr \rhaz \hazratio hazard ratio (alias for \hazratio)
\(\hratefactorf{a}\) \hratefactorf estimated rate factor function θ̂_λ(·); deprecated, use \eratefactorf
\(\hrater\) \hrater \hrrate \hrateratio estimated rate ratio (alias for \hrateratio); deprecated, use \erater
\(\hrateratiof{a}\) \hrateratiof estimated rate ratio function ϙ̂_λ(·); deprecated, use \erateratiof
\(\hraterf{a}\) \hraterf \hrratef estimated rate ratio function (alias for \hrateratiof); deprecated, use \eraterf
\(\hRatio\) \hRatio estimated capital ratio Ϙ̂ (hat-wrapped \Ratio); deprecated, use \eRatio
\(\hratio\) \hratio generic estimated ratio ϙ̂ (hat-wrapped \ratio); deprecated, use \eratio
\(\hRatiof{a}\) \hRatiof estimated capital ratio function Ϙ̂(·); deprecated, use \eRatiof
\(\hratiof{a}\) \hratiof generic estimated ratio function ϙ̂(·); deprecated, use \eratiof
\(\hRD\) \hRD estimated risk difference RD̂; deprecated, use \eRD
\(\hregcoef\) \hregcoef an estimated unsubscripted regression coefficient (prints \hat{\beta}); deprecated, use \eregcoef
\(\hrf{a}\) \hrf hazard ratio function ϙ_λ(·)
\(\hriskfactorf{a}\) \hriskfactorf estimated risk factor function θ̂_π(·); deprecated, use \eriskfactorf
\(\hriskr\) \hriskr \hrrisk \hriskratio estimated risk ratio (alias for \hriskratio); deprecated, use \eriskr
\(\hriskratiof{a}\) \hriskratiof estimated risk ratio function ϙ̂_π(·); deprecated, use \eriskratiof
\(\hriskrf{a}\) \hriskrf \hrriskf estimated risk ratio function (alias for \hriskratiof); deprecated, use \eriskrf
\(\hRMSE{a}\) \hRMSE estimated root mean squared error applied to argument (legacy \hat form); deprecated, use \eRMSE
\(\hRMSEf{a}\) \hRMSEf estimated root mean squared error applied to argument (alias for \hRMSE); deprecated, use \eRMSEf
\(\hRMSEt\) \hRMSEt estimated root mean squared error operator (legacy \hat form); deprecated, use \eRMSEt
\(\hror\) \hror estimated odds ratio ϙ̂_ω (\hratio subscripted by \odds, so the hat covers only the main symbol); deprecated, use \eror
\(\hRR\) \hRR estimated risk ratio RR̂; deprecated, use \eRR
\(\hrsurv\) \hrsurv \hsurvr \hsurvratio estimated survival ratio (alias for \hsurvratio); deprecated, use \ersurv
\(\hrsurvf{a}\) \hrsurvf \hsurvrf estimated survival ratio function (alias for \hsurvratiof); deprecated, use \ersurvf
\(\hs\) \hs \hsig estimated sigma σ̂; deprecated, use \es
\(\hS\) \hS \hSig \hSigma estimated covariance matrix Σ̂; deprecated, use \eS
\(\hSD{a}\) \hSD estimated standard deviation SD̂(·); deprecated, use \eSD
\(\hSDf{a}\) \hSDf estimated standard deviation (alias); deprecated, use \eSDf
\(\hsdpar\) \hsdpar an estimated standard deviation (prints \hat{\sigma}); deprecated, use \esdpar
\(\HSE{a}\) \HSE estimated standard error function (alias); deprecated, use \eSEf
\(\hse{a}\) \hse estimated standard error ŝe(·); deprecated, use \ese
\(\hSE\) \hSE \hSEt estimated standard error operator ŜE; deprecated, use \eSE
\(\hSEf{a}\) \hSEf estimated standard error function (alias); deprecated, use \eSEf
\(\hsef{a}\) \hsef estimated standard error (alias for \hse); deprecated, use \esef
\(\hsemp\) \hsemp empirical survival function estimator Ŝ_emp; deprecated, use \esemp
\(\hsempf{a}\) \hsempf empirical survival function estimator Ŝ_emp(·) applied to argument; deprecated, use \esempf
\(\hset\) \hset estimated standard error operator ŝe; deprecated, use \eset
\(\hskm\) \hskm Kaplan-Meier survival function estimator Ŝ_KM; deprecated, use \eskm
\(\hskmf{a}\) \hskmf Kaplan-Meier survival function estimator Ŝ_KM(·) applied to argument; deprecated, use \eskmf
\(\hsnaa\) \hsnaa Nelson-Aalen survival function estimator Ŝ_NA; deprecated, use \esnaa
\(\hsnaaf{a}\) \hsnaaf Nelson-Aalen survival function estimator Ŝ_NA(·) applied to argument; deprecated, use \esnaaf
\(\hSurv\) \hSurv \hsurv estimated survival function (alias for \hsurv); deprecated, use \eSurv
\(\hSurvf{a}\) \hSurvf estimated survival function Ŝ(·) applied to argument; deprecated, use \eSurvf
\(\hsurvfactorf{a}\) \hsurvfactorf estimated survival factor function θ̂_S(·); deprecated, use \esurvfactorf
\(\hsurvratiof{a}\) \hsurvratiof estimated survival ratio function ϙ̂_S(·); deprecated, use \esurvratiof
\(\htargetfn\) \htargetfn estimated target function: fitted counterpart of the target function (hat-wrapped), legacy form; deprecated, use \etargetfn
\(\htargetfnf{a}\) \htargetfnf estimated target function applied to its argument (hat-wrapped), \mu-hat(·); deprecated, use \etargetfnf
\(\hth\) \hth estimated theta θ̂; deprecated, use \eth
\(\hthml\) \hthml maximum likelihood estimate of theta; deprecated, use \ethml
\(\hVar{a}\) \hVar estimated variance function V̂ar(·); deprecated, use \eVar
\(\hvar\) \hvar \hvart estimated variance operator (hat); deprecated, use \evar
\(\hvarf{a}\) \hvarf estimated variance function (alias for \hVar); deprecated, use \evarf
\(\hvarpar\) \hvarpar an estimated variance (prints \hat{\sigma}^2); deprecated, use \evarpar
\(\hvb\) \hvb \hvcoef \vhcoef estimated beta vector (β̂-vector); deprecated, use \evb
\(\hvparam\) \hvparam an estimated parameter vector (prints \hat{\vec{\theta}}); deprecated, use \evparam
\(\hy\) \hy \yh \fitted fitted / predicted value ŷ; deprecated, use \ey
\(\icand\) \icand index of a candidate fitting procedure, l
\(\idmat\) \idmat identity matrix 𝕀
\(\ifold\) \ifold index of a cross-validation fold, j
\(\iid\) \iid i.i.d. label
\(\imgwidth\) \imgwidth width of an image or feature map, in pixels
\(\inas\) \inas convergence almost surely arrow
\(\incidence\) \incidence incidence rate (average hazard)
\(\ind\) \ind \indpt statistical independence symbol (⊥⊥)
\(\indic{a}\) \indic indicator function 𝟙_{·} (blackboard bold)
\(\indiccb{a}\) \indiccb indicator function 𝟙{·} with curly braces
\(\indicf{a}\) \indicf indicator function (alias for \indic)
\(\indicp{a}\) \indicp indicator function 𝟙(·) with parentheses
\(\indist\) \indist convergence in distribution arrow
\(\indold\) \indold independence symbol (legacy Unicode)
\(\inprob\) \inprob convergence in probability arrow
\(\inputdim\) \inputdim \ninputvars alias for \ninputvars, kept for existing uses
\(\Intcoef\) \Intcoef uppercase regression intercept (B_0)
\(\intcoef\) \intcoef regression intercept (β_0)
\(\interest\) \interest a parameter of interest (prints \psi)
\(\inv{a}\) \inv multiplicative inverse (·)^{−1} with parentheses
\(\invcb{a}\) \invcb inverse with curly braces {·}^{−1}
\(\invf{a}\) \invf \invp multiplicative inverse (alias for \inv)
\(\invodds\) \invodds inverse odds (alternative notation)
\(\invoddsf{a}\) \invoddsf inverse odds function (alias)
\(\invsb{a}\) \invsb inverse with square brackets [·]^{−1}
\(\iobs\) \iobs index of an observation, i
\(\iprod{a}{b}\) \iprod inner product ⟨x, y⟩
\(\iprodf{a}{b}\) \iprodf inner product (alias for \iprod)
\(\IQR\) \IQR interquartile range operator symbol
\(\IQRf{a}\) \IQRf interquartile range function IQR(·)
\(\iter\) \iter index t of the step of an iterative algorithm, such as gradient descent
\(\iterpoint{a}{b}\) \iterpoint point that an iterative algorithm has reached after the given number of steps; takes the point’s symbol and the step index (prints #1^{(#2)})
\(\k\) \k \cs \condnum \condsurv \foldassign Greek letter kappa (κ)
\(\kerngaus\) \kerngaus Gaussian distribution kernel exponent
\(\kldiv\) \kldiv Kullback–Leibler divergence symbol D_KL
\(\kldivf{a}{b}\) \kldivf Kullback–Leibler divergence of the second distribution from the first, D_KL(p ‖ q)
\(\km\) \km Kaplan-Meier estimator label (“KM” subscript)
\(\kolm\) \kolm \npatterns Kolmogorov complexity symbol K
\(\kolmf{a}\) \kolmf Kolmogorov complexity of a string, K(x)
\(\Koppa\) \Koppa \Qoppa \Ratio archaic Greek letter Koppa Ϙ (uppercase; capital quotient/ratio symbol)
\(\koppa\) \koppa \qoppa \ratio archaic Greek letter koppa ϙ (lowercase; base symbol for quotient and ratios)
\(\l\) \l \gl \lam \eigval \regpar \tuning \lagmult \lebesgue \nuisance Greek letter lambda (λ)
\(\lds\) \lds lower ellipsis (…)
\(\lev{a}\) \lev \leverage leverage h_i of observation i (diagonal of the hat matrix)
\(\levelsetof{a}{b}\) \levelsetof level set of the function given as the second argument at the value given as the first, the preimage of that single value (prints f^{-1}({c}))
\(\lightgray{a}\) \lightgray typeset argument in light gray
\(\Lik\) \Lik likelihood script symbol (ℒ)
\(\lik\) \lik \llik \logl \lbound \loglik \codelen \layeridx log-likelihood (alias for \llik)
\(\Likf{a}\) \Likf likelihood function ℒ(·)
\(\likf{a}\) \likf \loglf \loglikf log-likelihood function ℓ(·) (alias for \llikf)
\(\likgaus\) \likgaus Gaussian likelihood expression
\(\lime{a}\) \lime typeset argument in lime green
\(\linefn\) \linefn \normpdf \poismean the one-variable function a line search minimizes (prints \phi)
\(\lingrad\) \lingrad linear approximation of the gradient of a function around a point, the gradient of the quadratic model, whose root is the Newton step (prints \vg_{\quadmodel})
\(\lingradf{a}\) \lingradf linear approximation of the gradient evaluated at a step; takes the step (prints \lingrad\paren{#1})
\(\littleo{a}\) \littleo little-o asymptotic negligibility applied to its argument (prints o(g), italic)
\(\llexpmean\) \llexpmean log-likelihood expression for exponential mean model
\(\llgaus\) \llgaus Gaussian log-likelihood expression
\(\llikf{a}\) \llikf log-likelihood function ℓ(·)
\(\lnf{a}\) \lnf natural log function applied to its argument, ln(·)
\(\logf{a}\) \logf log{·} function applied to argument
\(\loghaz\) \loghaz \lincomp \logodds \lograte \natparam log-hazard symbol η
\(\logit\) \logit logit function
\(\logitf{a}\) \logitf logit applied to argument
\(\logoddsf{a}\) \logoddsf log-odds function η(·)
\(\logoddst\) \logoddst log-odds text label
\(\logpartitionf{a}\) \logpartitionf log-partition function of an exponential family at its argument (prints A(#1))
\(\logt\) \logt log operator symbol
\(\lossf{a}\) \lossf loss function applied to its arguments, L(·)
\(\lp{a}\) \lp linear predictor x′β
\(\lpdp\) \lpdp linear predictor at x (dot product x⃗·β⃗)
\(\lpnorm{a}\) \lpnorm \obsloss name of an ℓ_p norm or penalty, such as ℓ_1 or ℓ_2 (argument: p)
\(\lrstat\) \lrstat \rvrate \Eigvals \penaltygrid a likelihood-ratio test statistic (prints \Lambda)
\(\m\) \m \gm \mean \pmean \measure \popmean \targetfn \truemean \strongconv \truemeanfn \coordfactor Greek letter mu / population mean (μ)
\(\M\) \M \Mu \gM \nmodels uppercase M symbol (italic variable, alias for mean/moment)
\(\maelr{a}\) \maelr mean absolute error function MAE(·)
\(\magenta{a}\) \magenta typeset argument in magenta
\(\mat{a}\) \mat \matr matrix notation (alias for \matr)
\(\mathbbm{a}\) \mathbbm double-struck letter that includes lowercase (alias for \mathbb where bbm is not loaded, as in MathJax)
\(\mathscr{a}\) \mathscr script font operator (fallback to \mathcal)
\(\matvecf{a}\) \matvecf matrix vectorization applied to argument (alias for \vctf)
\(\maxf{a}\) \maxf maximum of a comma-separated list, max(·)
\(\mcoef\) \mcoef coefficient matrix of a multivariate linear model, one column per outcome variable (prints bold B)
\(\meanfnoff{a}{b}\) \meanfnoff mean function of the distribution model in the first argument, applied to the covariate value in the second
\(\med\) \med median operator symbol
\(\medf{a}\) \medf median function med(·)
\(\midpt\) \midpt \sdest \sdprior \schedlen \precision \sdbetween \clipthresh an intermediate point in a mean-value or Taylor remainder (prints \tau)
\(\minf{a}\) \minf minimum of a comma-separated list, min(·)
\(\mnoise\) \mnoise noise matrix of a multivariate linear model: the noise vectors of all n observations, one per row (prints bold E)
\(\modef{a}\) \modef set of modes of a density or mass function (prints mode(f))
\(\modelfam\) \modelfam mean-function model family (hypothesis class) H: the set of mean-function models that training chooses from (mean-function level; the distribution level is \distfam)
\(\modmemf{a}\) \modmemf generic member of a mean-function model family applied to its argument, h(·)
\(\modmemof{a}\) \modmemof member (or fit) h of the mean-function model family given as the argument, h with the family as subscript
\(\ModResid\) \ModResid \modresid \ModResidual \modresidual modified residual (alias)
\(\moutvar\) \moutvar outcome matrix: the outcome vectors of all n observations, one per row (prints bold Y, like \mpredvar prints bold X)
\(\mpredvar\) \mpredvar input matrix: the predictor vectors of all n observations, one per row (prints bold X, like \mX, the usual textbook form)
\(\MSE{a}\) \MSE mean squared error MSE(·) applied to argument
\(\MSEf{a}\) \MSEf mean squared error MSE(·) applied to argument (alias for \MSE)
\(\mselr{a}\) \mselr mean squared error function MSE(·)
\(\MSEt\) \MSEt mean squared error operator MSE
\(\mutinfo\) \mutinfo mutual information symbol I (blackboard bold)
\(\mutinfoatf{a}{b}{c}\) \mutinfoatf mutual information of two random variables under the conditional distribution given one value z of a third, I_z(X; Y)
\(\mutinfof{a}{b}\) \mutinfof mutual information of two random variables, I(X; Y)
\(\mX\) \mX predictor matrix X (bold): the matrix of covariate values; the design matrix built from a feature map is \mdesign
\(\mx\) \mx design matrix x lowercase (bold)
\(\NA\) \NA \naa not-available / missing-value placeholder (text “NA”)
\(\Nat\) \Nat \bbN natural numbers set ℕ (blackboard-bold)
\(\NB\) \NB \NegBin Negative Binomial distribution label
\(\ndist{a}\) \ndist Normal distribution expression N(·)
\(\negclass\) \negclass negative class or negative test result in binary classification (prints a minus sign)
\(\newoutval\) \newoutval outcome value of a new observation (fixed), y with subscript star
\(\newoutvar\) \newoutvar outcome of a new observation (random), Y with subscript star
\(\newpredval\) \newpredval covariate value of a new observation (fixed), x with subscript star
\(\newpredvar\) \newpredvar covariate of a new observation (random), X with subscript star
\(\nfn\) \nfn number of false negatives in a confusion matrix (prints n_{F\negclass})
\(\nfolds\) \nfolds number of cross-validation folds, k
\(\nfp\) \nfp number of false positives in a confusion matrix (prints n_{F\posclass})
\(\nheld\) \nheld \nreps number of observations in a held-out set, m
\(\nobs\) \nobs sample size n: the number of observations or training examples
\(\norm{a}\) \norm Euclidean norm ‖·‖
\(\normcdf\) \normcdf the standard normal CDF (prints \Phi)
\(\normF{a}\) \normF Frobenius norm ‖·‖_F
\(\normFsq{a}\) \normFsq squared Frobenius norm ‖·‖_F²
\(\normsq{a}\) \normsq squared norm ‖·‖²
\(\noutvars\) \noutvars \poolsize \quadmodel number q of outcome variables: the length of the response vector in multivariate regression, not the number of classes
\(\nparams\) \nparams number p* of parameters: the columns of the design matrix after any feature map
\(\ntn\) \ntn number of true negatives in a confusion matrix (prints n_{T\negclass})
\(\ntp\) \ntp number of true positives in a confusion matrix (prints n_{T\posclass})
\(\nulldeviance\) \nulldeviance null deviance: the deviance of the intercept-only model
\(\objfn\) \objfn objective function that a fitting procedure minimizes over a model family (prints \mathcal{J})
\(\objfnf{a}\) \objfnf value of the objective function at a candidate model, the argument (prints \objfn applied to the argument)
\(\obsmean{a}\) \obsmean observed outcome mean μ(a) (given observed exposure a)
\(\obsprob{a}\) \obsprob observed outcome probability π(a) (given observed exposure a)
\(\oddsf{a}\) \oddsf odds function odds{·}
\(\oddsfactorf{a}\) \oddsfactorf odds factor function θ_ω(·)
\(\oddsinv\) \oddsinv inverse odds operator
\(\oddsinvf{a}\) \oddsinvf inverse odds function
\(\oddst\) \oddst odds operator label
\(\oinf\) \oinf \obsidx observed information symbol I
\(\oinff{a}\) \oinff observed information function I(·)
\(\oinfm\) \oinfm observed information matrix symbol
\(\olive{a}\) \olive typeset argument in olive
\(\om\) \om \odds \outcome Greek letter omega (ω)
\(\omu{a}\) \omu observed outcome mean μ(a) (shorthand for \obsmean)
\(\opi{a}\) \opi observed outcome probability π(a) (shorthand for \obsprob)
\(\oprod{a}{b}\) \oprod outer product x y′
\(\optalg\) \optalg optimization algorithm that searches a model family for a minimizer of the objective function (prints \mathcal{A})
\(\OR\) \OR odds ratio label OR
\(\orange{a}\) \orange typeset argument in orange
\(\orf{a}\) \orf odds ratio function ϙ_ω(·)
\(\outbar\) \outbar sample mean of the outcome values (prints \bar{\outvar})
\(\Outvar\) \Outvar outcome variable, random variable (prints Y)
\(\outvar\) \outvar outcome variable, observed value (prints y)
\(\outvari\) \outvari outcome value of the i-th observation (prints \outvar_{\iobs}); \outvari^2 prints its square
\(\P\) \P \mass \pmass probability operator ℙ (blackboard bold)
\(\p\) \p \pr \dens \pdens probability density/mass function symbol p
\(\paren{a}\) \paren auto-sized parentheses around argument
\(\perplexity\) \perplexity perplexity symbol PP
\(\perplexityf{a}\) \perplexityf perplexity of a random variable, PP(X) = b^{H_b(X)}, the geometric mean of the rarities
\(\Pf{a}\) \Pf probability (prints \P with the argument in parentheses)
\(\pf{a}\) \pf probability density/mass p(·)
\(\phaz\) \phaz expected hazard E[λ] (Poisson hazard)
\(\pink{a}\) \pink typeset argument in pink
\(\plim\) \plim probability limit operator (plim)
\(\plimf{a}\) \plimf probability limit applied to argument
\(\pMAE{a}\) \pMAE population mean absolute error pMAE(·) applied to argument
\(\pMAEf{a}\) \pMAEf population mean absolute error pMAE(·) applied to argument (alias for \pMAE)
\(\pMAEt\) \pMAEt population mean absolute error operator pMAE
\(\pmat{a}\) \pmat matrix formatted with parentheses (pmatrix)
\(\pmf{a}\) \pmf probability mass function ℙ(·)
\(\pMSE{a}\) \pMSE population mean squared error pMSE(·) applied to argument
\(\pMSEf{a}\) \pMSEf population mean squared error pMSE(·) applied to argument (alias for \pMSE)
\(\pMSEt\) \pMSEt population mean squared error operator pMSE
\(\pmu{a}\) \pmu potential outcome mean μ_a (shorthand for \potmean)
\(\Pois\) \Pois Poisson distribution label
\(\Poisson\) \Poisson Poisson distribution label (long form)
\(\polydeg\) \polydeg degree of a polynomial model, d
\(\popdevf{a}\) \popdevf deviation of the argument from its population mean, 𝕕_z
\(\poprisk\) \poprisk population (true) risk symbol R: the expected loss of a model
\(\popriskf{a}\) \popriskf population risk of a model, R(·)
\(\posclass\) \posclass positive class or positive test result in binary classification (prints a plus sign)
\(\potmean{a}\) \potmean \meanfnof potential outcome mean μ_a (e.g. E[Y_a])
\(\potout{a}\) \potout potential outcome Y_a (outcome under intervened exposure a)
\(\potprob{a}\) \potprob potential outcome probability π_a (e.g. Pr(Y_a=1) for binary Y)
\(\powerset{a}\) \powerset power set of a set, the set of all its subsets 𝒫(·)
\(\powf{a}{b}\) \powf first argument (·) raised to the power of the second argument, with parentheses around the base
\(\ppi{a}\) \ppi potential outcome probability π_a (shorthand for \potprob)
\(\predbar\) \predbar sample mean of the predictor values (prints \bar{\predvar})
\(\prederr\) \prederr prediction error, predicted minus observed outcome, symbol ε with the upright label pred; same meaning as \esterr{\predval}{\Outvar}
\(\prederrf{a}\) \prederrf prediction error of the predictor in the argument, ε_pred(·) (prints \prederr followed by its argument in parentheses); the estimation error of that predictor for the new outcome, \esterr{predictor}{\Outvar}
\(\predfam\) \predfam prediction function family Y-script: the set of prediction functions that training chooses from (prediction level; a member is \predfn, a fitted member is \epredfn)
\(\predfamof{a}\) \predfamof prediction function family with its label as the subscript, Y-script with the label below
\(\predfn\) \predfn symbol for a prediction function, which maps predictor values to a predicted outcome
\(\predfnf{a}\) \predfnf prediction function applied to the argument
\(\predvalf{a}\) \predvalf prediction at the covariate value given as the argument, from the model that a fitting procedure fits to the training set (prints \fitted\paren{x}, the fitted prediction function applied to x; unlike \predval, which takes no argument and names no covariate value, this applies the fitted function to the covariate value given, and unlike \epredfnf, which applies any estimated prediction function, it is fixed to the training-set fit)
\(\predvari\) \predvari predictor value of the i-th observation (prints \predvar_{\iobs}); \predvari^2 prints its square
\(\preimage{a}{b}\) \preimage preimage of the set given as the second argument under the function given as the first, written as the function with exponent -1 applied to the set (prints f^{-1}(S))
\(\prev\) \prev \prob \risk \probs \prevalence \stationary prevalence symbol π (used as the subscript for \prevratio)
\(\prevfactorf{a}\) \prevfactorf prevalence factor function θ_π(·)
\(\prevratiof{a}\) \prevratiof prevalence ratio function ϙ_π(·)
\(\Prf{a}\) \Prf Pr(·) probability expression
\(\pRMSE{a}\) \pRMSE population root mean squared error pRMSE(·) applied to argument
\(\pRMSEf{a}\) \pRMSEf population root mean squared error pRMSE(·) applied to argument (alias for \pRMSE)
\(\pRMSEt\) \pRMSEt population root mean squared error operator pRMSE
\(\probit\) \probit probit link function
\(\probst\) \probst probs operator label
\(\probt\) \probt prob operator label
\(\prodin\) \prodin product over i from 1 to n
\(\prodinf{a}\) \prodinf product over i from 1 to n of the argument (·)
\(\prr\) \prr \prevratio prevalence ratio (alias for \prevratio)
\(\prrf{a}\) \prrf prevalence ratio function (alias for \prevratiof)
\(\Prunder{a}{b}\) \Prunder probability of an event when the distribution is indexed by the first argument, such as a parameter or a distribution, \Prunder{\theta}{A} (prints Pr_θ(A))
\(\pt{a}\) \pt parenthesized transpose (x)′
\(\purple{a}\) \purple typeset argument in purple
\(\py{a}\) \py potential outcome Y_a (shorthand for \potout)
\(\Q\) \Q \quantile quantile function symbol Q
\(\Qf{a}\) \Qf quantile function Q(·) applied to argument
\(\qform{a}{b}\) \qform quadratic form of a matrix M in a vector x: x′Mx, written \qform{M}{x}
\(\quadmodelf{a}\) \quadmodelf quadratic model evaluated at a step; takes the step (prints \quadmodel\paren{#1})
\(\quantilef{a}\) \quantilef quantile function applied to argument (alias for \Qf)
\(\rangef{a}\) \rangef range of a function ℛ(·)
\(\rank\) \rank matrix rank operator (rank)
\(\rankf{a}\) \rankf matrix rank applied to argument
\(\rarity\) \rarity rarity symbol r
\(\rarityf{a}\) \rarityf rarity of an outcome, the reciprocal of its probability, r(x) = 1/P(X=x)
\(\rarityunderf{a}{b}\) \rarityunderf rarity of an outcome under a named distribution, r_q(x) = 1/q(x)
\(\ratefactorf{a}\) \ratefactorf rate factor function θ_λ(·)
\(\rater\) \rater \rrate \rateratio rate ratio (alias for \rateratio)
\(\rateratiof{a}\) \rateratiof rate ratio function ϙ_λ(·)
\(\raterf{a}\) \raterf \rratef rate ratio function (alias for \rateratiof)
\(\Ratiof{a}\) \Ratiof capital ratio function Ϙ(·)
\(\ratiof{a}\) \ratiof generic ratio function ϙ(·)
\(\RD\) \RD risk difference label RD
\(\red{a}\) \red typeset argument in red
\(\regbetasum\) \regbetasum expanded regression sum β₁x₁+⋯+βₚxₚ
\(\Regcoef\) \Regcoef uppercase regression coefficient symbol B (italic, because a coefficient is a variable)
\(\reglincomb\) \reglincomb regression linear combination x̰·β̰
\(\renyientropyf{a}{b}\) \renyientropyf Rényi entropy of the given order of a random variable, H_α(X)
\(\Resid\) \Resid \resid \Residual \residual residual (alias for \Residual)
\(\residv\) \residv residual vector ε̰̂
\(\rfac\) \rfac \hidval \modmem \cutheight \imgheight \basemeasure the factor of a density that does not depend on the parameter, in the factorization theorem for sufficiency (prints h)
\(\rfacf{a}\) \rfacf the parameter-free factor evaluated at a sample, \rfacf{\vx} (prints h(x))
\(\riskfactorf{a}\) \riskfactorf risk factor function θ_π(·)
\(\riskr\) \riskr \rrisk \riskratio risk ratio (alias for \riskratio)
\(\riskratiof{a}\) \riskratiof risk ratio function ϙ_π(·)
\(\riskrf{a}\) \riskrf \rriskf risk ratio function (alias for \riskratiof)
\(\risksetf{a}\) \risksetf risk set at time t: ℛ(t)
\(\riskt\) \riskt risk operator label
\(\RMSE{a}\) \RMSE \rmselr root mean squared error RMSE(·) applied to argument
\(\RMSEf{a}\) \RMSEf root mean squared error RMSE(·) applied to argument (alias for \RMSE)
\(\RMSEt\) \RMSEt root mean squared error operator RMSE
\(\ror\) \ror odds ratio ϙ_ω (ratio symbol with odds subscript)
\(\RR\) \RR risk ratio label RR
\(\RSS\) \RSS residual sum of squares, RSS: the sum over the observations of the squared residuals of a fitted model
\(\rsurv\) \rsurv \survr \survratio survival ratio (alias for \survratio)
\(\rsurvf{a}\) \rsurvf \survrf survival ratio function (alias for \survratiof)
\(\Rvar\) \Rvar \Predvar a generic random variable in probability expressions (prints X)
\(\rvar\) \rvar \predvar a generic value of a random variable in probability expressions (prints x)
\(\rvarbar\) \rvarbar sample mean of a generic variable (prints \bar{\rvar})
\(\s\) \s \gs \sdpar \singval \bandwidth Greek letter sigma (σ)
\(\S\) \S \Surv \surv survival function symbol S
\(\salg\) \salg \scrS \salgS \sigmaalg \sigmaalgebra sigma-algebra on S symbol 𝒮
\(\samplemean{a}{b}\) \samplemean sample mean of n random variables, X̄_n (arguments: the variable and the sample size)
\(\satdeviance\) \satdeviance deviance relative to the saturated model: twice the difference between the saturated model’s and the fitted model’s maximized log-likelihoods
\(\satllik\) \satllik maximized log-likelihood of the saturated model
\(\sb{a}\) \sb auto-sized square brackets around argument
\(\sbmat{a}\) \sbmat matrix formatted with square brackets (bmatrix)
\(\schedfrac\) \schedfrac the fraction of a learning-rate schedule that has elapsed (prints \zeta)
\(\sciid\) \sciid c.i.i.d. distributed relation
\(\score\) \score score function ℓ′
\(\scoreexpf\) \scoreexpf score function for exponential family
\(\scoref{a}\) \scoref score function ℓ′(·)
\(\scorei\) \scorei \scorevi per-observation score vector ℓ′_i
\(\scorev\) \scorev score vector
\(\scrA\) \scrA script A symbol 𝒜
\(\scrB\) \scrB \Borel \borel \borelalg script B symbol ℬ
\(\scrF\) \scrF \events \eventspace script F symbol ℱ
\(\scrT\) \scrT \salgT script T symbol 𝒯
\(\SD{a}\) \SD standard deviation function SD(·)
\(\sd{a}\) \sd standard deviation function sd(·)
\(\SDf{a}\) \SDf standard deviation function (alias for \SD)
\(\sdprod{a}\) \sdprod self dot product x·x
\(\sdprodf{a}\) \sdprodf self dot product (alias for \sdprod)
\(\SE{a}\) \SE standard error function SE(·)
\(\se{a}\) \se standard error function se(·)
\(\seed\) \seed random seed that starts a pseudorandom number generator (prints \mathfrak{s})
\(\SEf{a}\) \SEf standard error function (alias for \SE)
\(\sef{a}\) \sef standard error function (alias for \se)
\(\seq{a}{b}\) \seq sequence (colon range) from first to second argument, e.g. 1:n
\(\set{a}\) \set set notation {·}
\(\setbuild{a}{b}\) \setbuild set-builder notation: the set of elements satisfying a condition, {condition : property}
\(\setdiff{a}{b}\) \setdiff set difference A  B: the elements of A that are not in B
\(\SEtilde{a}\) \SEtilde standard error with tilde applied to argument
\(\SEtildef{a}\) \SEtildef standard error with tilde applied to argument (alias for \SEtilde)
\(\SEtildet\) \SEtildet standard error operator with tilde
\(\Sf{a}\) \Sf survival function S(·) applied to argument
\(\sfac\) \sfac \fitproc the factor of a density that depends on the data only through a statistic, in the factorization theorem for sufficiency (prints g)
\(\sfacf{a}{b}\) \sfacf the statistic factor evaluated at a statistic value and a parameter, \sfacf{t}{\param} (prints g(t ; \theta))
\(\sigmoidf{a}\) \sigmoidf logistic (sigmoid) function applied to its argument, expit(·)
\(\sign\) \sign \signt sign operator (alias for \signt)
\(\signf{a}\) \signf sign function sign{·}
\(\signoutvar\) \signoutvar binary outcome coded -1 or +1, 2y - 1 for a 0/1 outcome y (prints a tilde over y)
\(\siid\) \siid \simiid \distiid i.i.d. distributed relation
\(\simind\) \simind independently distributed relation
\(\sinf{a}\) \sinf sine function applied to its argument, sin(·)
\(\siprod{a}\) \siprod self inner product ⟨x, x⟩
\(\slack\) \slack \ciradsym an SVM slack variable (prints \xi)
\(\sMAE{a}\) \sMAE sample mean absolute error sMAE(·) applied to argument
\(\sMAEf{a}\) \sMAEf sample mean absolute error sMAE(·) applied to argument (alias for \sMAE)
\(\sMAEt\) \sMAEt sample mean absolute error operator sMAE, the estimator of pMAE (no hat form is needed)
\(\smean{a}\) \smean sample mean of the quantity in the argument, a bar over it (prints a bar over its argument)
\(\smeandev\) \smeandev deviation of the sample mean, the sample mean of the deviations (prints \smean{\deviation}, 𝕕 with a bar)
\(\sMSE{a}\) \sMSE sample mean squared error sMSE(·) applied to argument
\(\sMSEf{a}\) \sMSEf sample mean squared error sMSE(·) applied to argument (alias for \sMSE)
\(\sMSEt\) \sMSEt sample mean squared error operator sMSE, the estimator of pMSE (no hat form is needed)
\(\soprod{a}\) \soprod self outer product x x′
\(\sparen{a}\) \sparen fixed-size parentheses around argument
\(\sq\) \sq square superscript ² (postfix)
\(\sqf{a}\) \sqf square of argument (·)²
\(\sqprederr\) \sqprederr squared prediction error, the square of \prederr (prints \sqf{\prederr})
\(\sqprederrf{a}\) \sqprederrf squared prediction error of the predictor in the argument (prints \sqf{\prederrf{·}})
\(\srcalph\) \srcalph alphabet of a source: the finite set of values a random variable takes, calligraphic X
\(\sRMSE{a}\) \sRMSE sample root mean squared error sRMSE(·) applied to argument
\(\sRMSEf{a}\) \sRMSEf sample root mean squared error sRMSE(·) applied to argument (alias for \sRMSE)
\(\sRMSEt\) \sRMSEt sample root mean squared error operator sRMSE, the estimator of pRMSE (no hat form is needed)
\(\ss\) \ss \irrerr \resvar \varpar variance σ²
\(\sscp\) \sscp \logpartition sum-of-squares-and-cross-products matrix of the term vectors, A
\(\ssdev{a}\) \ssdev sum over i = 1, …, n of the squared deviation of the observation from the argument (·), via \devsq
\(\SSE\) \SSE sum of squared errors, SSE: the sum over the observations of the squared errors of a model, the same quantity as the RSS
\(\ssout\) \ssout centered sum of squares of the outcome values (prints S_{\outvar\outvar})
\(\sspred\) \sspred centered sum of squares of the predictor values (prints S_{\predvar\predvar})
\(\sspredout\) \sspredout centered sum of cross-products of the predictor and outcome values (prints S_{\predvar\outvar})
\(\ssqf{a}\) \ssqf σ²(·) variance as a function
\(\starf{a}\) \starf starred / optimal version of argument
\(\stat\) \stat a statistic, a function of the sample (prints T)
\(\statf{a}\) \statf a statistic evaluated at a sample, \statf{\vx} (prints T(x))
\(\StdResid\) \StdResid \stdresid \StdResidual \stdresidual standardized residual (alias)
\(\stprod{a}\) \stprod Gram matrix X′X: the column-column product of X with itself (prints \ccprod{X}{X})
\(\sumiN\) \sumiN sum over i from 1 to N
\(\sumin\) \sumin sum over i from 1 to n
\(\sumiNf{a}\) \sumiNf sum over i from 1 to N of the argument (·)
\(\suminf{a}\) \suminf sum over i from 1 to n of the argument (·)
\(\sumip\) \sumip sum over i from 1 to p
\(\sumipf{a}\) \sumipf sum over i from 1 to p of the argument (·)
\(\sumjn\) \sumjn sum over j from 1 to n
\(\sumjnf{a}\) \sumjnf sum over j from 1 to n of the argument (·)
\(\sumjp\) \sumjp sum over j from 1 to p
\(\sumjpf{a}\) \sumjpf sum over j from 1 to p of the argument (·)
\(\sumkK\) \sumkK sum over the K distinct covariate patterns, k from 1 to K
\(\sumkKf{a}\) \sumkKf sum over k from 1 to K of the argument (·)
\(\sumn{a}\) \sumn sum over index from 1 to n
\(\sumnf{a}{b}\) \sumnf sum over the first argument from 1 to n of the second argument (·)
\(\Sumof{a}\) \Sumof sum of the elements of a vector of random variables (prints S_{#1})
\(\sumof{a}\) \sumof sum of the elements of a vector of values (prints s_{#1})
\(\Sumsym\) \Sumsym symbol for the sum of the elements of a vector of random variables (prints S)
\(\sumsym\) \sumsym \nevents \steplen symbol for the sum of the elements of a vector of values (prints s)
\(\sumto{a}{b}\) \sumto sum over the first argument from 1 to the second
\(\sumtof{a}{b}{c}\) \sumtof sum over the first argument from 1 to the second of the third argument (·)
\(\surprisal\) \surprisal surprisal symbol s
\(\surprisalf{a}\) \surprisalf surprisal of an outcome, s(x)
\(\surprisalunderf{a}{b}\) \surprisalunderf surprisal of an outcome measured by a named distribution, s_q(x)
\(\survf{a}\) \survf survival function applied to argument (alias for \Sf)
\(\survfactorf{a}\) \survfactorf survival factor function θ_S(·)
\(\survratiof{a}\) \survratiof survival ratio function ϙ_S(·)
\(\svfrac\) \svfrac \nullity \measureb \shrinkage the nu-SVM bound on the fraction of margin errors (prints \nu)
\(\tanhf{a}\) \tanhf hyperbolic tangent function applied to its argument, tanh(·)
\(\targeterr\) \targeterr error of the fitted target function: target function minus its fitted counterpart (the deviation operator 𝔻 subscripted by the target function)
\(\targeterrf{a}\) \targeterrf error of the fitted target function at a point (via \targeterr)
\(\targetfnf{a}\) \targetfnf target function applied to its argument, \mu(·)
\(\teal{a}\) \teal typeset argument in teal
\(\termfn{a}\) \termfn term of a linear-in-terms model, a function of the covariate value, t with the index given as the argument as a subscript
\(\termvec{a}\) \termvec vector t_k of a model term evaluated at every observation
\(\testerr\) \testerr test error (average loss on the test set), over-barred err with subscript test
\(\testidx\) \testidx index set of the test set (prints I with a test subscript)
\(\testset\) \testset test set: the held-out observations used once, to estimate the risk of the chosen model (prints a calligraphic D with a test subscript)
\(\tf\) \tf therefore symbol (∴)
\(\th\) \th \param \angpar \factor \thresh Greek letter theta (θ)
\(\Th\) \Th \Param \Paramspace \unitthresh uppercase Theta (Θ)
\(\thmADistMLE\) \thmADistMLE asymptotic normal distribution of the MLE
\(\thmHessij\) \thmHessij formula for (i,j) element of the Hessian
\(\tp{a}\) \tp transpose of argument x′
\(\tprod{a}{b}\) \tprod \ccprod transpose-based product x′y
\(\tprodf{a}{b}\) \tprodf transpose-based product (alias for \tprod)
\(\tr\) \tr matrix trace operator (tr)
\(\trainerr\) \trainerr training error (average loss on the training set), over-barred err
\(\trainidx\) \trainidx index set of the training set (prints I with a train subscript)
\(\trainset\) \trainset training set: the labelled data a model is fitted to (prints a calligraphic D with a train subscript)
\(\trf{a}\) \trf matrix trace applied to argument
\(\trthist{a}\) \trthist treatment history through time k (prints \bar{A}_k)
\(\trtvalhist{a}\) \trtvalhist a treatment-history value through time k (prints \bar{a}_k)
\(\truemeanf{a}\) \truemeanf true mean function applied to its argument, \mu(·); replaces the deprecated \truemeanfnf
\(\truemeanfnf{a}\) \truemeanfnf true mean function applied to its argument, \mu(·); deprecated, use \truemeanf
\(\truemeansubf{a}{b}\) \truemeansubf true mean function with the subscript given as the first argument, applied to the second argument; with the subscript \Outvar \given \Predvar it is the conditional population mean \condE{\Outvar}{\Predvar = x}
\(\truenulls\) \truenulls index set I_0 of the true null hypotheses
\(\truthindf{a}\) \truthindf prints \truthind\paren{...}, the truth indicator of its condition
\(\TSS\) \TSS total sum of squares, TSS: the sum over the observations of the squared differences of the outcome from its sample mean
\(\ub{a}\) \ub underbrace shorthand (alias for \underbrace)
\(\ubf{a}{b}\) \ubf \dims underbrace with subscript label \underbrace{·}_{label}
\(\ubound\) \ubound an upper bound of a set (u)
\(\V\) \V variance operator symbol Var
\(\v{a}\) \v \vec vector shorthand (alias for \vecf)
\(\va\) \va vector a (a̰)
\(\valerr\) \valerr validation error (average loss on the validation set), over-barred err with subscript val
\(\validx\) \validx index set of the validation set (prints I with a val subscript)
\(\valset\) \valset validation set: the held-out observations used to choose among fitted models (prints a calligraphic D with a val subscript)
\(\var{a}\) \var variance function Var(·)
\(\Var{a}\) \Var \Varf \varf variance function (alias for \var)
\(\varh{a}\) \varh estimated variance function (alias)
\(\varhf{a}\) \varhf estimated variance function (alias)
\(\varht\) \varht estimated variance operator (hat, alias); deprecated, use \evar
\(\Varr\) \Varr \Vart variance operator symbol Var
\(\varsym\) \varsym short variance operator 𝕍 for any random variable (no argument, blackboard bold like \Expp)
\(\varsymf{a}\) \varsymf short variance operator applied to a random variable, like \E (prints \varsym with its argument in square brackets)
\(\vb\) \vb \vbeta \vcoef beta vector (alias for \vbeta)
\(\vc{a}\) \vc bold vector notation for argument
\(\vcdim\) \vcdim Vapnik-Chervonenkis dimension d_VC: the largest number of points the model family shatters
\(\vcdimf{a}\) \vcdimf VC dimension of a model family, d_VC(·)
\(\vch\) \vch matrix half-vectorization operator (vech)
\(\vchf{a}\) \vchf matrix half-vectorization applied to argument
\(\vconst\) \vconst constant vector c (c̰)
\(\vcs\) \vcs matrix strict half-vectorization operator (vecs)
\(\vcsf{a}\) \vcsf matrix strict half-vectorization applied to argument
\(\vct\) \vct \matvec matrix vectorization operator (vec)
\(\vctf{a}\) \vctf matrix vectorization applied to argument
\(\vd\) \vd exposure vector d lowercase (d̰)
\(\vD\) \vD \vdesign \vfeatmap exposure/treatment vector D (D̰)
\(\vdelta\) \vdelta \stepvec \vbackerr vector δ, such as backpropagated errors (δ̰)
\(\ve\) \ve residual vector e (ḛ)
\(\vecf{a}\) \vecf vector notation (alias for \vec)
\(\veoutvar\) \veoutvar \vpredval vector of predicted outcomes (prints a tilde under ŷ)
\(\veps\) \veps \vlsresid error vector (ε-vector)
\(\vepsilon\) \vepsilon \vhidgrad vector ϵ (ϵ̰); see also \veps for an error vector
\(\vg\) \vg vector g, such as a gradient (g̰)
\(\vh\) \vh vector h, such as hidden-unit values (h̰)
\(\vhidval\) \vhidval vector of hidden-unit values (or a recurrent network’s hidden state), h̰
\(\violet{a}\) \violet typeset argument in violet
\(\vlagmult\) \vlagmult a vector of Lagrange multipliers (prints \vecf{\lambda})
\(\vm\) \vm mean vector (μ-vector)
\(\vnatparam\) \vnatparam natural parameter vector of an exponential family (prints \vecf{\eta})
\(\vNoise\) \vNoise a vector of noise random variables (prints \vecf{\Noise})
\(\vnoise\) \vnoise a vector of realized noise values (prints \vecf{\noise})
\(\vone\) \vone vector of ones
\(\vOutvar\) \vOutvar random vector of outcomes (prints Y̰)
\(\voutvar\) \voutvar vector of observed outcomes (prints y̰)
\(\vp\) \vp vector p, such as a probability distribution (p̰)
\(\vphi\) \vphi vector φ, such as features (φ̰)
\(\vpi\) \vpi \vprob vector of probabilities π (π̰)
\(\vprederr\) \vprederr vector of prediction errors, predicted minus observed outcomes (the vec accent applied to \prederr)
\(\vPredvar\) \vPredvar random vector of predictors (prints X̰)
\(\vpredvar\) \vpredvar vector of one observation’s predictor values (prints x̰)
\(\vq\) \vq vector q, such as a second probability distribution (q̰)
\(\vr\) \vr vector r (r̰)
\(\vresid\) \vresid vector of residuals, observed minus predicted outcomes (the negative of the prediction errors \prederr) (prints ε̰̂)
\(\vT\) \vT time vector T (T̰)
\(\vt\) \vt time vector t lowercase (t̰)
\(\vth\) \vth \vparam theta parameter vector
\(\vu\) \vu vector u (ṵ)
\(\vv\) \vv vector v (v̰)
\(\vw\) \vw weight vector w (w̰)
\(\vX\) \vX random vector X (X̰)
\(\vx\) \vx vector x (x̰)
\(\vxi\) \vxi i-th observation vector x̰_i
\(\vxs\) \vxs starred/reference vector x* (x̰*)
\(\vY\) \vY uppercase outcome vector Y (Y̰)
\(\vy\) \vy outcome vector y (y̰)
\(\vZ\) \vZ random vector Z (Z̰)
\(\vz\) \vz vector z (z̰)
\(\vzero\) \vzero zero vector
\(\white{a}\) \white typeset argument in white
\(\xbar\) \xbar sample mean x̄
\(\xderiv{a}{b}\) \xderiv cross partial derivative ∂²/∂x∂y
\(\xderivf{a}{b}{c}\) \xderivf cross partial ∂²f/∂x∂y with numerator
\(\xderivff{a}{b}{c}\) \xderivff cross partial (reversed argument order)
\(\Xin\) \Xin sequence of random variables X₁, …, Xₙ
\(\xin\) \xin sequence of observations x₁, …, xₙ
\(\Xxin\) \Xxin paired sequence X₁=x₁, …, Xₙ=xₙ
\(\yellow{a}\) \yellow typeset argument in yellow
\(\yin\) \yin sequence of outcomes y₁, …, yₙ
\(\za\) \za normal critical value z_{1−α/2}
\(\~\) \~ approximately equal (≈)

References

[1]
G. James, D. Witten, T. Hastie, and R. Tibshirani, An introduction to statistical learning with applications in R, 2nd ed. Springer, 2021. Available: https://www.statlearning.com/
[2]
G. James, D. Witten, T. Hastie, R. Tibshirani, and J. Taylor, An introduction to statistical learning: With applications in Python. Springer, 2023. doi: 10.1007/978-3-031-38747-0.
[3]
T. Hastie, R. Tibshirani, and J. Friedman, The elements of statistical learning: Data mining, inference, and prediction, 2nd ed. Springer, 2009. Available: https://hastie.su.domains/ElemStatLearn/
[4]
Y. S. Abu-Mostafa, M. Magdon-Ismail, and H.-T. Lin, Learning from data: A short course. AMLBook, 2012. Available: https://amlbook.com/
[5]
C. M. Bishop, Pattern recognition and machine learning. in Information science and statistics. New York: Springer, 2006.
[6]
K. P. Murphy, Probabilistic machine learning: An introduction. in Adaptive computation and machine learning. MIT Press, 2022.
[7]
B. Hutchinson, “DATA 471/571: Machine learning.” Western Washington University, 2025.
[8]
K. D. Harris, “DATA 471: Machine learning, weekly lecture notes.” Western Washington University, 2022.
[9]
A. J. Dobson and A. G. Barnett, An introduction to generalized linear models, 4th ed. CRC press, 2018. doi: 10.1201/9781315182780.
[10]
P. K. Dunn and G. K. Smyth, Generalized linear models with examples in R, vol. 53. Springer, 2018. doi: 10.1007/978-1-4419-0118-7.
[11]
G. J. McLachlan and T. Krishnan, The EM algorithm and extensions, 2nd ed. John Wiley & Sons, 2007. doi: 10.1002/9780470191613.
[12]
S. N. Wood, Generalized additive models: An introduction with r, 2nd ed. Chapman; Hall/CRC, 2017. doi: 10.1201/9781315370279.
Back to top