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

learn more… | top users | synonyms (3)

1
vote
0answers
106 views

Can we ask ComponentMeasurements to use NonLinearModelFit to return a covariance matrix for underlying intensity data?

I'd like to be able to calculate a covariance matrix for some data underlying a morphological component. Provided this data, I can write something like: ...
1
vote
0answers
2k views

How to Output Chi-Squared Statistics when using NonLinearModelFit

I am using NonLinearModelFit for some curve fitting and I was wondering if NLM is able to output chi-squared/leastsquared statistics from the best-fit parameters and confidence intervals. From my ...
1
vote
0answers
470 views

Interpolating function as a model in Mathematica's procedures for fitting

Is it possible to use interpolating function with parameters as a model for NonLinearModelFit (and other integrated methods for fitting)? Similar question was ...
1
vote
0answers
184 views

FindFit for dimension reduction?

Given an n-dimensional function, can I use FindFit to produce an approximate (n-k)-dimensional function? Here is a simplified illustration of what I am trying to ...
0
votes
0answers
23 views

Is it possible to get the error estimates of predicted values computed by FindMinimum using the Levenberg Marquardt method?

I use the LevenbergMarquardt method of the FindMinimum function to minimize a residual function (mathematical-optimization). This residual function is computed from experimental data and the solution ...
0
votes
0answers
39 views

How to fit a plot with error bar as weight?

I try to fit a line which can fit through the points considering the error weight of each coordinate. Is it possible to do in Mathematica? I can only find Fit function which did not do what I really ...
0
votes
0answers
44 views

Fitting 6 differential equations to 6 sets of data

I am using the newest Mathematica and I am trying to fit a set of 6 linear differential equations to a set of experimental data for each of the six variables. I am a baby beginner at this and could ...
0
votes
0answers
42 views

Finding error in an exponential fit

I'm a beginner with Mathematica and I'm trying to find the error in 'A' from the following fit: -A I0 E^(-Y A) The code I've used to plot the fit is the ...
0
votes
0answers
56 views

Exact meaning of `VarianceEstimatorFunction`

After reading the documentation, it's still unclear for me what VarianceEstimatorFunction does when fed with two arguments: ...
0
votes
0answers
38 views

fit multiple dataset with a single ODE to extract parameters

I found my problem very similar to the one discussed in here. But I'm having difficulties to fit multiple dataset (with varied temperatures) to a single ODE. The hurdle for me now is since the rate ...
0
votes
0answers
69 views

Maximum Likelihood Estimation of Gamma-distribution Scale parameter

I have the following tasks: Generate random sample with given parameters shape = 2, scale = 0.001 and shape = 2, scale = 1/1200 for the right censored sample; Using Maximum Likelihood Method ...
0
votes
0answers
33 views

How to calculate a required definition only once for each iteration of NonlinearModelFit

This is my first post here. I've been using Mathematica for about 4 years now to analyze data, but am still very new and have no background in formal programming. This is the first question I couldn't ...
0
votes
0answers
46 views

Incorporating sophisticated constraints on the approximating function into NMinimize

Following the approach as given in the answer of Belisarius here I just wonder how one could incorporate some more sophisticated requirements on the approximating function. Suppose the approximating ...
0
votes
0answers
30 views

EstimatedBackground function on Mathematica 9

Is there a way to replicate the EstimatedBackground function on Mathematica 9?
0
votes
0answers
61 views

Using the results of FindPeak in FindFit

Using FindPeak on some datapoints, I have found the positions and values of likely Gaussian peaks which form the data. The format is ...
0
votes
0answers
59 views

FindFit giving many errors when given model produced by ParametricNDSolveValue

I am trying to use FindFit to determine 7 parameters using 7 differential equations based on data imported from Excel. A sample of the data is: ...
0
votes
0answers
72 views

Modify measured values to improve NonlinearModelFit results

Problem: Measured data points have a random distribution of DC offsets (either +/- 0.65 mV), that came from an incorrect setting on the 24-bit ADC we were using. Essentially for each measured voltage ...
0
votes
0answers
42 views

Fitting problem: InterpolatingFunction can not be localised

I got simple data looking as follows {{541.447, 311752.}, {540.359, 311723.},.. I tried to fit it in mathematica for the first time with a function that usually ...
0
votes
0answers
92 views

How to make a twice-differentiable function that approximates some data?

I have some time series data that I would like to approximate with a twice-differentiable function. Each time series has ~10,000 datapoints, so I definitely do not want a function that passes through ...
0
votes
0answers
39 views

How to use FindFit to find the parameter in Laplace space(numerically inverting Laplace transforms)

I am trying to find the parameter in Laplace space, and a very simple example is shown below: I have known the solution $y_{laplace}$ in the laplace space is $a/s^2$, and I also have some discrete ...
0
votes
0answers
198 views

Decompose Point-Spread Function into Seidel Aberration/Zernike Polynomials

I have measured the point spread function (PSF of a microscope) and I want to quantify it. For that purpose I want to fit my PSF data to the primary Seidel optical aberrations (or Zernike Polynomials, ...
0
votes
0answers
103 views

Fit a complicated function to a constant with NonlinearModelFit

I wish to fit a complicated parametric function (logder, with lambda parameters) to a constant (L) in order to minimize its dependence with the variable k in a given interval. To do that, I use a ...
0
votes
0answers
56 views

NonlinearModelFit not hunting for good values

I have the following data which come from complex values but I have turned them into a 3D list ...
0
votes
0answers
421 views

Extracting parameters from a fitted function

Let's say I have written a function which performs convolution and returns value calculated for the time, t. ...
0
votes
0answers
323 views

Multi-peak fitting

Suppose we have a data set that looks like this: I have to fit this data to 9 peaks knowing μ and σ beforehand & have to ...
0
votes
0answers
127 views

How to perform a distribution fit test to censored data

With following code I will get an error: ...
0
votes
0answers
96 views

Fitting data set with series expansion

I have a function given in a form of a list: ScalarField={{$\epsilon$,$y_1$},..{1,$y_{3000}$}} It is defined in the range $(\epsilon,1)$ (spacing between grid points is homogeneous), where ...
0
votes
0answers
222 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 ...
-2
votes
0answers
29 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.