[R] Transformations
d.s91
dshuli.91 at gmail.com
Sun Nov 20 17:16:28 CET 2011
Hi, I'm having some trouble with R code for one of my assignment questions on
transforms. I've never used R for transformations so I'm not sure where to
being. Our prof did give us some partial R code.par(mfrow=c(2,2))
plot(X[,2],e)
plot(X[,3],e)
plot(X[,4],e)
plot(X[,5],e)
Any help ??
3. Try the following transformations on the response variable:
(a) ˜ y = ey
(b) ˜ y = log(y)
(c) ˜ y = 1/y
(d) ˜ y = 1/y2
(e) ˜ y = 1/√y
Carry out the regression ˜ y = β0 + β1 x1 + β2 x2 + β3 x3 + β4 x4 + ϵ for
each case,
including the residual analysis
--
View this message in context: http://r.789695.n4.nabble.com/Transformations-tp4088908p4088908.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list