logH: Logarithm of H

Description Usage Arguments Value Author(s)

View source: R/logH.R

Description

This function computes the function H that appears in the Metropolis Odds as propose in Wang and Li, in Efficient Gaussian graphical Model determination under G-Wishart prior distributions.

Usage

1
logH(n, S, C, bPrior = 100, DPrior = diag(ncol(C)), i = 1, j = 1)

Arguments

n

Number of observations.

S

Sample Covariance multiplied by n.

C

Initial Precision Matrix for the MCMC.

bPrior

Prior dedrees of freedom. Defaults to 3.

DPrior

Prior location SPD Matrix. Defaults to the identity matrix.

i

Row index.

j

Column index.

Value

Logarithm of the H function of the Acceptance Rate.

Author(s)

Rene Gutierrez Marquez


Rene-Gutierrez/BayTenGraMod documentation built on Dec. 12, 2020, 11:24 a.m.