# Questions tagged [fitting]

Questions on the use of Mathematica to construct models for approximating empirical data.

1,158 questions
Filter by
Sorted by
Tagged with
0answers
30 views

### What does the following error message mean, in the context of NonlinearModelFit?

I am deliberately not including data or a model for this question, as I want a more general answer so that I may be able to trouble shoot this myself in the future. When performing a fit, usually a ...
1answer
48 views

1answer
41 views

### Why UnitCovert doesn't work with Fit?

I need to find the Hubble constant (Ho) in light years, from some data, the exercise tells me that the constant of the hubble is the slope of the line. data: r1 is in MegaParsecs. ...
1answer
89 views

### NonlinearModelFit returning imaginary numbers after fitting real data

I am getting problems when I try to use NonlinearModelFit to fit a squareroot-like function to a set of real data points. Here is the function: \begin{equation} \...
2answers
187 views

### NonlinearModelFit when the fitting function produces a discrete list of values?

Short Version: I have a parameterized function (the model) that returns a list of values. I have data that I want to fit this model to, optimizing those parameters, where the list position in the data ...
2answers
136 views

### How to find fit for this plot?

I have been trying to find an expression that properly models the following plot in Mathematica v9.0: I have tried modelling it as odd-degree polynomials using Fit,...
1answer
192 views

### Fitting multiple data with model and NDSolve with different initial conditions, and other shared parameters

I know that there are already questions about fitting multiple datasets and about NDSolve and about shared and non shared parameters, but I tried to apply them and some things are still not clear. ...
1answer
53 views

### Fitting system of differential rate equations to data

I am trying to fit a set of differential equations to experimental data, without luck so far. These are the data: ...
0answers
27 views

...
2answers
140 views

### How to do an exponential fit for this data?

Whenever I try to use FindFit or NonlinearModelFit for the data (shown below), I keep getting the following error thrown at me: ...