Skip to content
Back to formatted view

Raw Message

Message-ID: <EB85A26C-214A-4469-99ED-FB3EF1DC10E7@comcast.net>
Date: 2011-11-20T17:07:37Z
From: David Winsemius
Subject: Transformations
In-Reply-To: <1321805788620-4088908.post@n4.nabble.com>

On Nov 20, 2011, at 11:16 AM, d.s91 wrote:

> 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
>

This mailing list specifically discourages homework questions, but  
especially discourages ones where the student remains anonymous and  
show not evidence of prior effort beyond typing the question at their  
keyboard.

> --
> 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.

-- 

David Winsemius, MD
West Hartford, CT