Teaching
Some Teaching Material:
Lecture notes on Statistical Inference. [GitHub]
Applying for a PhD? [pdf slides]
The Normal-Normal Bayesian model (known variance). (R Markdown)
The Beta-Binomial model. (R Markdown)
Predictive Beta Binomial distribution. (R Markdown)
Frequentist vs Noninformative Bayesian inference in the Binomial model. (R Markdown)
Some visual tools for comparing two univariate samples. (R Markdown)
Maximum likelihood estimation in the logistic regression model. (R Markdown)
Method of moments for the Kumaraswamy distribution. (R Markdown)
Performance of normal CIs for log-odds. (R Markdown)
Profile likelihood confidence intervals for the parameters of the normal distribution. (R Markdown)
A Brief analysis of the Challenger data. (R Markdown)
Wald Confidence Interval for the Normal distribution. (R Markdown)
Binomial Trial: Bayesian Analysis. (R Markdown)
Robust Estimation of Scale. (R Markdown)
Robust Estimation of Location. (R Markdown)
Robust Outlier Detection. (R Markdown)
Permutation test: examples. (R Markdown)
Paired differences: the Darwin data. (R Markdown)
Unpaired observations: Mosquitoes data. (R Markdown)
MLE Logistic Distribution. (R Markdown)
Likelihood Ratio Test: Skew Normal vs Normal. (R Markdown)
The Kumaraswamy Distribution. (R Markdown)
Simulating from a Bivariate Gaussian Copula. (R Markdown)
The Cox Proportional Hazards Model and the Partial Likelihood function. (R Markdown)
The Hyperbolic Secant Distribution. (R Markdown)
Bayesian inference on the two-piece normal distribution using rstan. (R Markdown)
Quick parallelisation of a for loop. (R Markdown)
Simulation of correlated covariates: implementation and a warning. (R Markdown)
The Generalised Gamma Distribution. (R Markdown)
Bivariate Distributions with twopiece and double twopiece marginals. (R Markdown)
Downloading financial data from Yahoo! Finance in R. (R Markdown)
Bayesian survival analysis using a General Hazard Structure. (R Markdown)
Fitting the two-piece normal distribution to the Volcanoes dataset. (R Markdown)
Approximating the Beta PDF with a Kumaraswamy PDF based on the TV distance. (R Markdown)
HazReg: Parametric Hazard-based regression models for survival data. (R Markdown)
The Nelson-Aalen estimator. (R Markdown)
Estimation of the shape parameter of the Zeta Distribution. (R Markdown)
(Approximate) Maximum Likelihood Estimation for the Conway-Maxwell-Poisson Distribution. (R Markdown)
Profile-likelihood based confidence intervals in Sample Selection models, (R Markdown)
Short courses:
An Introduction to MCMC. [Slides] [R Markdown]
Short course on Parametric Survival Analysis. (GitHub repository)
Bayesian variable selection for survival data. (GitHub repository)