#include <yat/statistics/KaplanMeier.h>
Class representing a time point in a kaplan-meier estimator
◆ TimePoint() [1/2]
theplu::yat::statistics::KaplanMeier::TimePoint::TimePoint |
( |
void |
| ) |
|
◆ TimePoint() [2/2]
theplu::yat::statistics::KaplanMeier::TimePoint::TimePoint |
( |
unsigned int |
event, |
|
|
unsigned int |
censored |
|
) |
| |
- Parameters
-
event | number of events occuring at this time point |
censored | number of data points being censored at this time point. |
◆ at_risk()
unsigned int theplu::yat::statistics::KaplanMeier::TimePoint::at_risk |
( |
void |
| ) |
const |
Number of subjects being at risk at this point in time, i.e., number of data points that occur or are being censored at this time point or later.
◆ censored()
unsigned int theplu::yat::statistics::KaplanMeier::TimePoint::censored |
( |
void |
| ) |
const |
Number of data points being censored at this time point
◆ event()
unsigned int theplu::yat::statistics::KaplanMeier::TimePoint::event |
( |
void |
| ) |
const |
Number of events occurring
◆ survival_proportion()
double theplu::yat::statistics::KaplanMeier::TimePoint::survival_proportion |
( |
void |
| ) |
const |
The documentation for this class was generated from the following file: