What do the zero values indicate in the regression coeffient output?
3 次查看(过去 30 天)
显示 更早的评论
After using the following codes:
X = [ones(length(x1),1) x1' x2' x3'];
B = X\Y';
I obtain the following coefficients in a [2 x 4 matrix]:
0 0.006 0.0021 0.001
0 0.0046 0.0009 -0.0012
What do the zero values in these coefficent estimates indicate?
0 个评论
采纳的回答
Star Strider
2012-9-11
In the situation you describe, with a vector of ones in the first column of your X matrix corresponding to the parameter that equals zero, the zero value means that the offset (analogous to the y-intercept b in the linear equation y=m*x+b) is zero. The equation is essentially y=m*x.
Stated more simply, it means that the hyperplane that fits your data passes through the origin. Your Y data are likely described by x1, x2, and x3 only. However I suggest you use regress (Statistics Toolbox) to get the confidence intervals on the parameters (and optionally other statistics on the fit) before you draw any firm conclusions.
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Analysis of Variance and Covariance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!