rlw: Relative Weights

rlwR Documentation

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

aps calc.yhat commonality dominance

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 documentation built on Oct. 11, 2023, 1:08 a.m.