Returns the chi square log complementary cumulative distribution function for the given variate and degrees of freedom.
If given containers of matching sizes, returns the log sum of probabilities.
- Template Parameters
-
T_y | type of scalar parameter |
T_dof | type of degrees of freedom parameter |
- Parameters
-
y | scalar parameter |
nu | degrees of freedom parameter |
- Returns
- log probability or log sum of probabilities
- Exceptions
-
std::domain_error | if y is negative or nu is nonpositive |
std::invalid_argument | if container sizes mismatch |
Definition at line 38 of file chi_square_lccdf.hpp.