Description Usage Arguments Value Author(s) See Also
This function serves to calculate the posterior canonical parameter n^(n) from its prior counterpart n^(0) and the sample size n, by
n^{n} = n^{0} + n
Together with updateLuckY
, this formula thus executes the Bayesian update step.
It is mostly used internally to determine posterior characteristics and inferences,
e.g., when plotting the posterior parameter set via plot
,
or when calculating the posterior union of highest density intervals via unionHdi
.
1 | updateLuckN(n0, n)
|
n0 |
The prior canonical parameter n^(0),
which can be taken from the slot |
n |
The sample size n,
which can be taken form the slot |
The posterior canonical parameter n^(n) (numeric).
Gero Walter
luck
for a general description of the package,
LuckModel
for its central class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.