unscale_sigma2: Transform the sigma2 parameter to restore the parameter to...

View source: R/unscale_estimates.R

unscale_sigma2R Documentation

Transform the sigma2 parameter to restore the parameter to the original scale. The functions mcmc_mra() and mcmc_mra_integrated() fit the regression variance using a centered and scaled response. This function undoes that transformation to scale the parameter estimate to its usual (uncentered and unscaled) scale

Description

Transform the sigma2 parameter to restore the parameter to the original scale. The functions mcmc_mra() and mcmc_mra_integrated() fit the regression variance using a centered and scaled response. This function undoes that transformation to scale the parameter estimate to its usual (uncentered and unscaled) scale

Usage

unscale_sigma2(out)

Arguments

out

The output of mcmc_mra() or mcmc_mra_integrated()

Value

A vector of the size of out$sigma2 of transformed regression variance equivalent to fitting the model on the original scale


jtipton25/BayesMRA documentation built on Feb. 28, 2024, 1:27 p.m.