Skip to contents

computes the transition matrix P(t) at a single timepoint given a single vector of covariates and time t

Usage

.Pt(modelobj, betavec_byblock, covtable, t)

Arguments

modelobj

A pandista model object

betavec_byblock

A list of beta coefficient vectors, one for each block. If NULL, will use the estimated coefficients contained in modelobj

covtable

A dataframe representing the panel-data-type covariates from which to compute the transition rates. One row for each value of t.

t

Numerical; time value at which to compute the transition rates