Learn R Programming

inferference (version 1.0.2)

score_calc: Compute scores for a single group

Description

Used by score_matrix to log likelihood derivatives for a single group.

Usage

score_calc(parameters, integrand, hide.errors = TRUE, ...)

Arguments

parameters

vector of parameters passed to integrand

integrand

function to used for the integrand. Defaults to logit_integrand.

hide.errors

Hide errors printed from grad. Defaults to true.

...

additional arguments pass to the integrand function.

Value

length(theta) vector of scores