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

learn more… | top users | synonyms (3)

0
votes
0answers
223 views

Using FindFit for step functions

Having used FindFit like so: ...
0
votes
0answers
124 views

Smoothing a function

NDsolve gives me a solution to a certain NL PDE. I want to evaluate the rate of exponential decay of the maxima of the solutions in time. So, I plot ...
0
votes
0answers
45 views

How to fit ODE's coefficient, just like using NMinimize [duplicate]

I want to fit ODE's coefficients to a model. I tried using NMinimize, but it seems it does symbolic instead of numerical calculations. ...
0
votes
0answers
43 views

NonLinearModelFit not generating a model without the use of “BestFit”, not sure why [duplicate]

This is my first time using NonLinearModelFit and I have run into an issue that I can't find an explanation for. The fitted model contains a ...
0
votes
0answers
381 views

Performance in parameter estimation from ParametricNDSolve using varied initial conditions [duplicate]

I have 250 data points from a timecourse exeriment in a list, with columns specifying (1) time, (2-4) initial conditions, (5) absorbance reading. I want to fit 4 parameters (k1, k2, k3, k4) in a DAE ...
-1
votes
1answer
227 views

Formatting and inserting a parameter table into a plot

I'm fitting data, and I want to put the parameter table generated by NoninearModelFit into the plot. How can I do that in a reasonable way? I want to format the ...
-1
votes
2answers
536 views

Fitting a beta distribution to a probability density curve

If I have a spectral data set showing measured energy on the y-axis and frequency on the x-axis, how would I go about fitting this to a beta distribution? For example, lets say I had the data for the ...
-1
votes
1answer
88 views

How to fit one parametric array to another numerical array?

I have two arrays of length n. One of them is obtained by experiment, so every element of the array is a number. The other array is parametric, each element is a ...
-1
votes
1answer
72 views

Pulling variable out of NonlinearModelFit [closed]

I have a fit, Dynamic[f1 = NonlinearModelFit[d1, a Exp[-(b (x - c1))^2] + yoff, {a, b}, x]] Where I need to be able to access ...
-1
votes
1answer
192 views

NonlinearModelFit errors and precision

For this problem, I use a data set, which I've made available here. ...
-1
votes
0answers
49 views

Find absolute minimum with NMinimize method

Hello Mathematica Bloggers. I'm facing up a problem with NMinimize[] in Mathematica. I need to find the best fit for some ...
-1
votes
1answer
362 views

How to define a pure function with a Module?

I was not able to use a self defined (using Module and For loops) piecewise function to fit data. It seems that the problem is that I have to define a pure function. I would like to learn how to ...
-1
votes
1answer
124 views

FindFit and Integration errors

First off, appologies for what may sound like a newbie question, as I am very new to using Mathematica. I am trying to find a way to get Mathematica to give me an expression that would describe the ...
-2
votes
2answers
144 views

How can I use NonlinearModelFit with multiple variables? [closed]

I am trying to find the coefficients for following equation: $\quad \quad f(x,\,y,\,z) = a (x^2)\, exp(b x + y^2) + c z^2 y$ using NonlinearModelFit. But I can't ...
-2
votes
1answer
97 views

Computing least squares error [closed]

I have a mathematica subroutine setup that computes the least squares approximation as follows ...
-2
votes
1answer
107 views

A piecewise function with way too many pieces

I'm currently calculating a periodic square wave current function to feed into a particle accelerator. It's a square wave that ramps up to a certain frequency and then drops back to the base frequency ...
-2
votes
0answers
31 views

How we get the ANOVA and Parameter Tables in Mathematica of the Ridge regression like the linear model

Dear how we find the ANOVA and Parameter Tables of the ridge regression like the linear model on randomly generated independent and dependent variables.