This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "ServerLayout" | |
Identifier "aticonfig Layout" | |
Screen 0 "aticonfig-Screen[0]-0" 0 0 | |
Screen "aticonfig-Screen[0]-1" RightOf "aticonfig-Screen[0]-0" | |
EndSection | |
Section "Module" | |
EndSection | |
Section "ServerFlags" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# io | |
fp = "./" | |
fn = fp + "prior_timetree.txt" | |
# make a tree variable | |
n_tips = 10 | |
for (i in 1:n_tips) { names[i] = "T"+i } | |
t ~ dnUniformTimeTree(originTime=1.0, taxonNames=names) | |
# create a vector of moves |