# NOT RUN {
## Predict paragraph comprehension based on three verbal
## tests: general info, sentence comprehension, & word
## classification
## Use HS dataset in MBESS
require ("MBESS")
data(HS)
## Regression
lm.out<-lm(t6_paragraph_comprehension~
t5_general_information+t7_sentence+t8_word_classification,data=HS)
## Regression Indices
regr.out<-calc.yhat(lm.out)
# }
Run the code above in your browser using DataLab