Skip to content

Instantly share code, notes, and snippets.

@MJacobs1985
Created December 2, 2021 14:48
Show Gist options
  • Select an option

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

Select an option

Save MJacobs1985/8830af24ec99bc3cc485d045ff79837b to your computer and use it in GitHub Desktop.
m8.6 <- ulam(
alist(
ADG ~ dnorm( mu , sigma ) ,
mu <- a + b*ADF + c*BW_start + d*ADF*BW_start ,
a ~ dnorm( 0.5 , 0.25 ) ,
b ~ dnorm( 0 , 0.25 ) ,
c ~ dnorm( 0 , 0.25 ) ,
d ~ dnorm( 0 , 0.25 ) ,
sigma ~ dexp( 1 )
) , data=d, chains=4, cores=4)
show(m8.6)
precis(m8.6 , 2 )
pairs(m8.6 )
traceplot(m8.6)
trankplot(m8.6 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment