33 return std::pow((
v / (
v +
x *
x)), (1.0 +
v) / 2.0) /
42 return x > 0 ? 1.0 - z : z;
50 return (
p <= 0.5 ? -1.0 : 1.0) * std::sqrt(
v * (1 -
x) /
x);
const std::vector< double > x
registerMooseObject("StochasticToolsApp", StudentT)
void ErrorVector unsigned int
static Real incompleteBetaInv(const Real &a, const Real &b, const Real &p)
Inverse of lower incomplete beta function.
static Real incompleteBeta(const Real &a, const Real &b, const Real &x)
Lower incomplete beta function.
static Real betaFunction(const Real &a, const Real &b)
Beta function: B(a,b) = Gamma(a)Gamma(b)/Gamma(a+b)
static InputParameters validParams()
A class used to generate a Student's t distribution.
virtual Real quantile(const Real &p) const override
virtual Real pdf(const Real &x) const override
virtual Real cdf(const Real &x) const override
static InputParameters validParams()
StudentT(const InputParameters ¶meters)
const unsigned int & _dof
Degrees of freedom.