Skip to content
Prev 86403 / 398528 Next

Inverse cumulative probability

On Tue, 14 Feb 2006, Jan Danielsson wrote:

            
If a is small, it is better to use qnorm(a, lower.tail=FALSE).
qt(a, nu, lower.tail=FALSE),  assuming by `t-test function' you mean 
Student's t distribution on nu degrees of freedom (which might be n-1 or 
n-2 for a t test).

For more on this see `An Introduction to R', specifically section 8.1 in 
the HTML version I just looked at.