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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to