The BGLIMM Procedure

Prior for the G-Side Covariance

PROC BGLIMM supports the following prior distributions of bold upper G:

  • Inverse Wishart distribution: pi left-parenthesis bold upper G Subscript i Baseline right-parenthesis equals IW left-parenthesis a comma bI right-parenthesis. You can specify this distribution as follows:

    random x / sub=Id covprior=iwishart(df=a, scale=b);
    

    The inverse Wishart distribution is a generalization of the inverse gamma distribution; when the dimension is 1, the inverse Wishart distribution is equivalent to an inverse gamma distribution. The inverse Wishart prior is frequently used in Bayesian analysis, in part because it is a conjugate prior for a normal covariance, which leads to efficient sampling. An inverse Wishart prior that has small degrees of freedom (interpreted as prior sample size) and small diagonal values of the scale matrix is considered to be weakly informative.

    The inverse Wishart prior applies to the covariance types UN, UN(1), VC, and TOEP. It is the default prior for the UN type.

  • Inverse gamma distribution: pi left-parenthesis sigma Subscript g Superscript 2 Baseline right-parenthesis equals IG left-parenthesis a comma b right-parenthesis. You can specify this distribution as follows:

    random x / sub=Id covprior=igamma(shape=a, scale=b);
    

    The inverse gamma prior applies to the diagonal variance terms of a covariance that is of type UN, UN(1), VC, or TOEP. It is the default prior for the covariance types UN(1), VC, and TOEP.

  • Uniform distribution: pi left-parenthesis sigma Subscript gamma Baseline right-parenthesis equals StartFraction 1 Over normal upper U normal p normal p normal e normal r minus normal upper L normal o normal w normal e normal r EndFraction. You can specify this distribution as follows:

    random x / sub=Id covprior=uniform(lower=, upper=);
    

    The uniform prior is on the standard deviation, not the variance, terms of bold upper G. This prior applies to the diagonal standard deviation terms of a covariance that is of type UN, UN(1), VC, or TOEP.

  • Half-Cauchy distribution: pi left-parenthesis sigma Subscript gamma Superscript 2 Baseline right-parenthesis equals half hyphen Cauchy left-parenthesis a right-parenthesis. You can specify this distribution as follows:

    random x / sub=Id covprior=halfcauchy(scale=a);
    

    The half-Cauchy prior is a truncated prior whose lower bound is equal to zero. The prior applies to the variance terms of a covariance that is of type UN, UN(1), VC, or TOEP.

    The half-Cauchy prior is a special case of the conditionally conjugate folded-noncentral-t distribution. The right tail of the half-Cauchy distribution is thick and decays slowly. Large a translates to weakly informative, a goes to infinity, and the half-Cauchy distribution becomes a uniform distribution.

  • Half-normal distribution: pi left-parenthesis sigma Subscript gamma Superscript 2 Baseline right-parenthesis equals half hyphen normal left-parenthesis 0 comma sigma squared equals a right-parenthesis. You can specify this distribution as follows:

    random x / sub=Id covprior=halfnormal(var=a);
    

    The half-normal prior is a truncated prior whose lower bound is equal to zero. The prior applies to the variance terms of a covariance that is of type UN, UN(1), VC, or TOEP.

  • Scaled inverse Wishart distribution. You can specify this distribution as follows:

    random x / sub=Id covprior=siwishart(df=a, scale=b, var=c);
    

    This is a generalization of the inverse Wishart prior. The distribution decomposes the bold upper G Subscript i matrix into variance and correlation components and specifies separate priors for each component (O’Malley and Zaslavsky 2008). Define bold upper Delta equals diag left-parenthesis bold-italic delta right-parenthesis, where bold-italic delta equals left-parenthesis delta 1 comma delta 2 comma ellipsis comma delta Subscript n Baseline right-parenthesis and delta Subscript i Baseline greater-than 0; let bold upper Phi be a positive definite matrix; and write bold upper G Subscript i Baseline equals bold upper Delta bold upper Phi bold upper Delta,

    pi left-parenthesis bold upper Delta right-parenthesis equals IW left-parenthesis a comma bI right-parenthesis comma pi left-parenthesis log left-parenthesis delta Subscript i Baseline right-parenthesis right-parenthesis equals normal left-parenthesis 0 comma sigma Subscript delta Superscript 2 Baseline right-parenthesis

    where the hyperparameters a and b are the degrees of freedom and scale parameters, respectively, of the inverse Wishart prior; sigma Subscript delta Superscript 2 Baseline equals c is the variance of the normal prior; and the default variance is 1. You can choose values for the hyperparameters a and b, and the default is the dimension of the bold upper G Subscript i matrix plus 3 for both a and b.

    Although bold upper Phi determines the correlations, it is not constrained to be a correlation matrix, so the model is overparameterized. The associated correlation matrix is bold upper Omega left-parenthesis bold upper Phi right-parenthesis equals diag left-parenthesis bold upper Phi right-parenthesis Superscript negative one-half Baseline bold upper Phi diag left-parenthesis bold upper Phi right-parenthesis Superscript negative one-half, where diag left-parenthesis bold upper Phi right-parenthesis retains the diagonal elements of bold upper Phi but has zeros elsewhere.

    Like the inverse Wishart prior, the scaled inverse Wishart prior applies to types UN, UN(1), VC, and TOEP.

Last updated: March 08, 2022