Linear regression with the same X value

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
xeon123
Messages
90
Reaction score
0
In a linear regression with 1 independent variable, if X is always the same (let's call I am unlucky), but Y present different values for the same X, I still can find the coefficient of the straight line equation?
 
Physics news on Phys.org
xeon123 said:
In a linear regression with 1 independent variable, if X is always the same (let's call I am unlucky), but Y present different values for the same X, I still can find the coefficient of the straight line equation?

The straight line would be parallel to the Y-axis, so it would be X = C where C is the one value of X.
 
If there is no variability in X, then X is certainly not going to do a very good job of explaining variability in Y.