SlideShare a Scribd company logo
An
Introduction
to Bayesian
Statistics
Paul Herendeen
April 2013
0
2000
4000
6000
8000
1960 1970 1980 1990 2000 2010
WOS "Bayesian"
Citations by Year
The rise of Bayesian
statistics
So…What are Bayesian
Statistics?
So…What are Bayesian
Statistics?
1) A fundamentally different approach to
probability
So…What are Bayesian
Statistics?
1) A fundamentally different approach to
probability
2) An associated set of mathematical tools
Frequentists vs. Bayesian
Round 1
Parameters
fixed
Data
varies
Data
fixed
Parameters
Vary
Frequentists vs. Bayesian
Round 1
Frequentists vs. Bayesian
Round 1
Confidence
Interval
Credible
Interval
Conditional Probability
in 2 minutes
Conditional Probability
in 2 minutes
All possible outcomes
Conditional Probability
in 2 minutes
Conditional Probability
in 2 minutes
Conditional Probability
in 2 minutes
Conditional Probability
in 2 minutes
Conditional Probability
in 2 minutes
Bayes’ Theorem
Bayes’ Theorem
Prior
Bayes’ Theorem
Likelihood
Prior
Bayes’ Theorem
Likelihood
Prior
Evidence
Bayes’ Theorem
Likelihood
Prior
Posterior
Evidence
Frequentist vs. Bayesian
Round 2
“The Strength of the Prior”
Sparse
Data
Abundant
Data
Uniform
Prior
Where do Priors Come
From?
So…What are Bayesian
Statistics?
1) A fundamentally different approach to
probability
2) An associated set of mathematical tools
How do you actually
do this?
So how do you actually
do this?
1. Analytical methods
So how do you actually
do this?
1. Analytical methods
2. Grid approximation
So how do you actually
do this?
1. Analytical methods
2. Grid approximation
3. Markov Chain Monte Carlo
MCMC
• Algorithm for exploring parameter space
MCMC
• Algorithm for exploring parameter space
1.Pick a starting point
MCMC
• Algorithm for exploring parameter space
1.Pick a starting point
2.Propose a move
MCMC
• Algorithm for exploring parameter space
1.Pick a starting point
2.Propose a move
3.Accept or decline move based on
probability
MCMC
• Algorithm for exploring parameter space
1.Pick a starting point
2.Propose a move
3.Accept or decline move based on
probability
• Time spent at each point approximates
parameter distribution
MCMC
• Algorithm for exploring parameter space
1.Pick a starting point
2.Propose a move
3.Accept or decline move based on
probability
• Time spent at each point approximates
parameter distribution
• E.g. Metropolis-Hastings, Gibbs sampling
MCMC
2D example
MCMC
2D example
So what does all this
get us?
Bayesian methods
really shine in complex
(hierarchical) models…
For example,
Individual
Fecundity
Group
Effect
Population
Effect
Foraging
success
Environment
or…
Individual
Fecundity
Group
Effect
Population
Effect
Environment
Many benefits to this
approach
• Simultaneously estimate parameters
• …as well as parameter relationships
• “Borrow” strength across studies
• Model comparison
So, is it a Bayesian
Revolution?
Bayesian stats can do
most things
frequentist,
Bayesian stats can do
most things
frequentist, but…
• Many simple models don‟t gain much
• Better do something „boring‟ well than
something exciting poorly
Bayesian stats can do
most things
frequentist, but…
• Many simple models don‟t gain much
• Better do something „boring‟ well than
something exciting poorly
• Don‟t be this guy
DO use Bayesian
methods if
• You have a complex model with many
interacting parameters
• You have „messy‟ data
• You don‟t want to make assumptions
about distributions
In Conclusion
• Bayesian methods are powerful tools
for ecological research
• Like most things statistical, they are
no substitute for thinking
• They are here to stay, and you should
at least be familiar with them
Great, I want to learn
more!
JAGS
(Just Another Gibbs Sampler)

More Related Content

PDF
An introduction to Bayesian Statistics using Python
PPT
Logistic regression
ODP
What is bayesian statistics and how is it different?
PDF
Naive Bayes Classifier Tutorial | Naive Bayes Classifier Example | Naive Baye...
PDF
Introduction to Bayesian Methods
PPTX
Lecture 1 graphical models
ODP
Introduction to Bayesian Statistics
PDF
Modeling uncertainty in deep learning
An introduction to Bayesian Statistics using Python
Logistic regression
What is bayesian statistics and how is it different?
Naive Bayes Classifier Tutorial | Naive Bayes Classifier Example | Naive Baye...
Introduction to Bayesian Methods
Lecture 1 graphical models
Introduction to Bayesian Statistics
Modeling uncertainty in deep learning

What's hot (20)

PPT
Introduction to Bayesian Statistics.ppt
PDF
Uncertainty Quantification in AI
PDF
Bayesian intro
PPTX
Bayesian statistics
PDF
An Introduction to Supervised Machine Learning and Pattern Classification: Th...
PPTX
Network meta analysis
PDF
Kaplan meier survival curves and the log-rank test
PDF
Naive Bayes Classifier
PDF
Naive Bayes
PDF
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
PPT
The Method Of Maximum Likelihood
PPTX
Pca(principal components analysis)
PPTX
Reporting chi square goodness of fit test of independence in apa
PDF
Manifold learning with application to object recognition
PDF
Privacy preserving machine learning
PPTX
Visualization using tSNE
PDF
Bayesian model choice (and some alternatives)
PPTX
Network meta-analysis & models for inconsistency
PDF
Naive Bayes Classifier
PDF
What is the Expectation Maximization (EM) Algorithm?
Introduction to Bayesian Statistics.ppt
Uncertainty Quantification in AI
Bayesian intro
Bayesian statistics
An Introduction to Supervised Machine Learning and Pattern Classification: Th...
Network meta analysis
Kaplan meier survival curves and the log-rank test
Naive Bayes Classifier
Naive Bayes
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
The Method Of Maximum Likelihood
Pca(principal components analysis)
Reporting chi square goodness of fit test of independence in apa
Manifold learning with application to object recognition
Privacy preserving machine learning
Visualization using tSNE
Bayesian model choice (and some alternatives)
Network meta-analysis & models for inconsistency
Naive Bayes Classifier
What is the Expectation Maximization (EM) Algorithm?
Ad

Similar to An introduction to bayesian statistics (20)

PPTX
Overview of Bayesian Approach to Statistical Methods.pptx
PDF
sigir2017bayesian
PDF
Bayesian Classics
ODP
Gentle Introduction: Bayesian Modelling and Probabilistic Programming in R
PPTX
Bayesian Phylogenetics - Systematics.pptx
ODP
Iwsmbvs
PPT
Bayes Theorem - Probability and Statistics
PPT
PDF
presentation4.pdf Intro to mcmc methodss
PDF
Bayesian Statistics.pdf
PDF
Bayesian Classics
PDF
slides of ABC talk at i-like workshop, Warwick, May 16
PDF
Pittsburgh and Toronto "Halloween US trip" seminars
PDF
The bayesian revolution in genetics
PDF
Metropolis-Hastings MCMC Short Tutorial
PPT
Bayesian phylogenetic inference_big4_ws_2016-10-10
PPTX
Intuition behind Markov Chain Monte Carlo
PDF
Berger 2000
PDF
[A]BCel : a presentation at ABC in Roma
PDF
Bayesian Core A Practical Approach To Computational Bayesian Statistics Sprin...
Overview of Bayesian Approach to Statistical Methods.pptx
sigir2017bayesian
Bayesian Classics
Gentle Introduction: Bayesian Modelling and Probabilistic Programming in R
Bayesian Phylogenetics - Systematics.pptx
Iwsmbvs
Bayes Theorem - Probability and Statistics
presentation4.pdf Intro to mcmc methodss
Bayesian Statistics.pdf
Bayesian Classics
slides of ABC talk at i-like workshop, Warwick, May 16
Pittsburgh and Toronto "Halloween US trip" seminars
The bayesian revolution in genetics
Metropolis-Hastings MCMC Short Tutorial
Bayesian phylogenetic inference_big4_ws_2016-10-10
Intuition behind Markov Chain Monte Carlo
Berger 2000
[A]BCel : a presentation at ABC in Roma
Bayesian Core A Practical Approach To Computational Bayesian Statistics Sprin...
Ad

Recently uploaded (20)

PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Institutional Correction lecture only . . .
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Computing-Curriculum for Schools in Ghana
PDF
Pre independence Education in Inndia.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Basic Mud Logging Guide for educational purpose
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Institutional Correction lecture only . . .
Pharmacology of Heart Failure /Pharmacotherapy of CHF
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Microbial diseases, their pathogenesis and prophylaxis
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
O7-L3 Supply Chain Operations - ICLT Program
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Final Presentation General Medicine 03-08-2024.pptx
Renaissance Architecture: A Journey from Faith to Humanism
102 student loan defaulters named and shamed – Is someone you know on the list?
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Module 4: Burden of Disease Tutorial Slides S2 2025
Computing-Curriculum for Schools in Ghana
Pre independence Education in Inndia.pdf
Anesthesia in Laparoscopic Surgery in India

An introduction to bayesian statistics