Publications by Shravan Vasishth
Automating R exercises and exams using the exams package
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, some students try to cheat during the exam by looking over the shoulder of their ...
3679 sym
A simple proof that the p-value distribution is uniform when the null hypothesis is true
[Scroll to graphic below if math doesn’t render for you]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 is a point null $H_0: \mu = 0$, and the dependent measure is continuous, such as r...
2096 sym 2 img
Two papers, with code: Statistical Methods for Linguistic Research (Parts 1 and 2)
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/VasNicPart1Cod...
998 sym
Fitting Bayesian Linear Mixed Models for continuous and binary data using Stan: A quick tutorial
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 RStud...
3186 sym R (4883 sym/12 pcs)
Posterior probability of the null hypothesis being true, given a significant effect
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 effect Related To leave a comment for the author, please follow the link and comme...
694 sym
The smaller the p-value, the higher the likelihood ratio: true or false?
[Thanks to Scott Glover for correcting me.] 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 Malsburg for pointing me to this paper). I show below why this fact is irrelevant. The pr...
1023 sym
Stan Pharmacometrics conference in Paris July 24 2018
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?”). I hasten to point out that two of the core developers of Stan are linguists too...
3759 sym
How to capitalize on a priori contrasts in linear (mixed) models: A tutorial
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 anywher...
2502 sym
Recreating Michael Betancourt’s Bayesian modeling course from his online materials
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:https://betanalpha.github.io/assets/case_studies/principled_bayesian_workflow.htm...
1024 sym
Estimating the carbon cost of psycholinguistics conferences
Estimating the carbon cost of psycholinguistics conferencesShravan Vasishth10/5/2019Note: If I have made some calculation error, please point it out and I will fix it.SuggestionAt the University of Potsdam we are discussing how to reduce our carbon footprint in science-related work. One thought I had was that we could reduce our carbo...
6403 sym R (476 sym/20 pcs)