Description Usage Arguments Details Value Author(s) See Also
Set up LnbDict
instance
1 | setupLnbDict(count.max, mean.bias.vec, r, alpha, beta, count.res, p.res)
|
count.max |
dgCMatrix, Max values of |
mean.bias.vec |
Numeric vecotor, Relative mean bias for each observation |
r |
Numeric, Size parameters of negative binomial distribution. |
alpha |
Numeric, Parameter fo beta distribution, which is prior for p of negative binomial distribution |
beta |
Numeric, Parameter fo beta distribution, which is prior for p of negative binomial distribution |
count.res |
Integer, Approximation resolution of count |
p.res |
Integer, Approximation resolution of parameter p |
This function is responsible for generating instance of LnbDict
. This involves calculate negative binomial probability for grid points of count and p. Futhermore, this calculate index conversion for count and p (see details in LnbDict
. This also calculate log prior values for p.vec
.
lnb.dict Instance of class LnbDict
Yasuhiro Kojima
[LnbDict]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.