ComenzarEmpieza gratis

Probabilities under the t-distribution

We can use the pt() function to find probabilities under the t-distribution. For a given cutoff value q and a given degrees of freedom df, pt(q, df) gives us the probability under the t-distribution with df degrees of freedom for values of t less than q. In other words, \(P(t_{df} < T)\) = pt(q = T, df).

Este ejercicio forma parte del curso

Inference for Numerical Data in R

Ver curso

Instrucciones del ejercicio

  • Find the probability under the t-distribution with 10 degrees of freedom below \(T = 3\).
  • Find the probability under the t-distribution with 10 degrees of freedom above \(T = 3\).
  • Find the probability under the t-distribution with 100 degrees of freedom above \(T = 3\).
  • How do the last two probabilities compare? Why?

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# P(T < 3) for df = 10
(x <- pt(___, df = ___))

# P(T > 3) for df = 10
(y <- ___)

# P(T > 3) for df = 100
(z <- ___)

# Comparison
y == z
y > z
y < z
Editar y ejecutar código