Mathemaica: Nonlinear Least Squares

In summary, when using NonlinearModelFit in Mathematica, the "P-value" parameter in the fitted parameters represents the probability of observing a t-statistic that is at least as far from 0 as the one obtained. This is similar to a chi-square test and is used to determine if the estimated parameter is significantly different from 0. Additionally, the reference mentioned that small P-values indicate a higher likelihood of the parameter being different from 0.
  • #1
Niles
1,866
0
Hi

I like to fit in Mathematica using NonlinearModelFit. When I look at the fitted parameters, there is an entry called "P-value". Here is what it means: "The p-value is the probability of observing a t-statistic at least as far from 0 as the one obtained.". I'm not quite sure what this means. Is it something like chi-square?


Niles.
 
Physics news on Phys.org
  • #2
Hey Niles.

Basically you have a distributed for your statistic which is usually related to an estimator.

For example when you try to say estimate the population mean given a sample, the distribution of this population mean follows a distribution with the centre of the distribution being the mean of the sample, and typically the variance is based on how big your sample is.

Just like we have Z-scores, we can also have similar things for the t-distribution.

Now in line with the Z-scores, imagine for a second that you want to find the probability that a particular Z-statistic is from the origin. In terms of probability we write this as P(Z > -z and Z < z where z > 0) (if z is negative make it positive).

This translates into finding P(-z < Z < z) for some value of |z| corresponding to your statistic (we take the absolute value).

Now if |z| is at the centre this gives us a probability of 0, but if z is far away then this gives us a very big probability and signifies that there is a lot of error involved.

I'd double check the reference to make sure its P(T < |t|) as opposed to P(T > |t|) though, but the idea is the same (except that the latter one corresponds to P(T < -t AND T > t) for a corresponding test-statistic for a 'normalized' test-statistic distribution (like the t-distribution).
 
  • #3
Last edited:

1. What is Mathematica: Nonlinear Least Squares?

Mathematica: Nonlinear Least Squares is a computational software program used for solving nonlinear least squares problems. It is commonly used in scientific and mathematical research to fit data to a mathematical model and estimate the parameters of the model.

2. How does Mathematica: Nonlinear Least Squares work?

Mathematica: Nonlinear Least Squares uses the Levenberg-Marquardt algorithm to iteratively find the best-fit parameters for a given model. It minimizes the sum of the squared differences between the observed data and the predicted values from the model, using a combination of gradient descent and Gauss-Newton methods.

3. What types of problems can be solved using Mathematica: Nonlinear Least Squares?

Mathematica: Nonlinear Least Squares can be used to solve a wide range of nonlinear optimization problems, including curve fitting, data smoothing, and parameter estimation. It is commonly used in fields such as physics, engineering, and economics to analyze and model complex data sets.

4. What are the advantages of using Mathematica: Nonlinear Least Squares?

One of the main advantages of using Mathematica: Nonlinear Least Squares is its robustness and accuracy in solving complex optimization problems. It also has a user-friendly interface and allows for the customization of various settings and algorithms, making it suitable for a wide range of applications.

5. Are there any limitations to using Mathematica: Nonlinear Least Squares?

While Mathematica: Nonlinear Least Squares is a powerful tool, it does have some limitations. It may not be suitable for extremely large data sets, and the accuracy of the results can be affected by the initial guesses for the model parameters. It is important to carefully choose the model and parameters to ensure the best results.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
475
  • Calculus and Beyond Homework Help
Replies
6
Views
641
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
997
  • Programming and Computer Science
Replies
4
Views
636
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
4K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
12
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
913
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
1K
Back
Top