[R] Standardized beta-coefficients in regression
Dr. Walter H. Schreiber
whschreiber at onlinehome.de
Mon Jan 16 17:24:24 CET 2006
Hello list,
I am used to give a lot of attention to the standardized regression
coefficients, which in SPSS are listed automatically.
Is there alternative to running the last two lines in the following example to
get all the information?
ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14)
trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69)
summary( lm(ctl ~ trt) )
summary( lm(scale(ctl) ~ scale(trt)) )
Any hints are appreciated.
Walter.
--
Dr. Walter H. Schreiber
Dept. of Psychology
University of Koblenz-Landau
More information about the R-help
mailing list