Returns the inverse of the Student's t CDF for the given probability
(i.e. the quantile). It will return a sequence of values, if x is
a sequence of probabilities. This is equivalent to R's qt function.
Options:
:df (default 1)
Returns:
a value x, where (cdf-t x) = probability
See also:
pdf-t, cdf-t, and sample-t
References:
http://incanter.org/docs/parallelcolt/api/cern/jet/stat/tdouble/Probability.html
http://en.wikipedia.org/wiki/Student-t_distribution
http://en.wikipedia.org/wiki/Quantile
Example:
(quantile-t 0.975)
(quantile-t [0.025 0.975] :df 25)
(def df [1 2 3 4 5 6 7 8 9 10 20 50 100 1000])
(map #(quantile-t 0.025 :df %) df)
Comments top
No comments for quantile-t. Log in to add a comment.