Why does "fitnlm" provide different results from R and Python?
Show older comments
I have completed the same calculations on data in MATLAB, R, and Python to fit a nonlinear regression.
While the results of R and Python are the same, the results from using the MATLAB function "fitnlm" vary by orders of magnitude for the standard error, adjusted r-squared, and degrees of freedom. During computation, MATLAB provides a warning that the Jacobian is ill conditioned, but this difference is far greater than I would expect.
Why do the results from MATLAB's function "fitnlm" vary greatly from R and Python?
Accepted Answer
More Answers (0)
Categories
Find more on Call Python from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!