compute_log_incidence {incidental}R Documentation

Compute log likelihood of incidence model

Description

This function computes log likelihood of incidence model given parameters and observations.

Usage

compute_log_incidence(beta, Q, Tobs)

Arguments

beta

parameter vector of num_params

Q

spline basis matrix, of size Tmod x num_params

Tobs

maximum observed time point

Value

I Tobs-length vector that models log incidence curve


[Package incidental version 0.1 Index]