Learn R Programming

VGAM (version 1.1-12)

Bistudentt: Bivariate Student-t Distribution Density Function

Description

Density for the bivariate Student-t distribution.

Usage

dbistudentt(x1, x2, df, rho = 0, log = FALSE)

Value

dbistudentt gives the density.

Arguments

x1, x2

vector of quantiles.

df, rho

vector of degrees of freedom and correlation parameter. For df, a value Inf is currently not working.

log

Logical. If log = TRUE then the logarithm of the density is returned.

Details

One can think of this function as an extension of dt to two dimensions. See bistudentt for more information.

See Also

bistudentt, dt.

Examples

Run this code
if (FALSE)  N <- 101; x <- seq(-4, 4, len = N); Rho <- 0.7
mydf <- 10; ox <- expand.grid(x, x)
zedd <- dbistudentt(ox[, 1], ox[, 2], df = mydf,
                    rho = Rho, log = TRUE)
contour(x, x, matrix(zedd, N, N), col = "blue", labcex = 1.5)

Run the code above in your browser using DataLab