Description Usage Arguments Details Value Examples
View source: R/normal_poisson_log_likelihood.R
Implementation of Normal-Poisson log-likelihood, taking deductibles into account.
1 2 | normal_poisson_log_likelihood(parameter = NULL, X = NULL, N = NULL,
check = 1)
|
parameter |
|
X |
|
N |
|
check |
default value is 1 and returns the log-likelihood, else returns the parameter
names of the model: |
Note that the row number of X
and N
need not be the same.
Returns a numeric
value or character
vector of parameter names depending on
whether check
= 1 or not.
1 2 3 | normal_poisson_log_likelihood(c(1,2,3), X = normal_poisson_x, N = normal_poisson_n, check = 1)
normal_poisson_log_likelihood(c(1,2,3), X = normal_poisson_x, N = normal_poisson_n, check = 0)
normal_poisson_log_likelihood(check = 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.