Creates a censored Student's t distribution for use with greta.
student_censored(
df,
loc,
scale,
is_censored,
censor = "right",
lower = NULL,
upper = NULL,
dim = length(is_censored)
)
A greta censored Student's t distribution node.
Degrees of freedom for the Student's t distribution.
Location parameter (mean).
Scale parameter.
Logical vector indicating whether each observation is censored.
Type of censoring: one of 'right', 'left', 'interval'.
Lower bound for interval censoring (optional).
Upper bound for interval censoring (optional).
Dimension of the data (optional, defaults to length of df
).