Bayesian Inference Using JASP

Slides:



Advertisements
Similar presentations
Bayesian Statistics Without Tears: Prelude
Advertisements

Comparing Classical and Bayesian Approaches to Hypothesis Testing James O. Berger Institute of Statistics and Decision Sciences Duke University
Bayesian Hypothesis Testing In Nested Models Harold Jeffreys Jeff Rouder.
Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
Statistical Modeling and Data Analysis Given a data set, first question a statistician ask is, “What is the statistical model to this data?” We then characterize.
Welcome to Amsterdam!. Bayesian Modeling for Cognitive Science: A WinBUGS Workshop.
Comments on Hierarchical models, and the need for Bayes Peter Green, University of Bristol, UK IWSM, Chania, July 2002.
Psychology 290 Special Topics Study Course: Advanced Meta-analysis April 7, 2014.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Binomial Distribution & Bayes’ Theorem. Questions What is a probability? What is the probability of obtaining 2 heads in 4 coin tosses? What is the probability.
Chap 9: Testing Hypotheses & Assessing Goodness of Fit Section 9.1: INTRODUCTION In section 8.2, we fitted a Poisson dist’n to counts. This chapter will.
Bayesian inference Gil McVean, Department of Statistics Monday 17 th November 2008.
Probability & Statistical Inference Lecture 6 MSc in Computing (Data Analytics)
Introduction  Bayesian methods are becoming very important in the cognitive sciences  Bayesian statistics is a framework for doing inference, in a principled.
CS 589 Information Risk Management 30 January 2007.
Introduction to Hypothesis Testing
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Introduction to Hypothesis Testing
Today Today: Chapter 10 Sections from Chapter 10: Recommended Questions: 10.1, 10.2, 10-8, 10-10, 10.17,
. PGM: Tirgul 10 Parameter Learning and Priors. 2 Why learning? Knowledge acquisition bottleneck u Knowledge acquisition is an expensive process u Often.
Hypothesis Testing for Population Means and Proportions
Baysian Approaches Kun Guo, PhD Reader in Cognitive Neuroscience School of Psychology University of Lincoln Quantitative Methods 2011.
Applied Bayesian Analysis for the Social Sciences Philip Pendergast Computing and Research Services Department of Sociology
Chapter 9 Hypothesis Testing.
Lecture 6. Hypothesis tests for the population mean  Similar arguments to those used to develop the idea of a confidence interval allow us to test the.
A Practical Course in Graphical Bayesian Modeling; Class 1 Eric-Jan Wagenmakers.
Review As sample size increases, the distribution of sample means A.Becomes wider and more normally shaped B.Becomes narrower and more normally shaped.
1 Bayesian methods for parameter estimation and data assimilation with crop models Part 2: Likelihood function and prior distribution David Makowski and.
Additional Slides on Bayesian Statistics for STA 101 Prof. Jerry Reiter Fall 2008.
The horseshoe estimator for sparse signals CARLOS M. CARVALHO NICHOLAS G. POLSON JAMES G. SCOTT Biometrika (2010) Presented by Eric Wang 10/14/2010.
Week 9 Testing Hypotheses. Philosophy of Hypothesis Testing Model Data Null hypothesis, H 0 (and alternative, H A ) Test statistic, T p-value = prob(T.
Statistical Decision Theory
Non-parametric Tests. With histograms like these, there really isn’t a need to perform the Shapiro-Wilk tests!
1 Robot Environment Interaction Environment perception provides information about the environment’s state, and it tends to increase the robot’s knowledge.
AP STATISTICS LESSON 10 – 2 DAY 1 TEST OF SIGNIFICANCE.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Therapeutic Equivalence & Active Control Clinical Trials Richard Simon, D.Sc. Chief, Biometric Research Branch National Cancer Institute.
Week 71 Hypothesis Testing Suppose that we want to assess the evidence in the observed data, concerning the hypothesis. There are two approaches to assessing.
Sample variance and sample error We learned recently how to determine the sample variance using the sample mean. How do we translate this to an unbiased.
Lecture 18 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Correlation Assume you have two measurements, x and y, on a set of objects, and would like to know if x and y are related. If they are directly related,
BPS - 3rd Ed. Chapter 161 Inference about a Population Mean.
Three Frameworks for Statistical Analysis. Sample Design Forest, N=6 Field, N=4 Count ant nests per quadrat.
Not in FPP Bayesian Statistics. The Frequentist paradigm Defines probability as a long-run frequency independent, identical trials Looks at parameters.
Bayesian Inference, Review 4/25/12 Frequentist inference Bayesian inference Review The Bayesian Heresy (pdf)pdf Professor Kari Lock Morgan Duke University.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Cosmological Model Selection David Parkinson (with Andrew Liddle & Pia Mukherjee)
Bayes Theorem. Prior Probabilities On way to party, you ask “Has Karl already had too many beers?” Your prior probabilities are 20% yes, 80% no.
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
Bayes Theorem, a.k.a. Bayes Rule
CSE 473 Uncertainty. © UW CSE AI Faculty 2 Many Techniques Developed Fuzzy Logic Certainty Factors Non-monotonic logic Probability Only one has stood.
- 1 - Outline Introduction to the Bayesian theory –Bayesian Probability –Bayes’ Rule –Bayesian Inference –Historical Note Coin trials example Bayes rule.
Statistical Methods. 2 Concepts and Notations Sample unit – the basic landscape unit at which we wish to establish the presence/absence of the species.
Lec. 19 – Hypothesis Testing: The Null and Types of Error.
Outline Historical note about Bayes’ rule Bayesian updating for probability density functions –Salary offer estimate Coin trials example Reading material:
Introduction to Bayesian inference POORFISH workshop Helsinki Samu Mäntyniemi Fisheries and Environmental Management group (FEM) Department.
CSC321: Lecture 8: The Bayesian way to fit models Geoffrey Hinton.
Bayesian Estimation and Confidence Intervals Lecture XXII.
Bayesian Approaches to Testing a Point (“Null”) Hypothesis
Bayesian data analysis
Hypothesis Testing: Hypotheses
Binomial Distribution & Bayes’ Theorem
Location-Scale Normal Model
Chapter 11: Inference About a Mean
PSY 626: Bayesian Statistics for Psychological Science
Reasoning in Psychology Using Statistics
Intro to Confidence Intervals Introduction to Inference
Bayesian Data Analysis in R
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Bayesian Inference Using JASP Eric-Jan Wagenmakers 1

2 2

Outline Bayesian inference Bayesian parameter estimation Bayesian hypothesis testing The Bayesian t-test Example: Turning the hands of time 3

Bayesian Inference in a Nutshell In Bayesian inference, uncertainty or degree of belief is quantified by probability. Prior beliefs are updated by means of the data to yield posterior beliefs. 4

Outline Bayesian inference Bayesian parameter estimation Bayesian hypothesis testing The Bayesian t-test Example: Turning the hands of time 5

6 6

7 7

8 8

9 9

10 10

11 11

12 12

13 13

14 14

15 15

Outline Bayesian inference Bayesian parameter estimation Bayesian hypothesis testing The Bayesian t-test Example: Turning the hands of time 16

Bayesian Hypothesis Test Suppose we have two models, H0 and H1. Which model is better supported by the data? The model that predicted the data best! The ratio of predictive performance is known as the Bayes factor (Jeffreys, 1961).

Bayesian Hypothesis Tests

Bayesian Hypothesis Tests

Bayesian Hypothesis Tests

Bayesian Hypothesis Tests

Bayes Factor Inverse

Bayes Factor Transitivity

Bayes Factor Transitivity

Guidelines for Interpretation of the Bayes Factor BF Evidence 1 – 3 Anecdotal 3 – 10 Moderate 10 – 30 Strong 30 – 100 Very strong >100 Extreme 25

Visual Interpretation of the Bayes Factor 26

Visual Interpretation of the Bayes Factor 27

Visual Interpretation of the Bayes Factor 28

Advantages of the Bayes Factor Quantifies evidence instead of forcing an all- or-none decision. Allows evidence to be monitored as data accumulate. Able to distinguish between “data support H0” and “data are not diagnostic”.

30 30

Disadvantages of the Bayes Factor Where are the course books for psychologists? Where is the software?

First Annual JASP Workshop A Fresh Way to do Bayesian Statistics jasp-stats.org August 6 & August 7, 2015 University of Amsterdam

Fifth Annual JAGS and WinBUGS Workshop Bayesian Modeling for Cognitive Science http://bayescourse.socsci.uva.nl/ August 10 - August 14, 2015 University of Amsterdam

34 34

35 35

Outline Bayesian inference Bayesian parameter estimation Bayesian hypothesis testing The Bayesian t-test Example: Turning the hands of time 36

Bayes Factor for the t Test Predictive Success for the Null Hypothesis Predictive Success for the Alternative Hypothesis 37

Bayes Factor for the t Test Prob. of Data Under the Null Hypothesis Prob. of Data Under the Alternative Hypothesis H0 states that effect size δ = 0. But how do we specify H1? 38

is the weighted average of the likelihood ratios. Effect size δ under H1 Likelihood ratio p(data | H0) p(data | δ = .1) The Bayes factor is the weighted average of the likelihood ratios. The weights are given by the prior plausibility assigned to the effect sizes. δ = .1 δ = .3 δ = .5 • p(data | H0) p(data | δ = .3) p(data | H0) p(data | δ = .5) 39

So we need to assign weight to the different values of effect size. These weigths reflect the relative plausibility of the effect sizes before seeing the data. For complicated reasons, a popular default choice is to assume a Cauchy distribution (like a Normal, but with fatter tails): 40

41

Outline Bayesian inference Bayesian parameter estimation Bayesian hypothesis testing The Bayesian t-test Example: Turning the hands of time 42

Turning the Wheels of Time Topolinski and Sparenberg (2012): clockwise movements induce psychological states of temporal progression and an orientation toward the future and novelty. Concretely: participants who turn kitchen rolls clockwise report more openness to experience.

Turning the Wheels of Time

Turning the Wheels of Time Let's demonstrate: How to run a Bayesian t-test in JASP; How to interpret the output; How to conduct a sequential analysis; How to assess the robustness of the result.

Conclusions Bayesian hypothesis tests have a number of practical advantages; These advantages are easily available through JASP; The example discussed here was simple, but JASP handles more complicated analyses as well!