More · Tutorials & Resources

Tutorials & Resources

Practical methodological notes, code guides, teaching resources, and references intended to be useful to students and researchers.

Tutorial · LRST

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.

Tutorial · Causal inference

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.

Code guide · Time series

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.

Paper discussion · Social media analytics

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.