Description Usage Arguments Value Author(s)
Calculate the negative log-likelihood of the parameters k
and lambda
given count data. Returns the negative log-likelihood. The data are in the
form of a square matrix of dimension (N+1)x(N+1).
Will be called by nlm()
or similar. This is more for explanation purposes
– use negLL_Weibull_counts_df()
for real data since it should be faster
and is set up to do confidence intervals.
1 | negLL_Weibull_counts_matrix(p, h_nr)
|
p |
vector of parameter values |
h_nr |
square matrix of counts of numbers of individuals whose case was
reported on day |
negative log-likelihood of the parameters given the data
Andrew Edwards
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.