My Office Hours I will stay after class on both Monday and Wednesday, i.e., 1:30 Mon/Wed in MGH 030. Can everyone stay if they need to? Psych 548, Miyamoto,

Slides:



Advertisements
Similar presentations
CSE 5522: Survey of Artificial Intelligence II: Advanced Techniques Instructor: Alan Ritter TA: Fan Yang.
Advertisements

CSC 171 – FALL 2004 COMPUTER PROGRAMMING LECTURE 0 ADMINISTRATION.
Psych 548, Miyamoto, Win '15 1 Set Up for Students Your computer should already be turned on and logged in. Open a browser to the Psych 548 website ( you.
A quick intro to Bayesian thinking 104 Frequentist Approach 10/14 Probability of 1 head next: = X Probability of 2 heads next: = 0.51.
Introduction to MCMC and BUGS. Computational problems More parameters -> even more parameter combinations Exact computation and grid approximation become.
Bayesian Hierarchical Clustering Paper by K. Heller and Z. Ghahramani ICML 2005 Presented by HAO-WEI, YEH.
Lecture note for Stat 231: Pattern Recognition and Machine Learning 4. Maximum Likelihood Prof. A.L. Yuille Stat 231. Fall 2004.
1 Inferring structure to make substantive conclusions: How does it work? Hypothesis testing approaches: Tests on deviances, possibly penalised (AIC/BIC,
Posterior Regularization for Structured Latent Variable Models Li Zhonghua I2R SMT Reading Group.
Practical Statistics for Particle Physicists Lecture 3 Harrison B. Prosper Florida State University European School of High-Energy Physics Anjou, France.
Introduction to Problem Solving
Representativeness, Similarity, & Base Rate Neglect Psychology 466: Judgment & Decision Making Instructor: John Miyamoto 10/27/2015: Lecture 05-1 Note:
Evidence for a Visuospatial Sketch Pad (VSP) Psychology 355: Cognitive Psychology Instructor: John Miyamoto 4/28 /2015: Lecture 05-2 This Powerpoint presentation.
Reducing MCMC Computational Cost With a Two Layered Bayesian Approach
When “Less Is More” – A Critique of the Heuristics & Biases Approach to Judgment and Decision Making Psychology 466: Judgment & Decision Making Instructor:
- 1 - Calibration with discrepancy Major references –Calibration lecture is not in the book. –Kennedy, Marc C., and Anthony O'Hagan. "Bayesian calibration.
Bayesian Statistics, Modeling & Reasoning What is this course about? P548: Intro Bayesian Stats with Psych Applications Instructor: John Miyamoto 01/04/2016:
The Uniform Prior and the Laplace Correction Supplemental Material not on exam.
Bayes Theorem, a.k.a. Bayes Rule
Gestalt Principles of Perception Psychology 355: Cognitive Psychology Instructor: John Miyamoto 04/08 /2015: Lecture 02-3 This Powerpoint presentation.
Markov-Chain-Monte-Carlo (MCMC) & The Metropolis-Hastings Algorithm P548: Intro Bayesian Stats with Psych Applications Instructor: John Miyamoto 01/19/2016:
Phonological Loop, Visuospatial Sketchpad & Articulatory Suppression Psychology 355: Cognitive Psychology Instructor: John Miyamoto 04/25/2016: Lecture.
The Psychology of Inductive Inference Psychology 355: Cognitive Psychology Instructor: John Miyamoto 5/26/2016: Lecture 09-4 Note: This Powerpoint presentation.
Computing with R & Bayesian Statistical Inference P548: Intro Bayesian Stats with Psych Applications Instructor: John Miyamoto 01/11/2016: Lecture 02-1.
1 CMSC104 Problem Solving and Computer Programming Fall 2008 Section 0101 John Y. Park.
MLPR - Questions. Can you go through integration, differentiation etc. Why do we need priors? Difference between prior and posterior. What does Bayesian.
Bayesian Statistics, Modeling & Reasoning What is this course about?
Project.
MCMC Output & Metropolis-Hastings Algorithm Part I
Mentoring and Presentations
CLOSE Please YOUR LAPTOPS, and get out your note-taking materials.
COSC 1200 Best Practices: homework
CMSC104 Problem Solving and Computer Programming Fall 2010 Section 01
Bayesian statistics So far we have thought of probabilities as the long term “success frequency”: #successes / #trails → P(success). In Bayesian statistics.
ICS 280 Learning in Graphical Models
A Tutorial on How to Turn PowerPoint Presentations into Slideshows
Use of Pseudo-Priors in Bayesian Model Comparison
Set Up for Instructor MGH Display: Try setting your resolution to 1024 by 768 Run Powerpoint. For most reliable start up: Start laptop & projector before.
“What” and “Where” Pathways in the Brain – A Hypothesis About Localization of Perceptual Functions Psychology 355: Cognitive Psychology Instructor:
1st: Representativeness Heuristic and Conjunction Errors 2nd: Risk Attitude and Framing Effects Psychology 355:
Unilateral Neglect, Spatial Attention, Object-Based Attention
Four Linear Judgment Models
fMRI: What Does It Measure?
Judgment & Decision Making A Few Final Comments
Sensory Memory, Short-Term Memory & Working Memory
Perceptual Heuristics & Gestalt Principles of Perception
Set Up for Instructor MGH Display: Try setting your resolution to 1024 by 768 Run Powerpoint. For most reliable start up: Start laptop & projector before.
CMSC 104 Problem Solving and Computer Programming Fall 2010
About 45 questions / 50 points
Brief History of Cognitive Psychology
Predictive distributions
CS 139 – Programming Fundamentals
Introduction to Bayesian Model Comparison
Bayesian Hierarchical Model: Many Theta's in Multiple Conditions
One-Sample Models (Continuous DV) Then: Simple Linear Regression
Set Up for Instructor Classroom Support Services (CSS), 35 Kane Hall,
Intro to Bayesian Hierarchical Modeling
Set Up for Instructor Classroom Support Services (CSS), 35 Kane Hall,
Instructors: Fei Fang (This Lecture) and Dave Touretzky
Set Up for Instructor Classroom Support Services (CSS), 35 Kane Hall,
Hierarchical Models of Memory Retention
Hello Welcome to Statistics I – STAB22 Section: LEC01 Tuesdays and Fridays: 12 to 1 pm. Room: IC 130 Fall 2014.
Set Up for Instructor Classroom Support Services (CSS), 35 Kane Hall,
LECTURE 07: BAYESIAN ESTIMATION
BIT 115: Introduction To Programming
Set Up for Instructor Classroom Support Services (CSS), 35 Kane Hall,
Psychology 355: Cognitive Psychology Instructor: John Miyamoto /2011
Welcome to the CMSC 104 Class!!!
Bayesian Statistics on a Shoestring Assaf Oron, May 2008
CMPT 120 Lecture 15 – Unit 3 – Graphics and Animation
Presentation transcript:

My Office Hours I will stay after class on both Monday and Wednesday, i.e., 1:30 Mon/Wed in MGH 030. Can everyone stay if they need to? Psych 548, Miyamoto, Win '17

Computing with R & Bayesian Statistical Inference P548: Intro Bayesian Stats with Psych Applications Instructor: John Miyamoto 01/11/2017: Lecture 02-2 Note: This Powerpoint presentation may contain macros that I wrote to help me create the slides. The macros aren’t needed to view the slides. You can disable or delete the macros without any change to the presentation.

What Tasks Does R Perform in a Bayesian Statistical Analysis? 1. Data manipulation (data preparation step) Put the data into a form that is easy to work with or easy to understand. 2. Pass the Bayesian inference problem from R to JAGS (inference step) Result of Bayesian inference = Approximation to the posterior distribution over the parameters of a model. 3. Use R to make a statistical or graphical analysis of the approximate posterior distribution (interpretation step). General Pattern of Bayesian Inference Psych 548:, Miyamoto, Win '17

General Pattern of Bayesian Statistical Inference Background to the Analysis Define the Class of Statistical Models (Reality is Assumed to Lie within this Class of Models Define Likelihoods Conditional on Parameters Define Prior Distribution over the Parameters of the Model Data Infer and Interpret the Posterior Distribution over the Parameters of the Model Psych 548, Miyamoto, Win '17 Three Strategies for Bayesian Inference

Three Strategies of Bayesian Statistical Inference Define the Class of Statistical Models (Reality is Assumed to Lie within this Class of Models Define Likelihoods Conditional on Parameters Define Prior Distributions Data Compute Posterior from Conjugate Priors (if possible) Compute Posterior with Grid Approximation (if practically possible) Compute Approximate Posterior by MCMC Algorithm (if possible) Psych 548, Miyamoto, Win '17 Same Slide – Summary Representation

General Strategy of Bayesian Statistical Inference Define the Class of Statistical Models (Reality is Assumed to Lie within this Class of Models Define Likelihoods Conditional on Parameters Define Prior Distributions Data Compute Posterior from Conjugate Priors (if possible) Compute Posterior with Grid Approximation (if practically possible) Compute Approximate Posterior by MCMC Algorithm (if possible) Psych 548, Miyamoto, Win '17 Outline of Today's Lecture - END

Today's Class Basic data types in R Needed for data preparation Needed for analysis of results Writing functions in R Makes it easier to solve complex problems or problems that come up repeatedly. Use R function to compute This is a conceptually useful a grid approximation to exercise; once in awhile it is useful the posterior in a binomial in actual research. inference problem. Use conjugate priors to This is a conceptually useful compute the posterior in a exercise, and it can be extremely binomial inference problem useful in actual research. END Psych 548: Miyamoto, Win '17

Set Up for Instructor Turn off your cell phone. Close web browsers if they are not needed. Classroom Support Services (CSS), 35 Kane Hall, 206-543-9900 If the display is odd, try setting your resolution to 1024 by 768 Run Powerpoint. For most reliable start up: Start laptop & projector before connecting them together If necessary, reboot the laptop Psych 548, Miyamoto, Aut ‘16