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

What's hot (20)

PPTX
Bayes Theorem
sabareeshbabu
 
PPTX
Uncertainty in AI
Amruth Veerabhadraiah
 
PDF
Bayesian networks
Massimiliano Patacchiola
 
PPTX
INFERENTIAL STATISTICS: AN INTRODUCTION
John Labrador
 
PDF
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
Edureka!
 
PPTX
Bayesian Neural Networks
Natan Katz
 
PDF
Naive Bayes Classifier Tutorial | Naive Bayes Classifier Example | Naive Baye...
Edureka!
 
PPTX
Naive Bayes Presentation
Md. Enamul Haque Chowdhury
 
PPTX
Simple Linear Regression: Step-By-Step
Dan Wellisch
 
PPTX
Naive bayes
ChetnaChandwani3
 
PPT
Bayesian networks
Orochi Krizalid
 
PPTX
Bayesian statistics
Sagar Kamble
 
PDF
Logistic regression : Use Case | Background | Advantages | Disadvantages
Rajat Sharma
 
PDF
Logistic Ordinal Regression
Sri Ambati
 
PPTX
Maximum likelihood estimation
zihad164
 
PDF
Naive Bayes Classifier
Arunabha Saha
 
PPTX
Linear algebra for deep learning
Swayam Mittal
 
PDF
2.03 bayesian estimation
Andres Mendez-Vazquez
 
PDF
Lecture 1
diogor21atlas
 
PPTX
Bayesian network
Ahmad El Tawil
 
Bayes Theorem
sabareeshbabu
 
Uncertainty in AI
Amruth Veerabhadraiah
 
Bayesian networks
Massimiliano Patacchiola
 
INFERENTIAL STATISTICS: AN INTRODUCTION
John Labrador
 
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
Edureka!
 
Bayesian Neural Networks
Natan Katz
 
Naive Bayes Classifier Tutorial | Naive Bayes Classifier Example | Naive Baye...
Edureka!
 
Naive Bayes Presentation
Md. Enamul Haque Chowdhury
 
Simple Linear Regression: Step-By-Step
Dan Wellisch
 
Naive bayes
ChetnaChandwani3
 
Bayesian networks
Orochi Krizalid
 
Bayesian statistics
Sagar Kamble
 
Logistic regression : Use Case | Background | Advantages | Disadvantages
Rajat Sharma
 
Logistic Ordinal Regression
Sri Ambati
 
Maximum likelihood estimation
zihad164
 
Naive Bayes Classifier
Arunabha Saha
 
Linear algebra for deep learning
Swayam Mittal
 
2.03 bayesian estimation
Andres Mendez-Vazquez
 
Lecture 1
diogor21atlas
 
Bayesian network
Ahmad El Tawil
 

Similar to An introduction to bayesian statistics (20)

PPTX
Overview of Bayesian Approach to Statistical Methods.pptx
Vinaitheerthan Renganathan
 
PDF
sigir2017bayesian
Tetsuya Sakai
 
PDF
Bayesian Classics
Julyan Arbel
 
ODP
Gentle Introduction: Bayesian Modelling and Probabilistic Programming in R
Marco Wirthlin
 
PPTX
Bayesian Phylogenetics - Systematics.pptx
RyanLong78
 
PPT
Introduction to Bayesian Statistics.ppt
Long Dang
 
ODP
Iwsmbvs
Bob O'Hara
 
PPT
Bayes Theorem - Probability and Statistics
EMALLIKARJUNAREDDY
 
PPT
bayesjaw.ppt
Chandravathi Dittakavi
 
PDF
presentation4.pdf Intro to mcmc methodss
SergeyTsygankov6
 
PDF
Bayesian Statistics.pdf
MuhammadAnas742878
 
PDF
Bayesian Classics
Julyan Arbel
 
PDF
slides of ABC talk at i-like workshop, Warwick, May 16
Christian Robert
 
PDF
Pittsburgh and Toronto "Halloween US trip" seminars
Christian Robert
 
PDF
The bayesian revolution in genetics
Beat Winehouse
 
PDF
Metropolis-Hastings MCMC Short Tutorial
Ralph Schlosser
 
PPT
Bayesian phylogenetic inference_big4_ws_2016-10-10
FredrikRonquist
 
PPTX
Intuition behind Markov Chain Monte Carlo
Tushar Tank
 
PDF
Berger 2000
Julyan Arbel
 
PDF
[A]BCel : a presentation at ABC in Roma
Christian Robert
 
Overview of Bayesian Approach to Statistical Methods.pptx
Vinaitheerthan Renganathan
 
sigir2017bayesian
Tetsuya Sakai
 
Bayesian Classics
Julyan Arbel
 
Gentle Introduction: Bayesian Modelling and Probabilistic Programming in R
Marco Wirthlin
 
Bayesian Phylogenetics - Systematics.pptx
RyanLong78
 
Introduction to Bayesian Statistics.ppt
Long Dang
 
Iwsmbvs
Bob O'Hara
 
Bayes Theorem - Probability and Statistics
EMALLIKARJUNAREDDY
 
presentation4.pdf Intro to mcmc methodss
SergeyTsygankov6
 
Bayesian Statistics.pdf
MuhammadAnas742878
 
Bayesian Classics
Julyan Arbel
 
slides of ABC talk at i-like workshop, Warwick, May 16
Christian Robert
 
Pittsburgh and Toronto "Halloween US trip" seminars
Christian Robert
 
The bayesian revolution in genetics
Beat Winehouse
 
Metropolis-Hastings MCMC Short Tutorial
Ralph Schlosser
 
Bayesian phylogenetic inference_big4_ws_2016-10-10
FredrikRonquist
 
Intuition behind Markov Chain Monte Carlo
Tushar Tank
 
Berger 2000
Julyan Arbel
 
[A]BCel : a presentation at ABC in Roma
Christian Robert
 
Ad

Recently uploaded (20)

PPTX
SCHOOL-BASED SEXUAL HARASSMENT PREVENTION AND RESPONSE WORKSHOP
komlalokoe
 
PPTX
PYLORIC STENOSIS: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
PPT
digestive system for Pharm d I year HAP
rekhapositivity
 
PPTX
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
PPTX
Nutrition Month 2025 TARP.pptx presentation
FairyLouHernandezMej
 
PPTX
Accounting Skills Paper-I, Preparation of Vouchers
Dr. Sushil Bansode
 
PPTX
LEGAL ASPECTS OF PSYCHIATRUC NURSING.pptx
PoojaSen20
 
PPTX
Modern analytical techniques used to characterize organic compounds. Birbhum ...
AyanHossain
 
PPTX
CLEFT LIP AND PALATE: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
How to Define Translation to Custom Module And Add a new language in Odoo 18
Celine George
 
PPTX
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
PPTX
Blanket Order in Odoo 17 Purchase App - Odoo Slides
Celine George
 
PPTX
nutriquiz grade 4.pptx...............................................
ferdinandsanbuenaven
 
PDF
07.15.2025 - Managing Your Members Using a Membership Portal.pdf
TechSoup
 
PDF
FULL DOCUMENT: Read the full Deloitte and Touche audit report on the National...
Kweku Zurek
 
PPTX
SAMPLING: DEFINITION,PROCESS,TYPES,SAMPLE SIZE, SAMPLING ERROR.pptx
PRADEEP ABOTHU
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PPTX
ENGLISH LEARNING ACTIVITY SHE W5Q1.pptxY
CHERIEANNAPRILSULIT1
 
PPTX
HEAD INJURY IN CHILDREN: NURSING MANAGEMENGT.pptx
PRADEEP ABOTHU
 
SCHOOL-BASED SEXUAL HARASSMENT PREVENTION AND RESPONSE WORKSHOP
komlalokoe
 
PYLORIC STENOSIS: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
digestive system for Pharm d I year HAP
rekhapositivity
 
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
Nutrition Month 2025 TARP.pptx presentation
FairyLouHernandezMej
 
Accounting Skills Paper-I, Preparation of Vouchers
Dr. Sushil Bansode
 
LEGAL ASPECTS OF PSYCHIATRUC NURSING.pptx
PoojaSen20
 
Modern analytical techniques used to characterize organic compounds. Birbhum ...
AyanHossain
 
CLEFT LIP AND PALATE: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
How to Define Translation to Custom Module And Add a new language in Odoo 18
Celine George
 
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
Blanket Order in Odoo 17 Purchase App - Odoo Slides
Celine George
 
nutriquiz grade 4.pptx...............................................
ferdinandsanbuenaven
 
07.15.2025 - Managing Your Members Using a Membership Portal.pdf
TechSoup
 
FULL DOCUMENT: Read the full Deloitte and Touche audit report on the National...
Kweku Zurek
 
SAMPLING: DEFINITION,PROCESS,TYPES,SAMPLE SIZE, SAMPLING ERROR.pptx
PRADEEP ABOTHU
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
ENGLISH LEARNING ACTIVITY SHE W5Q1.pptxY
CHERIEANNAPRILSULIT1
 
HEAD INJURY IN CHILDREN: NURSING MANAGEMENGT.pptx
PRADEEP ABOTHU
 
Ad

An introduction to bayesian statistics