Description Usage Arguments Value Author(s)
Wrapper function for simulating one h_nr matrix and fitting with likelihood
using nlm()
1 | h_nr_one_sim_fit(init = c(3, 15), ...)
|
init |
initial conditions for optimisation |
... |
inputs for |
MLE_res output from nlm, a list containing components:
minimum
: minimum of negative log-likelihod
estimate
: vector of MLEs of k
and then lambda
gradient
: vector of the gradient at the minimum (should be close to c(0,0)
)
code
: integer indicating why the optimization process terminated, 1 is
relative gradient is close to zero (see ?nlm
).
iterations
: number of iterations performed
Andrew Edwards
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.