scalebackcoef {GCEstim}R Documentation

Scale coefficients back

Description

Given a vector of scaled (standardized) regression coefficients the function returns the unscaled (in the original scale) regression coefficients

Usage

scalebackcoef(X.scaled, y.scaled, betas.scaled, intercept = TRUE)

Arguments

X.scaled

A matrix scaled with scale.

y.scaled

A vector scaled with scale.

betas.scaled

A vector of given scaled coefficients.

intercept

logical indicating if intercept is to be calculated

Value

Returns a vector of unscaled numeric regression coefficients.

Author(s)

Jorge Cabral, jorgecabral@ua.pt


[Package GCEstim version 0.1.0 Index]