survive.nonparametric.NonparametricEstimatorSummary

class survive.nonparametric.NonparametricEstimatorSummary(model)[source]

Summaries for nonparametric estimators.

Methods

table(group) DataFrame summarizing the the nonparametric estimates for a group.
table(group)[source]

DataFrame summarizing the the nonparametric estimates for a group.

Parameters:
group : group label

Specify the group whose summary table should be returned.

Returns:
table : pandas.DataFrame

Summary table with the following columns.

time

The distinct event times for the group.

events

Number of events at each distinct event time for the group.

at risk

Number of individuals at risk (i.e., entered but not yet censored or failed) immediately before each distinct event time for the group.

estimate

The estimate at each event time.

std. err.

The standard error of the estimate at each event time.

c.i. lower

Lower confidence interval bound for the estimate at each event time. The actual name of this column will contain the confidence level.

c.i. upper

Upper confidence interval bound for the estimate at each event time. The actual name of this column will contain the confidence level.