Blog Archives

Recreating Michael Betancourt’s Bayesian modeling course from his online materials

September 23, 2018
By

Several people wanted to have the slides from Betancourt's lectures at SMLP2018. It is possible to recreate most of the course from his writings:1. Intro to probability:https://betanalpha.github.io/assets/case_studies/probability_theory.html2. Workflow...

Read more »

How to capitalize on a priori contrasts in linear (mixed) models: A tutorial

August 16, 2018
By

We wrote a short tutorial on contast coding, covering the common contrast coding scenarios, among them: treatment, helmert, anova, sum, and sliding (successive differences) contrasts.  The target audience is psychologists and linguists, but really it is for anyone doing planned experiments.   The paper has not been submitted anywhere yet. We are keen to get user feedback before we...

Read more »

Stan Pharmacometrics conference in Paris July 24 2018

July 25, 2018
By

I just got back from attending this amazing conference in Paris:http://www.go-isop.org/stan-for-pharmacometrics---paris-franceA few people were disturbed/surprised by the fact that I am linguist ("what are you doing at an pharmacometrics conference?")....

Read more »

The smaller the p-value, the higher the likelihood ratio: true or false?

April 6, 2018
By

Someone recently said to me that the lower the p-value, the higher the likelihood ratio under the alternative vs the null. The arXiv paper by Michael Lew makes analogous points (thanks to Titus von der Malsb...

Read more »

Posterior probability of the null hypothesis being true, given a significant effect

April 5, 2018
By

For some reason, I am unable to load this post to google blogger. I have linked the post to an html file on my home page. Please comment here on this blog. Here is the post: Posterior probability of the null hypothesis being true, given a significant...

Read more »

Fitting Bayesian Linear Mixed Models for continuous and binary data using Stan: A quick tutorial

March 27, 2017
By

I want to give a quick tutorial on fitting Linear Mixed Models (hierarchical models) with a full variance-covariance matrix for random effects (what Barr et al 2013 call a maximal model) using Stan. For a longer version of this tutorial, see: Sorensen, Hohenstein, Vasishth, 2016. Prerequisites: You need to have R and preferably RStudio installed; RStudio is optional. You...

Read more »

Two papers, with code: Statistical Methods for Linguistic Research (Parts 1 and 2)

August 2, 2016
By

Here are two papers that may be useful for researchers in psychology, linguistics, and cognitive science:Shravan Vasishth and Bruno Nicenboim. Statistical methods for linguistic research: Foundational Ideas - Part I. Language and Linguistics Compass, 2016. In Press. PDF: http://bit.ly/VasNicPart1Code: http://bit.ly/VasNicPart1CodeBruno Nicenboim and Shravan Vasishth. Statistical methods for linguistics research: Foundational Ideas - Part II. Language and Linguistics Compass, 2016. In Press.PDF:  http://bit.ly/NicVasPart2Code: http://bit.ly/NicVasPart2Code

Read more »

A simple proof that the p-value distribution is uniform when the null hypothesis is true

April 26, 2016
By
A simple proof that the p-value distribution is uniform when the null hypothesis is true

Thanks to Mark Andrews for correcting some crucial typos (I hope I got it right this time!). Thanks also to Andrew Gelman for pointing out that the proof below holds only when the null hypothesis ...

Read more »

Automating R exercises and exams using the exams package

January 17, 2016
By

It's a pain to design statistics exercises each semester, and because students from previous share old exercises with the new incoming students, it's hard to design simple exercises that students haven't already seen the answers to. On top of that, som...

Read more »

My MSc thesis: A meta-analysis of relative clause processing in Mandarin Chinese using bias modelling

January 6, 2016
By

Here is my MSc thesis, which was submitted to the University of Sheffield in September 2015. The pdf is here.Title: A Meta-analysis of Relative Clause Processing in Mandarin Chinese using Bias Modelling AbstractThe reading difficulty associated wi...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)