weightPredict {ahw} | R Documentation |
Continuous time weight estimation based on
predict.aalen
Description
Extracts cumulative hazard estimates for each individual. Each
individual receives a weight process evaluated at pre-specified time points.
The weight process is estimated as a cumulative product involving estimated
cumulative hazard increments, and a hazard ratio estimated using a smoothing
parameter b
.
Usage
weightPredict(fPred, cfPred, wtFrame, ids, eventTimes, eventIds, b)
Arguments
fPred |
|
cfPred |
|
wtFrame |
|
ids |
All individuals in the data set |
eventTimes |
Observed event times |
eventIds |
Individuals that experience the event |
b |
Smoothing parameter |
Value
data.table
Author(s)
Pål Christie Ryalen <p.c.ryalen@medisin.uio.no>
[Package ahw version 0.1.0 Index]