Created
December 2, 2021 13:01
-
-
Save MJacobs1985/8e45d3dfc3083715ee48ece0ee2fbb1b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| m5.3_B <- quap( | |
| alist( | |
| ADG ~ dnorm(mu , sigma ) , | |
| mu <- a + b*ADF + bB*B + bI*I + bS*S + bUK*UK, | |
| a ~ dnorm (-2, 3 ) , | |
| b ~ dnorm (1 , 2 ) , | |
| bB ~ dnorm (0 , 2 ) , | |
| bI ~ dnorm (-10 , 3 ) , | |
| bS ~ dnorm (4 , 2 ) , | |
| bUK ~ dnorm (-1 , 2 ) , | |
| sigma ~ dexp (2 ) | |
| ) , data = dn ) | |
| plot(coeftab(m5.3_A,m5.3_B)) | |
| rethinking::compare(m5.3_A,m5.3_B, func=WAIC ) | |
| plot(rethinking::compare(m5.3_A,m5.3_B, func=WAIC )) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment