![]() |
primarycensored
|
Functions for computing primary censored distributions for multiple integer delays. More...

Functions | |
| 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) |
Functions for computing primary censored distributions for multiple integer delays.
| 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 268 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 351 of file primarycensored.stan.
