← Back to CoursesStatistics: PhD Level

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

Concept Constellation

Every key idea in this course, mapped as an explorable 3D constellation. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

Generalized Linear Models and Beyond

Manual: General · Subject: Statistics

Generalize linear modeling to non-Gaussian responses, links, and modern likelihood-based extensions.

Generalized linear models

Three-part structure

A GLM specifies (i)(i) a random component from the exponential family, (ii)(ii) a linear predictor η=Xβ\eta=X\beta, and (iii)(iii) a link function g(μ)=ηg(\mu)=\eta, where μ=E[Y∣X]\mu=\mathbb{E}[Y\mid X].

Canonical links

Common examples include logistic regression for binary data, Poisson regression for counts, and Gamma regression for positive skewed outcomes. The canonical link often simplifies estimation and interpretation.

ℹ️

Interpretation

In logistic regression, coefficients act on log-odds: log⁡p1−p=Xβ\log\frac{p}{1-p}=X\beta.

Model fitting and deviance

Iteratively reweighted least squares

GLMs are commonly fit by iteratively reweighted least squares, which performs Newton-like optimization on the log-likelihood. Model comparison often uses deviance, likelihood ratio tests, AIC, and cross-validation.

Which model is most appropriate for binary outcomes with a logit link?

What is the deviance in a GLM used for?

Beyond standard GLMs

Extensions

Generalized additive models replace linear effects with smooth functions. Mixed effects GLMs handle clustered data. Quasi-likelihood and estimating equations relax full distributional assumptions.

Useful extensions

GAM
Adds nonparametric smooth terms to capture nonlinear effects.
GLMM
Includes random effects for grouped or hierarchical data.
GEE
Targets marginal effects with robust sandwich variance.
Quasi-likelihood
Uses mean-variance relationships without specifying a full likelihood.

Which framework is especially common for correlated longitudinal data when robust marginal inference is desired?

Why are mixed models and GEEs not interchangeable?