incidental (version 0.1)

marg_loglike_poisson_fisher: Marginal log likelihood Fisher information matrix

Description

This function computes the Fisher information matrix log likelihood term with respect to beta.

Usage

marg_loglike_poisson_fisher(beta, reported, Q, lnPmat)

Arguments

beta

A spline parameter vector length num_params.

reported

An integer vector of reported cases.

Q

A spline basis matrix Tmod x num_params.

lnPmat

A matrix size Tobs x Tobs, log of make_likelihood_matrix.

Value

A numeric vector, gradient of log likelihood value with respect to beta.