epinowcast
|
Go to the source code of this file.
Functions | |
real | primarycensored_cdf (data real d, int dist_id, array[] real params, data real pwindow, data real D, int primary_id, array[] real primary_params) |
real | primarycensored_lcdf (data real d, int dist_id, array[] real params, data real pwindow, data real D, int primary_id, array[] real primary_params) |
real | primarycensored_lpmf (data int d, int dist_id, array[] real params, data real pwindow, data real d_upper, data real D, int primary_id, array[] real primary_params) |
real | primarycensored_pmf (data int d, int dist_id, array[] real params, data real pwindow, data real d_upper, data real D, int primary_id, array[] real primary_params) |
vector | primarycensored_sone_lpmf_vectorized (int max_delay, data real D, int dist_id, array[] real params, data real pwindow, int primary_id, array[] real primary_params) |
vector | primarycensored_sone_pmf_vectorized (int max_delay, data real D, int dist_id, array[] real params, data real pwindow, int primary_id, array[] real primary_params) |
real primarycensored_cdf | ( | data real | d, |
int | dist_id, | ||
array[]real | params, | ||
data real | pwindow, | ||
data real | D, | ||
int | primary_id, | ||
array[]real | primary_params ) |
Primary event censored distribution functions Compute the primary event censored CDF for a single delay
d | Delay |
dist_id | Distribution identifier |
params | Array of distribution parameters |
pwindow | Primary event window |
D | Maximum delay (truncation point) |
primary_id | Primary distribution identifier |
primary_params | Primary distribution parameters |
Definition at line 18 of file primarycensored.stan.
real primarycensored_lcdf | ( | data real | d, |
int | dist_id, | ||
array[]real | params, | ||
data real | pwindow, | ||
data real | D, | ||
int | primary_id, | ||
array[]real | primary_params ) |
Compute the primary event censored log CDF for a single delay
d | Delay |
dist_id | Distribution identifier |
params | Array of distribution parameters |
pwindow | Primary event window |
D | Maximum delay (truncation point) |
primary_id | Primary distribution identifier |
primary_params | Primary distribution parameters |
Definition at line 86 of file primarycensored.stan.
real primarycensored_lpmf | ( | data int | d, |
int | dist_id, | ||
array[]real | params, | ||
data real | pwindow, | ||
data real | d_upper, | ||
data real | D, | ||
int | primary_id, | ||
array[]real | primary_params ) |
Compute the primary event censored log PMF for a single delay
d | Delay (integer) |
dist_id | Distribution identifier |
params | Array of distribution parameters |
pwindow | Primary event window |
d_upper | Upper bound for the delay interval |
D | Maximum delay (truncation point) |
primary_id | Primary distribution identifier |
primary_params | Primary distribution parameters |
Definition at line 152 of file primarycensored.stan.
real primarycensored_pmf | ( | data int | d, |
int | dist_id, | ||
array[]real | params, | ||
data real | pwindow, | ||
data real | d_upper, | ||
data real | D, | ||
int | primary_id, | ||
array[]real | primary_params ) |
Compute the primary event censored PMF for a single delay
d | Delay (integer) |
dist_id | Distribution identifier |
params | Array of distribution parameters |
pwindow | Primary event window |
d_upper | Upper bound for the delay interval |
D | Maximum delay (truncation point) |
primary_id | Primary distribution identifier |
primary_params | Primary distribution parameters |
Definition at line 214 of file primarycensored.stan.
vector primarycensored_sone_lpmf_vectorized | ( | int | max_delay, |
data real | D, | ||
int | dist_id, | ||
array[]real | params, | ||
data real | pwindow, | ||
int | primary_id, | ||
array[]real | primary_params ) |
Compute the primary event censored log PMF for integer delays up to max_delay
max_delay | Maximum delay to compute PMF for |
D | Maximum delay (truncation point), must be at least max_delay + 1 |
dist_id | Distribution identifier |
params | Array of distribution parameters |
pwindow | Primary event window |
primary_id | Primary distribution identifier |
primary_params | Primary distribution parameters |
This function differs from primarycensored_lpmf in that it:
Definition at line 263 of file primarycensored.stan.
vector primarycensored_sone_pmf_vectorized | ( | int | max_delay, |
data real | D, | ||
int | dist_id, | ||
array[]real | params, | ||
data real | pwindow, | ||
int | primary_id, | ||
array[]real | primary_params ) |
Compute the primary event censored PMF for integer delays up to max_delay
max_delay | Maximum delay to compute PMF for |
D | Maximum delay (truncation point), must be at least max_delay + 1 |
dist_id | Distribution identifier |
params | Array of distribution parameters |
pwindow | Primary event window |
primary_id | Primary distribution identifier |
primary_params | Primary distribution parameters |
This function differs from primarycensored_pmf in that it:
Definition at line 345 of file primarycensored.stan.