Skip to contents

Evalulate the cumulative distribution function under the model.

Usage

model_cdf(q, later_mu, later_sd, early_sd = NULL)

Arguments

q

Vector of quantiles

later_mu

Vector of the mean of the later component.

later_sd

Vector of the standard deviation of the later component.

early_sd

Vector of the standard deviation of the early component, or NULL if there is no early component (the default).

Value

Vector of cumulative distribution values

Examples

model_cdf(q = 1, later_mu = 1, later_sd = 1)
#> [1] 0.5
model_cdf(q = 1, later_mu = 1, later_sd = 1, early_sd = 3)
#> [1] 0.3152793