unscale_beta: Transform the beta parameters to restore the parameters to...

View source: R/unscale_estimates.R

unscale_betaR Documentation

Transform the beta parameters to restore the parameters to the original scale. The functions mcmc_mra() and mcmc_mra_integrated() fit the regression coefficients using centered and scaled response and covariate values. This function undoes that transformation to scale the parameter estimates to their usual (uncentered and unscaled) scale estimates

Description

Transform the beta parameters to restore the parameters to the original scale. The functions mcmc_mra() and mcmc_mra_integrated() fit the regression coefficients using centered and scaled response and covariate values. This function undoes that transformation to scale the parameter estimates to their usual (uncentered and unscaled) scale estimates

Usage

unscale_beta(out)

Arguments

out

The output of mcmc_mra() or mcmc_mra_integrated()

Value

A matrix of the size of parameters in out$beta of transformed regression parameters equivalent to fitting the model on the original scale


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