Convenience wrapper for mle_newton_raphson with simplified interface. Always uses line search for stability (recommended for Newton-Raphson).
Examples
if (FALSE) { # \dontrun{
# Quick usage with Fisher information matrix
result <- mle_nr(loglike, score, fisher, theta0 = c(0, 1))
# With covariance matrix (inverted FIM)
result <- mle_nr(
loglike, score, covariance,
theta0 = c(0, 1),
inverted = TRUE
)
# Override config
result <- mle_nr(
loglike, score, fisher,
theta0 = c(0, 1),
max_iter = 50,
max_step = 0.5
)
} # }