epinowcast
|
Go to the source code of this file.
Functions | |
real | dist_lcdf (real delay, array[] real params, int dist_id) |
real | primary_lpdf (real x, int primary_id, array[] real params, real min, real max) |
vector | primarycensored_ode (real t, vector y, array[] real theta, array[] real x_r, array[] int x_i) |
real dist_lcdf | ( | real | delay, |
array[]real | params, | ||
int | dist_id ) |
Compute the log CDF of the delay distribution
delay | Time delay |
params | Distribution parameters |
dist_id | Distribution 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 |
Definition at line 23 of file primarycensored_ode.stan.
real primary_lpdf | ( | real | x, |
int | primary_id, | ||
array[]real | params, | ||
real | min, | ||
real | max ) |
Compute the log PDF of the primary distribution
x | Value |
primary_id | Primary distribution identifier |
params | Distribution parameters |
min | Minimum value |
max | Maximum value |
Definition at line 68 of file primarycensored_ode.stan.
vector primarycensored_ode | ( | real | t, |
vector | y, | ||
array[]real | theta, | ||
array[]real | x_r, | ||
array[]int | x_i ) |
ODE system for the primary censored distribution
t | Time |
y | State variables |
theta | Parameters |
x_r | Real data |
x_i | Integer data |
Definition at line 87 of file primarycensored_ode.stan.