rCondHurdle210: Sample from the full conditional distribution

View source: R/HurdleDistributions.R

rCondHurdle210R Documentation

Sample from the full conditional distribution

Description

Return a sample from f(x_i | x_-i), that is, a sample of the conditional distribution of the ith coordinates, given x aside from x_i.

Usage

rCondHurdle210(x, j, G, H, K, tol = 5e-04)

Arguments

x

vector, or matrix, to be conditioned upon.

j

coordinate to be returned

G

binary dependence matrix

H

location dependence matrix

K

precision matrix

tol

tolerance for calling a point to be numerically equal to zero.

Details

x is assumed in the same order as the parameter vectors, aside from its missing ith element. This function is vectorized over x.

Value

numeric sample from x_i | x_-i


amcdavid/HurdleNormal documentation built on May 14, 2022, 11:12 p.m.