fitting a linear model without an intercept term
83 次查看(过去 30 天)
显示 更早的评论
I wanted to use the fitlm (linear regression function) but without the intercept term in the output. I wonder if there is a way to do this?
(I am aware of the mldivide as in the case of: Y = XB; B = X\Y), but I wanted to see the p-values as outputted by the fitlm function, hence my preference for this function.
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!