Re: [R] variable transformation for lm

2011-11-03 Thread David Winsemius
On Nov 3, 2011, at 11:55 AM, "Johannes Radinger" wrote: > Hello, > > I am doing a simple regression using lm(Y~X). > As my response and my predictor seemed to be skewed > and I can't meet the model assumptions. Therefore > I need to transform my variables. The presence of skewness in either o

Re: [R] variable transformation for lm

2011-11-03 Thread Bert Gunter
See the acepack package or the transace function in Hmisc for ACE or AVAS. -- Bert On Thu, Nov 3, 2011 at 8:55 AM, Johannes Radinger wrote: > Hello, > > I am doing a simple regression using lm(Y~X). > As my response and my predictor seemed to be skewed > and I can't meet the model assumptions.

[R] variable transformation for lm

2011-11-03 Thread Johannes Radinger
Hello, I am doing a simple regression using lm(Y~X). As my response and my predictor seemed to be skewed and I can't meet the model assumptions. Therefore I need to transform my variables. I wanted to ask what is the preferred way to find out if predictor and/or response needs to be transformed a