Creates a censored normal distribution for use with greta.
normal_censored(
mean,
sd,
is_censored,
censor = "right",
lower = NULL,
upper = NULL,
dim = length(is_censored)
)
Mean of the normal distribution.
Standard deviation of the normal distribution.
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 mean
).
A greta censored normal distribution node.