LoslegenKostenlos loslegen

Cumulative distributions and quantiles of t

In this exercise, you will calculate the probability integrals and quantiles or inverse CDFs of multivariate t-distribution.

Diese Übung ist Teil des Kurses

Multivariate Probability Distributions in R

Kurs anzeigen

Anleitung zur Übung

  • Calculate the volume between \(\begin{pmatrix} -5 \\ -5\end{pmatrix}\) and \(\begin{pmatrix} 5 \\ 5 \end{pmatrix}\) for a bivariate t-distribution with location parameter mu.sim and variance-covariance matrix sigma.sim and 5 degrees of freedom.
  • Calculate the equal probability contour for a standard bivariate t-distribution for \(p=.9\). Don't forget to specify tail = "both" to get a two sided contour of the form \(P[-x ≤ X ≤ x] = p.\)

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Calculate the volume under the specified t-distribution
pmvt(lower = ___, upper = ___, delta = mu.sim, df = 5, sigma = sigma.sim)


# Calculate the equal probability contour
qmvt(p = ___, tail = "both", sigma = diag(2))
Code bearbeiten und ausführen