Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
1 answer
308 views

What is Mathematica's ML Linear Regression Method?

When I run p = Predict[trainingSet, Method -> "LinearRegression"];, how is that different from just running ordinary least squares? It's quite slow on a ...
Shane's user avatar
  • 1,033
7 votes
1 answer
3k views

How does Mathematica calculate the Standard error during a non linear fit?

I am doing a simple non linear fit. If I use nlm["ParameterTable"] I get a table with Standard Errors. Does anyone know how Mathematica calculate those "standard ...
Umberto's user avatar
  • 215
3 votes
0 answers
153 views

Algorithm used by Fit[]

Does anyone know what algorithm Mathematica's basic Fit[] function uses? Is it proprietary? I'm trying to do some pretty basic, linear, polynomial data fitting (...
Adam's user avatar
  • 31
37 votes
3 answers
3k views

What is behind experimental function: FindFormula?

In version 10.2 there is a new experimental function: FindFormula[]. I suspect that a genetic programming algorithm (symbolic regression) is behind this new ...
vonjd's user avatar
  • 1,605
6 votes
0 answers
635 views

Custom Methods for NMinimize/NonLinearModelFit

Is there a way to write custom methods for NonLinearModelFit or NMinimize? To give background, I currently have a batch of code ...
Guyondowy's user avatar
12 votes
1 answer
1k views

Default algorithm in NonlinearModelFit

Does anyone know the default algorithm used in NonlinearModelFit? The documentation gives several possible algorithms, but I can't figure out what it uses if you do ...
user3037237's user avatar
1 vote
2 answers
147 views

Does FindFit use symbolic differentiation?

Does FindFit use symbolic differentiation when optimizing by least squares a non-linear function?
Peter Cotton's user avatar
15 votes
1 answer
2k views

How does Mma compute Confidence Intervals?

I am trying to understand how Mma computes the Confidence Intervals after a NonlinearModelFit. Consider the following example: ...
Sos's user avatar
  • 2,188
5 votes
2 answers
4k views

How does Mathematica estimate error on fit parameters?

When performing a fit using NonlinearModelFit (or any of Mathematica fitting functions, but I am particularly interested in nonlinear models), Mathematica makes a ...
ydl's user avatar
  • 51
2 votes
1 answer
1k views

Problem with Covariance Matrix Output in NonlinearModelFit

I am running NonlinearModelFit based off of some simulated data and trying to fit to a function with more than one parameter. Eventually, I would like to fit to 5 ...
diracula's user avatar
2 votes
1 answer
1k views

Method used by FindFit

Using FindFit, Mathematica selects an optimal algorithm when Automatic is selected. I'd like to know the name of the method ...
S.Orii's user avatar
  • 21
15 votes
1 answer
8k views

Methods for NonlinearModelFit

I am using NonlinearModelFit for a thesis project. I get quite different results if I change the Method to LevenbergMarquardt or QuasiNewton or ConjugateGradient ...
Santiago's user avatar
  • 1,201