Displaying 1 result from an estimated 1 matches for "z1sub".
2011 Aug 22
3
Multiple regression in R - unstandardised coefficients are a different sign to standardised coefficients, is this correct?
...raged by some people, but I would
nevertheless like to see the results. Not least because it has made me
doubt the non-standardised values of B that R has given me.
The code I have used, and some of the data, is as follows (once the
database has been imported from SQL, and outliers removed).
Z1sub <- Z1[, c(2, 5, 7,11, 12, 13, 15, 16)]
colnames(Z1sub) <- c("temp", "hum", "wind", "press", "rain", "s.rad",
"mean1", "sd1" )
attach(Z1sub)
names(Z1sub)
Model1d <- lm(mean1 ~ hum*wind*rain + I(hum^2) + I(...