data { int N ; int k ; } parameters { real theta ; } model { theta ~ beta(1,1) ; k ~ binomial(N, theta) ; }