Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rlw

Relative Weights


Description

The function computes relative weights.

Usage

rlw(dataMatrix, dv, ivlist)

Arguments

dataMatrix

Dataset containing the dependent and independent variables

dv

The dependent variable named in the dataset

ivlist

List of independent variables named in the dataset

Details

The function computes relative weights.

Value

The function returns relative weights for each predictor.

Author(s)

Kim Nimon <kim.nimon@gmail.com>

References

Nimon, K., & Oswald, F. L. (2013). Understanding the results of multiple linear regression: Beyond standardized regression coefficients. Organizational Research Methods, 16, 650-674.

Thomas, D. R., Zumbo, B. D., Kwan, E., & Schweitzer, L. (2014). On Johnson's (2000) relative weights method for assessing variable importance: A reanalysis. Multivariate Behavioral Research, 16, 49(4), 329-338.

See Also

Examples

## Relative weights from regression model predicting paragraph 
  ## comprehension based on three verbal tests: general info, 
  ## sentence comprehension, & word classification
 
  ## Use HS dataset in MBESS 
     if (require ("MBESS")){
     data(HS)

  ## Relative Weights
     rwlOut<-rlw(HS,"t6_paragraph_comprehension",
                     c("t5_general_information","t7_sentence","t8_word_classification"))
     }

yhat

Interpreting Regression Effects

v2.0-3
GPL (>= 2)
Authors
Kim Nimon <kim.nimon@gmail.com>, Fred Oswald, and J. Kyle Roberts.
Initial release
2020-12-31

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.