beta_adjust: Adjusts the value of the coefficients to account for the...

View source: R/mcen.r

beta_adjustR Documentation

Adjusts the value of the coefficients to account for the scaling of x and y.

Description

Adjusts the value of the coefficients to account for the scaling of x and y.

Usage

beta_adjust(beta, sigma_x, sigma_y, mean_x, mean_y)

Arguments

beta

The estiamte of beta with scaled data.

sigma_x

Sample tandard deviations of the original predictors.

sigma_y

Sample standard deviations of the orignal responses.

mean_x

Sample means of the original predictors .

mean_y

Sample means of the original responses.

Value

Returns the adjusted coefficients

Author(s)

Ben Sherwood <ben.sherwood@ku.edu>, Brad Price <brad.price@mail.wvu.edu>


mcen documentation built on April 1, 2023, 12:11 a.m.

Related to beta_adjust in mcen...