Student | R Documentation |
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
.
q()
Quantile function of the Student distribution.
Student$q(p, lower = TRUE)
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
.
mean()
Mean of the Student distribution.
Student$mean()
The mean of the Student distribution.
median()
Median of the Student distribution.
Student$median()
The median of the Student distribution.
mode()
Mode of the Student distribution.
Student$mode()
The mode of the Student distribution.
sd()
Standard deviation of the Student distribution.
Student$sd()
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.
The non-centrality parameter of the Student distribution in the
stats package is limited to abs(ncp) <= 37.62
.
The present implementation allows a larger range.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.