Learn R Programming

hmi (version 0.9.16)

pbivnormX: calculate probabilities from the cumulative distribution function of a standard bivariate normal distribution

Description

A modified version of pbivnorm() from package pbivnorm. It is needed in the imputation routine for rounded income.

Usage

pbivnormX(x, y, rho = 0)

Arguments

x

the vector (or a two columned matrix) with the values of the first random variable

y

the vector with the values of the second random variable

rho

the correlation (a scalar) between the two random variables.

Value

A vector with the values of the density distribution at the points (x, y).