BAYESIAN HYPOTHESIS TESTING WITH SPSS AMOS

Similar documents
What is a probability? Two schools in statistics: frequentists and Bayesians.

Bayesian and Frequentist Approaches

Bayesian Inference Bayes Laplace

Introduction to Bayesian Analysis 1

A Brief Introduction to Bayesian Statistics

Bayesian Logistic Regression Modelling via Markov Chain Monte Carlo Algorithm

Introduction. Patrick Breheny. January 10. The meaning of probability The Bayesian approach Preview of MCMC methods

MS&E 226: Small Data

You must answer question 1.

Georgetown University ECON-616, Fall Macroeconometrics. URL: Office Hours: by appointment

Response to Comment on Cognitive Science in the field: Does exercising core mathematical concepts improve school readiness?

Advanced Bayesian Models for the Social Sciences. TA: Elizabeth Menninga (University of North Carolina, Chapel Hill)

STATISTICAL INFERENCE 1 Richard A. Johnson Professor Emeritus Department of Statistics University of Wisconsin

Advanced Bayesian Models for the Social Sciences

Individual Differences in Attention During Category Learning

AB - Bayesian Analysis

Bayes Theorem Application: Estimating Outcomes in Terms of Probability

WDHS Curriculum Map Probability and Statistics. What is Statistics and how does it relate to you?

ST440/550: Applied Bayesian Statistics. (10) Frequentist Properties of Bayesian Methods

An Exercise in Bayesian Econometric Analysis Probit and Linear Probability Models

Ordinal Data Modeling

Lecture 9 Internal Validity

Econometrics II - Time Series Analysis

Bayesian Mediation Analysis

Bayesian performance

Bayesian Statistics Estimation of a Single Mean and Variance MCMC Diagnostics and Missing Data

Learning from data when all models are wrong

THE INDIRECT EFFECT IN MULTIPLE MEDIATORS MODEL BY STRUCTURAL EQUATION MODELING ABSTRACT

Bayesian Hierarchical Models for Fitting Dose-Response Relationships

Data Analysis Using Regression and Multilevel/Hierarchical Models

A Case Study: Two-sample categorical data

Bayesian Confidence Intervals for Means and Variances of Lognormal and Bivariate Lognormal Distributions

CHAPTER II EXPLORATORY FACTOR ANALYSIS

Hypothetical Scenario

Ecological Statistics

Introduction to Survival Analysis Procedures (Chapter)

Bayesian Analysis of Between-Group Differences in Variance Components in Hierarchical Generalized Linear Models

CISC453 Winter Probabilistic Reasoning Part B: AIMA3e Ch

WinBUGS : part 1. Bruno Boulanger Jonathan Jaeger Astrid Jullion Philippe Lambert. Gabriele, living with rheumatoid arthritis

Bayesian Phylogenetics Nick Matzke

Bayesian vs Frequentist

UvA-DARE (Digital Academic Repository)

Estimating Bayes Factors for Linear Models with Random Slopes. on Continuous Predictors

Method Comparison for Interrater Reliability of an Image Processing Technique in Epilepsy Subjects

A COMPARISON OF BAYESIAN MCMC AND MARGINAL MAXIMUM LIKELIHOOD METHODS IN ESTIMATING THE ITEM PARAMETERS FOR THE 2PL IRT MODEL

Bayesian and Classical Approaches to Inference and Model Averaging

Explicit Bayes: Working Concrete Examples to Introduce the Bayesian Perspective.

What is probability. A way of quantifying uncertainty. Mathematical theory originally developed to model outcomes in games of chance.

Rejoinder to discussion of Philosophy and the practice of Bayesian statistics

Introductory Statistical Inference with the Likelihood Function

Bayesian Joint Modelling of Longitudinal and Survival Data of HIV/AIDS Patients: A Case Study at Bale Robe General Hospital, Ethiopia

Bayesian Estimation of a Meta-analysis model using Gibbs sampler

How do we combine two treatment arm trials with multiple arms trials in IPD metaanalysis? An Illustration with College Drinking Interventions

Student Performance Q&A:

Bayes Linear Statistics. Theory and Methods

Inference About Magnitudes of Effects

The Century of Bayes

INTRODUC TION TO BAYESIAN STATISTICS W ILLI A M M. BOLSTA D JA MES M. CUR R A N

Combining Risks from Several Tumors Using Markov Chain Monte Carlo

A Bayesian alternative to null hypothesis significance testing

Vision as Bayesian inference: analysis by synthesis?

Signal Detection Theory and Bayesian Modeling

How few countries will do? Comparative survey analysis from a Bayesian perspective

Multivariate Regression with Small Samples: A Comparison of Estimation Methods W. Holmes Finch Maria E. Hernández Finch Ball State University

Running Head: BAYESIAN MEDIATION WITH MISSING DATA 1. A Bayesian Approach for Estimating Mediation Effects with Missing Data. Craig K.

BAYESIAN ESTIMATORS OF THE LOCATION PARAMETER OF THE NORMAL DISTRIBUTION WITH UNKNOWN VARIANCE

Bayesians methods in system identification: equivalences, differences, and misunderstandings

An Introduction to Bayesian Statistics

Bayes Factors for t tests and one way Analysis of Variance; in R

Response to the ASA s statement on p-values: context, process, and purpose

Exploration of real-time crash likelihood of Powered-Two Wheelers in Greece. Road safety; real-time data; crash likelihood; powered-two-wheelers

County-Level Small Area Estimation using the National Health Interview Survey (NHIS) and the Behavioral Risk Factor Surveillance System (BRFSS)

Making Null Effects Informative: Statistical Techniques and Inferential Frameworks

Bayesian Tolerance Intervals for Sparse Data Margin Assessment

Bayesian approaches to handling missing data: Practical Exercises

Joint Spatio-Temporal Modeling of Low Incidence Cancers Sharing Common Risk Factors

Score Tests of Normality in Bivariate Probit Models

Online Supplemental Material. paying appropriate attention (Johnson, 2005), we established a minimum completion time

TRIPODS Workshop: Models & Machine Learning for Causal I. & Decision Making

Appendix B Statistical Methods

Business Statistics Probability

Small Sample Bayesian Factor Analysis. PhUSE 2014 Paper SP03 Dirk Heerwegh

Att vara eller inte vara (en Bayesian)?... Sherlock-conundrum

Bayesian Methods p.3/29. data and output management- by David Spiegalhalter. WinBUGS - result from MRC funded project with David

Objective: Understand Bayes Rule. Bayesian Perception. Priors and Perception. Structure

How to use the Lafayette ESS Report to obtain a probability of deception or truth-telling

Commentary: Practical Advantages of Bayesian Analysis of Epidemiologic Data

Kelvin Chan Feb 10, 2015

Ordinary Least Squares Regression

In addition, a working knowledge of Matlab programming language is required to perform well in the course.

The matching effect of intra-class correlation (ICC) on the estimation of contextual effect: A Bayesian approach of multilevel modeling

Previously, when making inferences about the population mean,, we were assuming the following simple conditions:

The BLAST search on NCBI ( and GISAID

Bayesian Logistic Regression Model on Risk Factors of Type 2 Diabetes Mellitus

Type and quantity of data needed for an early estimate of transmissibility when an infectious disease emerges

MTAT Bayesian Networks. Introductory Lecture. Sven Laur University of Tartu

Hierarchy of Statistical Goals

Still important ideas

Bayesian Analysis of a Single-Firm Event Study

Bayesian pharmacometric modeling with BUGS, NONMEM and Stan

Transcription:

Sara Garofalo Department of Psychiatry, University of Cambridge BAYESIAN HYPOTHESIS TESTING WITH SPSS AMOS Overview Bayesian VS classical (NHST or Frequentist) statistical approaches Theoretical issues Examples SPSS AMOS What is it and what can be used for Example of regression model in SPSS AMOS (Bayesian VS Frequentist)

Bayesian approach Bayesian inference is a method of statistical inference in which Bayes' theorem is used to update the probability of an hypothesis, given a set of evidences. FREQUENTIST APPROACH BAYESIAN APPROACH vs OR NHST (Null Hypothesis Significance Testing) A Frequentist is a person whose long-run interest is to be wrong 5% of the time. A Bayesian is one who, vaguely expecting a horse and catching a glimpse of a donkey, strongly concludes he has seen a mule (Senn, 1997)

Frequentist vs Bayesian FREQUENTIST APPROACH Parameters are fixed values LIKELIHOOD: P(R H 0 ) Probability of getting evidence R, when the Null Hypothesis is true BAYESIAN APPROACH Parameters are random values POSTERIOR PROBABILITY: P(H R) Probability that an hypothesis is true, given the observed evidence R posterior ~ prior X likelihood H 0 : µ a = µ b H 1 : µ a µ b

Bayes Theorem an example A new HIV test is claimed to have 95% sensitivity (true positive) and 97% specificity (true negative). R = test is positive H 0 = subject is truly HIV negative H 1 = subject is truly HIV positive LIKELIHOOD P(R H 0 ) =.03 PRIOR HIV prevalence in the population = 2% P(H 0 ) =.98 P(H 1 )=.02 BAYES S THOREM

Applications of Bayesian methods COMPARE MODELS No interest in significance Compare two models (i.e., H 0 and H 1 ) in order to look for the best one Bayesian Information criteria (BIC) Bayes Factor (BF) likelihood of a result given two models/hypothesis PREDICT FUTURE RESULTS Estimate unknown results, given a set of known evidences e.g., how many heads will I get by flipping a fair coin 10000 times? And what if it s an unfair coin? ESTIMATION OF PARAMETERS Evaluate the probability that the observed data are real Posterior distribution

SPSS AMOS AMOS (Analysis of Moment Structures) visual Structural Equation Modeling Structural Equation Modeling (SEM) Statistical technique used to establish relationships between variables Correspondence between the model specified and the data collected With AMOS it is possible to Quickly specify, view, and modify your model graphically using simple drawing tools

Example of a regression model Hamilton (1990) Average SAT score (Scholastic Assessment Test) Income expressed in $1,000 units Median education for residents 25 years of age or older

Example of a regression model SSSSSS ~ iiiiiiiiiiii + eeeeeeeeeeeeeeeeee + ee

Example of a regression model SSSSSS ~ iiiiiiiiiiii + eeeeeeeeeeeeeeeeee + ee

Example of a regression model SSSSSS ~ iiiiiiiiiiii + eeeeeeeeeeeeeeeeee + ee

Example of a regression model

Regression model Bayesian Approach Estimate means and intercepts Analyze Bayesian Estimation MCMC (Markov Chain Monte Carlo) algorithm begins sampling immediately, and it continues until you click the Pause Sampling button to halt the process. MCMC algorithm samples random values of parameters from a probability distribution

Regression model Bayesian Approach

Regression model Bayesian Approach 90.500 analysis samples

Regression model Bayesian Approach For each parameter Mean = estimate posterior mean (averaging across the MCMC samples) S.E. = likely distance between the estimated posterior mean and the true posterior mean S.D. = likely distance between the posterior mean and the unknown true parameter C.S. = Convergence Statistic Median Value Lower and upper 95% boundaries of the distribution (confidence interval) Skewness and Kurtosis Minimum and Maximum Value Name

Regression model Bayesian Approach CREDIBLE INTERVAL

Regression model Bayesian Approach CREDIBLE INTERVAL

Regression model Bayesian Approach CREDIBLE INTERVAL is interpreted as a probability statement about the parameter itself 95% sure that the true value lies between -4.840 and 9.292

Regression model Bayesian Approach CREDIBLE INTERVAL is interpreted as a probability statement about the parameter itself 95% sure that the true value lies between -4.840 and 9.292 Thus, it can be equal to 0 Accept H 0

Regression model Bayesian Approach CREDIBLE INTERVAL 95% sure that the true value lies between 67.033 and 203.38 Thus, > 0 Accept H 1

Regression model Bayesian Approach CREDIBLE INTERVAL 95% sure that the true value lies between 0.117 and 0.479 Thus, > 0 But still quite small

Frequentist vs Bayesian FREQUENTIST APPROACH Can only falsify H 0, but can t say much about H 1 (which is my real interest) With large sample sizes always favors H 1 P-value is sensitive to N Assumptions are often neglected p just indicate if it is significantly different from 0 but not how much BAYESIAN APPROACH Direct test of the hypothesis I m interested in More powerful with both small and large sample sizes With large sample sizes tends to favor the hypothesis which is more likely If the posterior distribution is not normal, the confidence interval will not be symmetric about the posterior mean Avoid misleading interpretations of the p-value and get a measure Statistical signifcance is not a scientific test. It is a philosophical, qualitative test. It does not ask how much. It asks whether. Existence, the question of whether, is interesting. But it is not scientific. (Ziliak & McCloskey, 2008)

Further reading MANY ISSUES COULD NOT BE COVERED!! (Seeds, convergence, priors, other applications in SPSS AMOS,...) Gelman et al. Bayesian Data Analysis (recent 3rd edition) Berry (1996) Introductory text on Bayesian methods Lee (2004) Good intro to Bayesian inference Bernardo and Smith (1994) (Advanced text on Bayesian theory) Hoff, D. H. (2009). A First Course in Bayesian Statistical Methods. Springer Texts in Statistics Kruschke, J., K. (2010). Doing Bayesian Data Analysis: A Tutorial with R and Bugs. Academic Press/Elsevier Science