Skip to main content

Questions tagged [fitting]

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

58 votes
6 answers
23k views

I am wondering how to implement the multi-peak detecting and fitting in Mathematica. Following is an example of fitting the data using three peaks (such that the data ~ peak1 + peak2 + peak3). The ...
Everett You's user avatar
  • 2,317
53 votes
4 answers
6k views

I have a data set of x,y,z values and I fit a function of x,y to the data. This works, but I can't come up with a nice way to ...
jens_bo's user avatar
  • 1,804
53 votes
5 answers
15k views

What is the proposed approach if one wants to simultaneously fit multiple functions to multiple datasets with shared parameters? As an example consider the following case: We have to measurements of ...
Markus Roellig's user avatar
50 votes
8 answers
9k views

I have 24 x-y points that are supposed to form an ellipse. ...
khanhnguyendata's user avatar
44 votes
1 answer
2k views

Basically, I'm looking for the Bayesian equivalent of LinearModelFit. As of the moment of writing, Mathematica has no real (documented) built-in functionality for ...
Sjoerd Smit's user avatar
  • 25.7k
43 votes
2 answers
5k views

Mathematica has numerous functions designed to, or capable of, fitting known functions, and finding unknown functions to match data sets. What are some common issues that come with finding those fits?
Feyre's user avatar
  • 8,687
37 votes
3 answers
3k views

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
35 votes
7 answers
19k views

Given a set of data, is it possible to create a linear regression which has a slope error that takes into account the uncertainty of the data? This is for a high school class, and so the normal ...
George S's user avatar
  • 353
33 votes
2 answers
8k views

I'm a biologist and a newbie in Mathematica. I want to fit three data sets to a model consisting of four differential equations and 10 parameters. I want to find the parameters best fitting to my ...
Stefanie's user avatar
  • 333
33 votes
3 answers
6k views

I cannot get the difference between these two fitting functions in Mathematica. I even read in MMA that the result of these two are the same.
MOON's user avatar
  • 3,936
31 votes
4 answers
1k views

The new Dataset in Mathematica 10 is a great addition to the language, potentially reducing the convenience gap with R. Given this, I would like to understand what the equivalent simple or natural ...
Simplex's user avatar
  • 1,146
31 votes
5 answers
7k views

I have the following set-up: xaxis = Table[x, {x, 0, 10, 0.01}]; yaxis = Table [Sin[x] + Abs[RandomReal[{-1, 1}]], {x, 0, 10, 0.01}]; ListLinePlot[Transpose[{ xaxis, yaxis}]] My questions is how can ...
akk's user avatar
  • 1,257
29 votes
5 answers
4k views

Is anyone aware of Mathematica use/implementation of Random Forest algorithm?
blackace's user avatar
  • 415
28 votes
6 answers
24k views

I was wondering if anyone could give me a hand with this problem I have. I have six points on a plane, and I am trying to determine if they form a circle or not. I know that any three points in 2D ...
RedPotatoe's user avatar
27 votes
6 answers
16k views

I'm having trouble with a non-linear fit: fit = NonlinearModelFit[data, y0 + A Sin[\[Pi] (x - xc)/w], {y0, xc, A, w}, x] where ...
a06e's user avatar
  • 11.7k

15 30 50 per page
1
2 3 4 5
119