Compute standard errors from Hessian
std_errors.RdExtracts standard errors from the Hessian of a log-likelihood. SE(θ̂ᵢ) = sqrt(I(θ̂)⁻¹ᵢᵢ) = sqrt(-H⁻¹ᵢᵢ)
Arguments
- hess
The Hessian matrix (from
hessian())- is_loglik
If TRUE, treats hess as Hessian of log-likelihood and uses -H⁻¹. If FALSE, uses H⁻¹ directly.