- #1
xeon123
- 90
- 0
I am using linear regression to predict 'y' based on 8 variables.
With my example, most the Betas that I got are negative. So, y, the value to predict, is negative.
To my data, y is a time in seconds, so I think it shouldn't be negative.
I my example in python, and I want to know if y should be negative, even when y is seconds, or my code is not correct.
Is is possible that y can be negative?
With my example, most the Betas that I got are negative. So, y, the value to predict, is negative.
To my data, y is a time in seconds, so I think it shouldn't be negative.
I my example in python, and I want to know if y should be negative, even when y is seconds, or my code is not correct.
Is is possible that y can be negative?