Learn R Programming

dynamichazard (version 0.4.0)

logLik.fahrmeier_94: Log likelihood of smoothed state vector of a fahrmeier_94 object

Description

Computes the log likelihood of (a potentially new) data set given the estimated: $$E_{\theta}(\alpha_1 | y_{1:d}), E_{\theta}(\alpha_{2} | y_{1:d}), ..., E_{\theta}(\alpha_{d} | y_{1:d})$$

from the fahrmeier_94 class object. Note that this is not the log likelihood of the observed data given the outcome.

Usage

# S3 method for fahrmeier_94
logLik(object, data = NULL, id, ...)

Arguments

object

an object of class fahrmeier_94.

data

new data to evaluate the likelihood for.

id

the individual identifiers as in ddhazard.

...

unused.