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!