Skip to contents

predicted transition probs for a single covariate table and fixed beta vector from t = 1 to t = t.final

Usage

.trans.prob.single(modelobj, betavec_byblock, covtable, extendtime)

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.

extendtime

Logical; If TRUE, extend each subject's covariate data to t.final before any averaging occurs. Extension is done by carrying forward the last observation for each subject.