MathMomentsT
Calculates the theoretical numerical values of the first 4 moments of the Student's t-distribution with the nu parameter.
double MathMomentsT(
const double nu,
double& mean,
double& variance,
double& skewness,
double& kurtosis,
int& error_code
);
|
Parameters
nu
[in] Parameter of distribution (number of degrees of freedom).
mean
[out] Variable to get the mean value.
variance
[out] Variable to get the variance.
skewness
[out] Variable to get the skewness.
kurtosis
[out] Variable to get the kurtosis.
error_code
[out] Variable to get the error code.
Return Value