## Predict paragraph comprehension based on three verbal
## tests: general info, sentence comprehension, & word
## classification
## Use HS dataset in MBESS
if (require ("MBESS")){
data(HS)
## All-possible-subsets regression
apsOut=aps(HS,"t6_paragraph_comprehension",
list("t5_general_information", "t7_sentence","t8_word_classification"))
## Commonality analysis
commonality(apsOut)
}
Run the code above in your browser using DataLab