Automatically creates priorspec objects from a string. For mom 'tau=0.34'; for normid and groupmom 'tau=1' and for zellner and groupzellner 'tau=n'
1 | get_prior(priorname, n)
|
priorname |
One of the following strings: mom, normid, zell, gzell, gmom |
n |
Number of observations in data where prior is to be used |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.