primarycensored
Loading...
Searching...
No Matches
Log CDFs for the ode function

Helper function to compute the log CDF for the delay distribution. More...

Collaboration diagram for Log CDFs for the ode function:

Functions

real dist_lcdf (real delay, array[] real params, int dist_id)
 

Description

Helper function to compute the log CDF for the delay distribution.

Function Documentation

◆ dist_lcdf()

real dist_lcdf ( real delay,
array[]real params,
int dist_id )

Compute the log CDF of the delay distribution

Parameters
delayTime delay
paramsDistribution parameters
dist_idDistribution identifier 1: Lognormal, 2: Gamma, 3: Normal, 4: Exponential, 5: Weibull, 6: Beta, 7: Cauchy, 8: Chi-square, 9: Inverse Chi-square, 10: Double Exponential, 11: Inverse Gamma, 12: Logistic, 13: Pareto, 14: Scaled Inverse Chi-square, 15: Student's t, 16: Uniform, 17: von Mises
Returns
Log CDF of the delay distribution
// Example: Lognormal distribution
real delay = 5.0;
array[2] real params = {0.0, 1.0}; // mean and standard deviation on log scale
int dist_id = 1; // Lognormal
real log_cdf = dist_lcdf(delay, params, dist_id);
real dist_lcdf(real delay, array[] real params, int dist_id)

Definition at line 24 of file primarycensored_ode.stan.

Here is the caller graph for this function: