from greenwood import CensoringType
# List all supported censoring mechanisms
list(CensoringType)[<CensoringType.RIGHT: 'right'>,
<CensoringType.LEFT: 'left'>,
<CensoringType.INTERVAL: 'interval'>,
<CensoringType.COUNTING: 'counting'>]
The censoring mechanism of a Surv response.
Usage
Each member corresponds to one of the Surv constructors and describes how incomplete observations are handled:
A constructed response reports its censoring type through Surv(...).type, which is one of these values.
List all available censoring types:
| Name | Description |
|---|---|
| COUNTING | |
| INTERVAL | |
| LEFT | |
| RIGHT |
COUNTING="counting"
INTERVAL="interval"
LEFT="left"
RIGHT="right"