Skip to content

Instantly share code, notes, and snippets.

@MJacobs1985
Created December 2, 2021 21:46
Show Gist options
  • Select an option

  • Save MJacobs1985/f4d0329899734949b671d43016d2afcc to your computer and use it in GitHub Desktop.

Select an option

Save MJacobs1985/f4d0329899734949b671d43016d2afcc to your computer and use it in GitHub Desktop.
m11.4 <- ulam(
alist(
Included2017 ~ dbinom( 1 , p ) ,
logit(p) <- a + b*ADG +c*BW_start + d[Country] ,
a ~ dnorm( 2 , 1 ),
b ~ dnorm( 0.5 , 1 ),
c ~ dnorm( 0.5 , 1 ),
d[Country] ~ dnorm( 3 , 1 )
) , data=d, chains=4, cores=4)
show(m11.4)
precis(m11.4 , 2 )
pairs(m11.4 )
traceplot(m11.4)
trankplot(m11.4 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment