![]() |
primarycensored
|
Helper functions for analytical solutions. More...
Functions | |
int | check_for_analytical (int dist_id, int primary_id) |
real | log_weibull_g (real t, real shape, real scale) |
Helper functions for analytical solutions.
int check_for_analytical | ( | int | dist_id, |
int | primary_id ) |
Check if an analytical solution exists for the given distribution combination
dist_id | Distribution identifier for the delay distribution |
primary_id | Distribution identifier for the primary distribution |
Definition at line 10 of file primarycensored_analytical_cdf.stan.
real log_weibull_g | ( | real | t, |
real | shape, | ||
real | scale ) |
Compute the log of the lower incomplete gamma function
This function is used in the analytical solution for the primary censored Weibull distribution with uniform primary censoring. It corresponds to the g(t; λ, k) function described in the analytic solutions document.
t | Upper bound of integration |
shape | Shape parameter (k) of the Weibull distribution |
scale | Scale parameter (λ) of the Weibull distribution |
Definition at line 145 of file primarycensored_analytical_cdf.stan.