A R6 class to represent a non-central Student distribution.
nu
Get or set the value of nu
.
delta
Get or set the value of delta
.
new()
New Student distribution.
Student$new(nu, delta)
nu
degrees of freedom parameter, >0
delta
non-centrality parameter
A Student
object.
d()
Density function of the Student distribution.
Student$d(x)
x
numeric vector
The density evaluated at x
.
p()
Cumulative distribution function of the Student distribution.
Student$p(q, lower = TRUE)
q
numeric vector of quantiles
lower
Boolean, whether to deal with the lower tail
The cumulative probabilities corresponding to q
.
p
numeric vector of probabilities
lower
Boolean, whether to deal with the lower tail
The quantiles corresponding to p
.
r()
Sampling from the Student distribution.
Student$r(n)
n
number 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)
deep
Whether to make a deep clone.