powered by
Density, distribution function, quantile function and random generation for the generalized Student's t distribution.
dgt(x, mu = 0, sigma = 1, df = stop("no df arg"), log = FALSE)pgt(q, mu = 0, sigma = 1, df = stop("no df arg")) qgt(p, mu = 0, sigma = 1, df = stop("no df arg"))rgt(n, mu = 0, sigma = 1, df = stop("no df arg"))
pgt(q, mu = 0, sigma = 1, df = stop("no df arg"))
qgt(p, mu = 0, sigma = 1, df = stop("no df arg"))
rgt(n, mu = 0, sigma = 1, df = stop("no df arg"))
vector of quantiles.
vector of probabilities.
a numeric scalar denoting the number of observations.
a vector of means.
a vector of standard deviations.
logical; if TRUE the density is computed in the log scale.
TRUE
a numeric scalar denoting the degrees of freedom.
dgt gives the density, pgt gives the distribution function, qgt gives the quantile function, and rgt generates random deviates.
dgt
pgt
qgt
rgt
# NOT RUN { x <- rnorm(10, mean = 10, sd = 3) dgt(x, mu = 10, sigma = 3, df = 4) rgt(10, mu = 10, sigma = 3, df = 4) # }
Run the code above in your browser using DataLab