I have a data-set which has columns as
x1 x2 x3 x4 x5 y
all of them has integer / float value and Y values ranges from 98,000 to 1,10,000
If I want to find the relationship between x1 and y , x2 and y ... x5 and y and come up with
y = A.x1+c
how should i do it?
I tried plotting graphs and also tried lm() and fit() functions in R.
fit <- lm(Y~X1+X2+X3+X4+X5,data=data)
step <- stepAIC(fit, direction="both")
Kindly help.