phmm.cond.loglik: PHMM conditional log-likelihood

Description Usage Arguments Value See Also

View source: R/phmm.R

Description

Function for computing log-likelihood conditional on the estimated random effects from the data and specified parameter estimates of a PHMM.

Usage

1
phmm.cond.loglik(time, delta, z, beta, w, b)

Arguments

time

Follow-up time (right censored data).

delta

The status indicator (0=alive, 1=dead; or TRUE=dead, FALSE=alive).

z

Numeric matrix (Nxnfixed) of covariates for fixed effects.

beta

Fitted fixed effects coefficients (p-vector).

w

Numeric matrix (Nxnrandom) of covariates for random effects.

b

Numeric matrix (Nxnrandom) of random effects estimates.

Value

The PHMM log-likelihood conditional on the estimated random effects.

See Also

phmm, loglik.cond


phmm documentation built on March 26, 2020, 5:10 p.m.