Learn R Programming

rqPen (version 2.3)

transform_coefs: Transform coefficients back to original scale

Description

Takes the coefficients fit after scaling the predictors to have mean zero and a standard deviation of one and transforms them back to the original scale of the predictors.

Usage

transform_coefs(coefs,mu_x,sigma_x, intercept=TRUE)

Arguments

coefs

Coefficients to be transformed.

mu_x

Means of the original predictors.

sigma_x

Standard deviations of the original predictors.

intercept

Whether an intercept is included in the model.

Author

Ben Sherwood