Description Usage Arguments Details Value
Fit a parametric risk curve
1 2 |
object |
a fitted model object |
dataSample |
a |
timeInvariant |
if not |
timeVarying |
if not |
weights |
optional vector of weights of length |
level |
if not |
nSamples |
if |
A risk curve is the cumulative probability of an event up to some time point. For instance, it would be the probability of having been fired
up to year 2010. Confidence intervals around each event denote the probability of this event as opposed to other events. As such, confidence
intervals for all events do not sum to 1. The risk curve is calibrated at mean sample values, using the data in dataSample
.
If level
is NULL
, a length(years)
rows, 3 columns tibble
with year, and probability for 2 of the three outcomes. If
level
is not NULL
, a 2 * length(years)
rows tibble
with year and probability for 2 of the three outcomes, and as many columns
as necessary for confidence intervals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.