04-18-2016 04:40 PM
Very new undergraduate SAS user here - trying to bring myself up to speed on some procedures.
What are the procedures for transforming variables in SAS Enterprose? In my case, I have a dataset for an internship that is giving me a curvinlinear "residual by predicted" graph after running a linear regression on my data. I want to transform the variables via a model in order to have them become more linear. What are my options
Here is a very short dataset that is representative of what I am trying to transform
x: 10 15 20 30 40 50 60
y (dep): 700 550 400 270 190 130 100
right now it is giving me a "smiley face" and I am looking for a model to transform it and the what I have to do to the variables.
04-18-2016 05:20 PM
04-18-2016 08:55 PM
I'm on somewhat thin ice here, but fortunately @Reeza is watching this also, so she'll put me straight if I stray.
Yes, just use log(y) instead of y, and run your linear regression.