Skip to content

Instantly share code, notes, and snippets.

View lindemann09's full-sized avatar
🐧

Oliver Lindemann lindemann09

🐧
View GitHub Profile
@max-mapper
max-mapper / bibtex.png
Last active November 6, 2024 09:03
How to make a scientific looking PDF from markdown (with bibliography)
bibtex.png
@lindemann09
lindemann09 / install_jasp.sh
Last active August 29, 2015 14:22
JASP installation script for Debian & Ubuntu linux
echo "This script is deprecated!"
echo "Please visit http://lindemann09.github.io/jasp-linux-install/"
@mike-lawrence
mike-lawrence / hierarchical_gaussian_rstan.R
Last active February 26, 2016 14:46
Code to evaluate a simple Gaussian mixed effects model (one random effect, one 2-level fixed effect) using RStan.
########
# Define a data generating function and generate some data
########
library(MASS)
generate_data = function(
n # number of units of observation (ex. human participants in a cognitive science experiment)
, k # number of observations made within each condition within each unit
, noise # standard deviation of measurement noise
, I # population intercept
, sI # across-units standard deviation of intercepts