Tutorials & Resources
Practical methodological notes, code guides, teaching resources, and references intended to be useful to students and researchers.
Getting started with LRST
A hybrid guide combining intuition with the actual R workflow: install the package, shape the arrays, run the two-arm test, interpret the output, estimate power, and extend to multi-arm trials.
Drawing and reading causal DAGs
A visual guide to causal graphs: confounders, mediators, colliders, open and closed paths, d-separation, adjustment sets, the front-door idea, and a small R example with dagitty.
Higher-order spectral analysis in R
A practical guide to spectra, bispectra, polyspectra, FFT-based computation, raw bispectral products, polyspectral means, and interpretation of nonlinear frequency-domain structure.
THANOS: Election prediction using social media networks
A visual discussion of how THOS and THANOS combine polling, hashtag activity, retweet networks, and influencer centrality to study election forecasting.