An S7 object returned by survestimand(). It normalises every backend's
output to one shape: the method and kind, the raw backend fit (kept for
backend-specific follow-up), the coefficient vector and covariance, the log-likelihood, the
sample and event counts, and the small-sample power verdict.
Arguments
- method
Character method name (a registry key, e.g.
"weibull").- kind
Character method family: one of
"parametric","spline","nonparametric","cox","frailty","competing","recurrent","cure"or"interval".- backend
Character name of the package that produced the fit.
- fit
The raw backend fit object.
- coefficients
Named numeric coefficient vector.
- vcov
Coefficient covariance matrix (or
NULL).- loglik
Numeric log-likelihood (or
NA).- n
Integer number of observations.
- n_events
Integer number of events (non-censored).
- ratio_type
Character code for how an exponentiated covariate coefficient reads:
"HR"(hazard ratio),"TR"(time ratio),"OR"(odds ratio),"probit", orNAwhen the fit has no such coefficients.- aux_pars
Character names of the baseline distribution parameters (the auxiliary parameters the tidier keeps out of the ratio column).
- power
A
listpower verdict fromsest_power().- formula
The model formula.
- call
The originating call.
See also
survestimand() (constructs this object), sest_tidy(),
sest_curve() (consume it).
Examples
fit <- survestimand(survival::Surv(time, status) ~ age + sex, survival::lung,
method = "cox")
fit@method
#> [1] "cox"
fit@n_events
#> [1] 165
