Weighted Standardization
Performs weighted standardization of x variables. Used in fastridge.
fastridge
standardize_wt(x, weights = rep(1/n, n), intercept = TRUE, return.sd = FALSE)
x
weights
intercept
TRUE
return.sd
If return.sd == FALSE, it gives the matrix of standardized regressors. If return.sd == TRUE, then it returns the vector of standard errors of the means of the variables.
return.sd == FALSE
return.sd == TRUE
Useful links