Skip to content

Tessero\Stats\CensoredData

← All classes

AI assistant

Build this with Claude Code, Cursor or Copilot

Copy a Tessero-tuned prompt for Tessero\Stats\CensoredData, grounded in 9 real API signatures , into your IDE's AI. No chatbot, just exact context.

__construct
__construct(mixed $uncensored = null, mixed $left = null, mixed $right = null, mixed $interval = null)
rightCensored static
rightCensored(mixed $x, mixed $censored): self

Create a CensoredData instance of right-censored data from measurements and a boolean mask.

leftCensored static
leftCensored(mixed $x, mixed $censored): self

Create a CensoredData instance of left-censored data from measurements and a boolean mask.

intervalCensored static
intervalCensored(mixed $low, mixed $high): self

Create a CensoredData instance of interval-censored data from low/high bound arrays.

uncensored
uncensored(): array

Uncensored observations. @return array<int,float>

left
left(): array

Left-censored observations. @return array<int,float>

interval
interval(): array

Interval-censored observations (finite, non-degenerate rows only). @return array<int,array{0:float,1:float}>

len
len(): int

Total number of values (censored and not censored).

numCensored
numCensored(): int

Number of censored values.