Description Usage Arguments Examples
Randomly sample from the posterior distribution resulting from a NLG prior and Binomial data.
1 | nlg.post.sample(sample.size, shape, scale, s, n)
|
sample.size |
The number of draws from the posterior distribution. |
shape |
The shape parameter for the NLG prior. |
scale |
The scale parameter for the NLG prior. |
s |
The number of successes for the binomial data (should be a scalar). |
n |
The number of tests for the binomial data (should be a scalar). |
1 | nlg.post.sample(sample.size=50, shape=.2, scale=1, s=29, n=30)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.