Intro to WinBUGS / JAGS

Fri 27 January 2012 by Adrian Brasoveanu

Plan for the Jan. 31 & Feb. 2 classes; feel free to bring your laptops to class and work through the scripts on your own as we go through them in class:

  1. First script: bayes-winbugs-jags-1.r; contents:

    • the mean model: simulated data, R analysis, WinBUGS / JAGS analysis
    • the structure of WinBUGS …
read more

Intro to Bayesian inference and MCMC (part 2)

Mon 23 January 2012 by Adrian Brasoveanu

Plan for the Jan. 24 & 26 classes:

  1. wrap up examples of inference for binomial proportions with conjugate Beta priors and with grid-discretized priors
  2. intro to Bayes for cognitive science; slides: intro-bayes-2.pdf
  3. introduction to Markov Chain Monte Carlo (MCMC) and the Metropolis family of algorithms bayes-MCMC-intro.r; on …
read more

Cox (1946) and Jaynes (2003)

Fri 20 January 2012 by Adrian Brasoveanu

The slides for Robert Henderson’s excellent presentation of Cox (1946) (“Probability, Frequency and Reasonable Expectation”) and Jaynes (2003) (“Probability Theory: The Logic of Science”), chapters 1 and 2 are available here.

read more

Intro to Bayesian inference (part 1)

Sun 15 January 2012 by Adrian Brasoveanu

Plan for the Jan. 17 class:

  1. intro to Bayesian inference (part 1); slides: intro-bayes-1.pdf
  2. examples of inference for binomial proportions with conjugate (Beta) priors — based on Kruschke (2011), chapter 5: examples-Bern-Beta.r; to run the examples, you will need the following 2 files: BernBeta.R and HDIofICDF.R
  3. examples …
read more

Intro to probability — slides

Fri 13 January 2012 by Adrian Brasoveanu

The slides we discussed on Jan. 12 in the semantics seminar are available here. You can also take a look at Kruschke (2011), chapters 3 and 4.

read more

Doing Bayesian Data Analysis” - Now in JAGS

Sun 01 January 2012 by Adrian Brasoveanu

John Kruschke has created JAGS versions of all the programs in “Doing Bayesian Data Analysis”.

Unlike BUGS, JAGS runs on MacOS, Linux, and Windows. JAGS has other features that make it more robust and user-friendly than BUGS. I recommend that you use the JAGS versions of the programs.

For more …

read more

Seminar: Statistical & Cognitive Modeling for Formal Semantics

Wed 28 December 2011 by Adrian Brasoveanu

Winter 2012 Seminar in Semantics (Linguistics, UCSC):

  • Statistical & Cognitive Modeling for Formal Semantics

See the syllabus and AB’s teaching page for more information.

read more

[Fall 2011] Ordinal probit ‘t-test’

Wed 28 December 2011 by Adrian Brasoveanu

An introduction to ordinal probit regression: simulated data for an ordinal probit ‘t-test’, i.e., an ordinal probit regression with only one predictor (a factor with 2 levels); frequentist analysis in R using the “ordinal” package; Bayesian analysis using WinBUGS and JAGS: ordinal-probit-regression.r.

read more

[Spring 2011] Intro to Bayesian data analysis

Wed 28 December 2011 by Adrian Brasoveanu

A very nice compact argument for Bayesian methods can be found in John Kruschke‘s Bayesian Data Analysis, WIREs Cognitive Science 1, 658-676. Here’s the very beginning of the article (followed by a section entitled “The road to NHST is paved with good intentions”):

This brief article assumes that …

read more

[Spring 2011] GLMs & GLMMs (ctd.)

Wed 28 December 2011 by Adrian Brasoveanu

Plan: linear regression wrap-up; introduce logistic regression models, maximum likelihood estimation of their parameters and the frequentist quantification of the uncertainty associated with those estimates; introduce the Bayesian approach to regression models with the goal of having a flexible way to estimate all sorts of logistic regression models, including binary …

read more