Prediction model having zero value for variable results NAN P-value
2 次查看(过去 30 天)
显示 更早的评论
I am developing a quadratic model. the coefficient for one variable is zero and which results P-value as Nan. What may be the reason for this situation and how can we solve it?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1031535/image.jpeg)
Similary, while running this model, a different message has shown in command window i.e " Warning: Regression design matrix is rank deficient to within machine precision. "
What may be the solution for this problem?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!