A R6 class to represent a non-central Student distribution.
nuGet or set the value of nu.
deltaGet or set the value of delta.
new()New Student distribution.
Student$new(nu, delta)nudegrees of freedom parameter, >0
deltanon-centrality parameter
A Student object.
d()Density function of the Student distribution.
Student$d(x)xnumeric vector
The density evaluated at x.
p()Cumulative distribution function of the Student distribution.
Student$p(q, lower = TRUE)qnumeric vector of quantiles
lowerBoolean, whether to deal with the lower tail
The cumulative probabilities corresponding to q.
pnumeric vector of probabilities
lowerBoolean, whether to deal with the lower tail
The quantiles corresponding to p.
r()Sampling from the Student distribution.
Student$r(n)nnumber of simulations
A numeric vector of length n.
The mean of the Student distribution.
The median of the Student distribution.
The mode of the Student distribution.
The standard deviation of the Student distribution.
variance()Variance of the Student distribution.
Student$variance()The variance of the Student distribution.
skewness()Skewness of the Student distribution.
Student$skewness()The skewness of the Student distribution.
kurtosis()Kurtosis of the Student distribution.
Student$kurtosis()The kurtosis of the Student distribution.
kurtosisExcess()Kurtosis excess of the Student distribution.
Student$kurtosisExcess()The kurtosis excess of the Student distribution.
clone()The objects of this class are cloneable with this method.
Student$clone(deep = FALSE)deepWhether to make a deep clone.