View source: R/source_varsel.R
SSR_gprior | R Documentation |
These sum-squared-residuals (SSR) arise in the variance (or precision) term under 1) Zellner's g-prior on the coefficients and a Gamma prior on the error precision and 2) marginalization over the coefficients.
SSR_gprior(y, X = NULL, psi)
y |
vector of response variables |
X |
matrix of covariates; if NULL, return |
psi |
prior variance (g-prior) |
a positive scalar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.