data_Green_Salkind_2014 | R Documentation |
Mutiple regression data from Green and Salkind (2018).
data(data_Green_Salkind_2014)
Green, S. B., & Salkind, N. J. (2014). Lesson 34: Multiple linear regression (pp. 257-269). In, Using SPSS for Windows and Macintosh: Analyzing and understanding data. New York, NY: Pearson.
head(data_Green_Salkind_2014)
# forced (simultaneous) entry; replicating the output on p. 263
OLS_REGRESSION(data=data_Green_Salkind_2014, DV='injury',
forced=c('quads','gluts','abdoms','arms','grip'))
# hierarchical entry; replicating the output on p. 265-266
OLS_REGRESSION(data=data_Green_Salkind_2014, DV='injury',
hierarchical = list( step1=c('quads','gluts','abdoms'),
step2=c('arms','grip')) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.