Questions tagged [fitting]
Questions on the use of Mathematica to construct models for approximating empirical data.
1,783 questions
10
votes
1
answer
763
views
Inconsistent DistributionFitTest results?
In pondering this question, I used Mariana's function to generate the following data.
...
0
votes
1
answer
185
views
Numerical minimization of an objective function (revised)
I'm trying to develop some code that I can easily adapt to different material models
(Propagation Models).
I'm revising my previous question to enable everyone to reproduce the problem with some ...
2
votes
3
answers
245
views
How can I specify bandwidth of uneven size in KernelModelFit?
Given data like this:
...
4
votes
1
answer
131
views
Can weighted parameter error estimates from MM13 and earlier be replicated using Around in MM14?
Consider some noisy data with varying levels of uncertainty on each data point:
...
1
vote
3
answers
320
views
How to customize the method of fitting to a specific one?
I have a set of data as follows
...
1
vote
0
answers
119
views
Numerical minimization of an objective function [closed]
I'm trying to develop some code that I can easily adapt to different material models (see Propagation Models
For that I have defined a "vector"
that enters into the functions that are the ...
3
votes
4
answers
433
views
Plot the error in the curve fitting
I would like to plot the fitted model and the original data punctually. For example, I have:
...
14
votes
2
answers
841
views
Does anyone have Mathematica code for Deming regression?
Deming regression finds a regression line that relates x and y variables for how they covary, i.e., it finds the relationship between x and y, whereas, for example, ordinary least squares would find ...
35
votes
7
answers
19k
views
Estimate error on slope of linear regression given data with associated uncertainty
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 ...
1
vote
1
answer
163
views
Difference between Mathematica NonlinearModelFit and Excel Solver? [closed]
Sorry if this is a stupid question. I was wondering what the difference is between Mathematica NonlinearModelFit and Excel solver if you set up excel to minimize the sum of squared residuals. I've ...
0
votes
0
answers
147
views
NonlinearModelFit finds only "fake" minima
I'm trying to fit the parameters of a function that, since it's the result of many complicated calculations, cannot be expressed analytically, but only calculated.
Let me write it as
...
5
votes
3
answers
571
views
Fitting many peaks to dataset
I have the following dataset:
dataset
I am trying to fit this with a series of gaussians, without overfitting. I have tried the following,
...
0
votes
1
answer
236
views
Fitting data to a nonlinear model and avoiding warning
I have a complicated model and I want to fit it to my data.
I used NonlinearModelFit. The fit quality is very poor (P is infinitesimal) and it comes with a warning ...
0
votes
0
answers
109
views
Fitting experimental data with a convolution of two functions - how to speed up such calculations?
I am trying to write a program that fits experimental data with a convolution of experimental instrumental response function (IRF) with several Exponential functions. This is what I coded so far.
Here ...
3
votes
1
answer
191
views
Find Fit function to my plot
I want to solve this equation and find Z.
But solving this equation is difficult due to the complexity of its functions. So, I used a numerical method and managed to plot Z as a function of changes ...