Negative Data Points when using MNRFIT function
이전 댓글 표시
I am trying to use MNRFIT to create a logistical regression for pseudo-zscores of neural signal data and the targets that they are reaching. Some of the pseudo-zscores I am using are negative values and MNRFIT shows this error because of it:
Error using linsolve Matrix must be positive definite.
Error in mnrfit (line 242)
bcov = linsolve(hess,eye(size(hess)),struct('SYM',true,'POSDEF',true));
I was wondering if there is anything I can do to fix this problem. If there is any way to adjust data without affecting it. I m not sure if shifting all the data points by the minimum to the right would be a appropriate solution since it may affect the regression.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Logistic Distribution에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!