![]() |
primarycensored
|
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) |
| 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.
| p | Primary event time in [0, pwindow] |
| primary_id | Primary distribution identifier (1=uniform, 2=expgrowth) |
| primary_params | Distribution parameters (empty for uniform; [r] for expgrowth) |
| pwindow | Primary event window width |
Definition at line 176 of file primarycensored_ode.stan.

