Linear regression with the same X value

Click For Summary
In a linear regression with a constant X value, the model will yield a vertical line represented by X = C. Since X does not vary, it cannot effectively explain the variability in Y, which can take on different values. Consequently, while coefficients can be calculated, the regression will not provide meaningful insights into the relationship between X and Y. The lack of variability in the independent variable limits the model's explanatory power. Therefore, a linear regression in this scenario is not statistically useful.
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.
 
Thread 'How to define a vector field?'
Hello! In one book I saw that function ##V## of 3 variables ##V_x, V_y, V_z## (vector field in 3D) can be decomposed in a Taylor series without higher-order terms (partial derivative of second power and higher) at point ##(0,0,0)## such way: I think so: higher-order terms can be neglected because partial derivative of second power and higher are equal to 0. Is this true? And how to define vector field correctly for this case? (In the book I found nothing and my attempt was wrong...

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K