primarycensored
Loading...
Searching...
No Matches
primarycensored_ode.stan File Reference

Functions in this File

real gengamma_lcdf (real y, real shape, real scale, real k)
 
int dist_has_positive_support (data int dist_id)
 
int lognormal_lcdf_underflows (real y, real mu, real sigma)
 
real dist_lcdf (real delay, array[] real params, int dist_id)
 
real primary_lcdf (real p, int primary_id, array[] real primary_params, data real pwindow)
 
real primary_lpdf (real x, int primary_id, array[] real params, real xmin, real xmax)
 
vector primarycensored_ode (real t, vector y, array[] real theta, array[] real x_r, array[] int x_i)
 

Function Documentation

◆ primary_lcdf()

real primary_lcdf ( real p,
int primary_id,
array[]real primary_params,
data real pwindow )

Log CDF of the primary distribution on [0, pwindow]

Returns log F_primary(p) for the primary event time p in [0, pwindow]. Only primary_id values supported by check_for_analytical should be passed here. The Stan _lcdf convention requires the | syntax at call sites.

Parameters
pPrimary event time in [0, pwindow]
primary_idPrimary distribution identifier (1=uniform, 2=expgrowth)
primary_paramsDistribution parameters (empty for uniform; [r] for expgrowth)
pwindowPrimary event window width
Returns
log(F_primary(p))

Definition at line 176 of file primarycensored_ode.stan.

Here is the call graph for this function:
Here is the caller graph for this function: