Skip to content

Instantly share code, notes, and snippets.


®γσ ξηg englianhu

View GitHub Profile
englianhu / bivar_pois.R
Created Aug 21, 2017 — forked from mbjoseph/bivar_pois.R
Initial pass at a bivariate Poisson model in Stan
View bivar_pois.R
## Simple bivariate Poisson model in stan
## following parameterization in Karlis and Ntzoufras 2003
## Simulate data
n <- 50
# indpendent Poisson components
theta <- c(2, 3, 1)
X_i <- array(dim=c(n, 3))
for (i in 1:3){
# Mini Project 2 for An Introduction to Interactive Programming in Python
# template for "Guess the number" mini-project
# input will come from buttons and an input field
# all output for the game will be printed in the console
# url
import random
import simplegui
# initialize global variables used in your code
You can’t perform that action at this time.