Applied Bayesian modelling for ecologists and epidemiologists (ABME06)
20 July 2020 - 24 July 2020£275.00 – £590.00
This application-driven course will provide a founding in the basic theory & practice of Bayesian statistics, with a focus on MCMC modeling for ecological & epidemiological problems. Starting from a refresher on probability & likelihood, the course will take students all the way to cutting-edge applications such as state-space population modelling & spatial point-process modelling. By the end of the week, you should have a basic understanding of how common MCMC samplers work and how to program them, and have practical experience with the BUGS language for common ecological and epidemiological models. The experience gained will be a sufficient foundation enabling you to understand current papers using Bayesian methods, carry out simple Bayesian analyses on your own data and springboard into more elaborate applications such as dynamical, spatial and hierarchical modelling.
Research postgraduates, practicing academics and primary investigators in ecology and epidemiology and professionals in government and industry.
Venue – PR statistics head office, 53 Morrison Street, Glasgow, G5 8LB – Google map
Availability – 20 places
Duration – 5 days
Contact hours – Approx. 42 hours
ECT’s – Equal to 3 ECT’s
Language – English
Arrival Sunday 19th July (between 17:00-21:00) and departure Friday 24th July (accommodation must be vacated by 09:15am).
To book ‘COURSE ONLY’ with the option to add the additional ‘ACCOMMODATION PACKAGE’ please scroll to the bottom of this page.
Other payment options are available please email email@example.com
PLEASE READ – CANCELLATION POLICY: Cancellations are accepted up to 28 days before the course start date subject to a 25% cancellation fee. Cancellations later than this may be considered, contact firstname.lastname@example.org. Failure to attend will result in the full cost of the course being charged. In the unfortunate event that a course is cancelled due to unforeseen circumstances a full refund of the course fees (and accommodation fees if booked through PR statistics) will be credited. However, PR statistics will not be held responsible/liable for any travel fees, accommodation costs or other expenses incurred to you as a result of the cancellation. Because of this PR statistics strongly recommends any travel and accommodation that is booked by you or your institute is refundable/flexible and to delay booking your travel and accommodation as close the course start date as economical viable.
Introductory lectures on the concepts and refreshers on R usage. Intermediate-level lectures interspersed with hands-on mini practicals and longer projects. Round-table discussions about the analysis requirements of attendees (option for them to bring their own data). Data sets for computer practicals will be provided by the instructors, but participants are welcome to bring their own data.
Assumed quantitative knowledge
A good understanding of statistical concepts. Specifically, statistical significance and hypothesis testing and the basic ideas of probability and likelihood.
Assumed computer background
At entry you should make sure that you have a working knowledge of: Basic R usage (command-line interactive, generation of graphs); Manipulation of data-frames in R; Regression modelling (linear, generalised linear & mixed effects models). In addition, you should have had some exposure to: Programming structures (loops, conditional statements).
Equipment and software requirements
A laptop/personal computer with a working version or R, RStudio and JAGS installed. R, RStudio and JAGS are supported by both PC and MAC and can be downloaded for free by following these links.
Further information on interfacing JAGS and R using the runjags package can be found from the following website: http://runjags.sourceforge.net/.
It is essential that you come with all necessary software and packages already installed (you will be sent a list of packages prior to the course) internet access may not always be available.
UNSURE ABOUT SUITABLILITY THEN PLEASE ASK email@example.com
Meet at Flat 2/1, 43 Cook Street, Glasgow G5 8JN between 17:00-21:00
Monday 20th – Classes from 09:30 to 17:30
Module 1: Revision of likelihoods using full likelihood profiles and an introduction to the theory of Bayesian statistics. Probability and likelihood. Conditional, joint and total probability, independence, Baye’s law. Probability distributions. Uniform, Bernoulli, Binomial, Poisson, Gamma, Beta and Normal distributions – their range, parameters and common uses of Likelihood and parameter estimation by maximum likelihood. Numerical likelihood profiles and maximum likelihood. Introduction to Bayesian statistics.
Relationship between prior, likelihood & posterior distributions. Summarising a posterior distribution; The philosophical differences between frequentist & Bayesian statistics, & the practical implications of these.
Applying Bayes’ theorem to discrete & continuous data for common data types given different priors. Building a posterior profile for a given dataset, & compare the effect of different priors for the same data.
Tuesday 21st – Classes from 09:30 to 17:30
Module 2: An introduction to the workings of MCMC, and the potential dangers of MCMC inference. Participants will program their own (basic) MCMC sampler to illustrate the concepts and fully understand the strengths and weaknesses of the general approach. The day will end with an introduction to the bugs language.
Introduction to MCMC. The curse of dimensionality & the advantages of MCMC sampling to determine a posterior distribution. Monte Carlo integration, standard error, & summarising samples from posterior distributions in R. Writing a Metropolis algorithm & generating a posterior distribution for a simple problem using MCMC.
Markov chains, autocorrelation & convergence. Definition of a Markov chain. Autocorrelation, effective sample size and Monte Carlo error. The concept of a stationary distribution and burnin. Requirement for convergence diagnostics, and common statistics for assessing convergence. Adapting an existing Metropolis algorithm to use two chains, & assessing the effect of the sampling distribution on the autocorrelation. Introduction to BUGS & running simple models in JAGS. Introduction to the BUGS language & how a BUGS model is translated to an MCMC sampler during compilation. The difference between deterministic & stochastic nodes, & the contribution of priors & the likelihood. Running, extending & interpreting the output of simple JAGS models from within R using the runjags interface.
Wednesday 22nd – Classes from 09:30 to 17:30
Module 3: Common models for which jags/bugs would be used in practice, with examples given for different types of model code. All aspects of writing, running, assessing and interpreting these models will be extensively discussed so that participants are able and confident to run similar models on their own. There will be a particularly heavy focus on practical sessions during this day. The day will finish with a discussion of how to assess the fit of mcmc models using the deviance information criterion (dic) and other methods. Using JAGS for common problems in biology. Understanding and generating code for basic generalised linear mixed models in JAGS. Syntax for quadratic terms and interaction terms in JAGS.
Essential fitting tips and model selection. The need for minimal cross-correlation and independence between parameters and how to design a model with these properties. The practical methods and implications of minimizing Monte Carlo error and autocorrelation, including thinning. Interpreting the DIC for nested models, and understanding the limitations of how this is calculated. Other methods of model selection and where these might be more useful than DIC. Most commonly used methods Rationale and use for fixed threshold, ABGD, K/theta, PTP, GMYC with computer practicals. Other methods, Haplowebs, bGMYC, etc. with computer practicals.
Thursday 23rd – Classes from 09:30 to 17:30
Module 4: The flexibility of MCMC, and precautions required for using MCMC to model commonly encountered datasets. An introduction to conjugate priors and the potential benefits of exploiting gibbs sampling will be given. More complex types of models such as hierarchical models, latent class models, mixture models and state space models will be introduced and discussed. The practical sessions will follow on from day 3.
General guidance for model specification. The flexibility of the BUGS language and MCMC methods. The difference between informative and diffuse priors. Conjugate priors and how they can be used. Gibbs sampling. State space models. Hierarchical and state space models. Latent class and mixture models. Conceptual application to animal movement. Hands-on application to population biology. Conceptual application to epidemiology.
Friday 24th – Classes from 09:30 to 16:00
Module 5: Additional practical guidance for the use of Bayesian methods in practice, and finish with a brief overview of more advanced Bayesian tools such as Integrated Nested Laplace Approximation (INLA) and stan.
Additional Bayesian methods. Understand the usefulness of conjugate priors for robust analysis of proportions (Binomial and Multinomial data). Be aware of some methods of prior elicitation. Advanced Bayesian tools. Strengths and weaknesses of INLA compared to BUGS. Strengths and weaknesses of stan compared to BUGS.
12 people are attending Applied Bayesian modelling for ecologists and epidemiologists (ABME06)