Optimizing 2D Data Models: Best Routines for X & Error

  • Context: Graduate 
  • Thread starter Thread starter natski
  • Start date Start date
  • Tags Tags
    Optimization
Click For Summary
SUMMARY

The discussion focuses on optimizing 2D data models, specifically seeking methods to determine the optimal value of a characterizing parameter, x, along with its error. The user suggests using chi-squared minimization, but is exploring more advanced techniques such as Markov Chain Monte Carlo (MCMC) methods and hybrid Hamiltonian MCMC algorithms. Additionally, genetic algorithms are mentioned as a potential solution. A recommendation is made to utilize the ROOT software, which includes a MINUIT routine for fitting parameters effectively.

PREREQUISITES
  • Understanding of chi-squared minimization techniques
  • Familiarity with Markov Chain Monte Carlo (MCMC) methods
  • Knowledge of genetic algorithms for optimization
  • Experience with ROOT software and its MINUIT fitting routine
NEXT STEPS
  • Research advanced Markov Chain Monte Carlo (MCMC) algorithms
  • Explore the implementation of genetic algorithms for parameter optimization
  • Learn how to use ROOT software for data analysis and fitting
  • Investigate likelihood calculations in statistical modeling
USEFUL FOR

This discussion is beneficial for data scientists, statisticians, and researchers involved in optimizing 2D data models and fitting parameters in computational analysis.

natski
Messages
262
Reaction score
2
Dear all,

I am looking for some advise on optimization routines. I have a collection of 2D data (x-y plot) and a piece of code which generates different models based upon several inputs (a,b,c,d,etc). These inputs generate several outputs which characterize the final generated model (x,y,z...).

I wish to find the optimum value in just one characterizing parameter, say x, plus a very careful and precise value for the error in x.

The simplest thing to do would be a chi squared minimization and then allow chi-squared to change by +1 to get the upper and lower limits on x, but I don't think this is really the best.

A more advanced approach would be to use a Markov Chain Monte Carlo (MCMC) method. Or maybe I should use a hybrid Hamiltonian MCMC algorithm (is this better?).

Another option is genetic algorithms...

What, in your experience, is a reasonably easy to implement, exact and precise, but not computationally too demanding, method to find the value of x and error?

Thanks,

nastski
 
Mathematics news on Phys.org
Along the same lines of Chi Squares and Monte Carlos... in general, matters of this sort are done through Likelihood calculations.

Are you familiar with the freely available software called ROOT ? This has a MINUIT routine in its structure that may be useful for you, as well as, already available classes that you may be able to inherit easily from to represent your own function and then pass it as a parameter, then letting MINUIT determine the best fit parameters.

Hopefully my reply hasn't come a day too late.Edit: I believe this should be moved to the programming thread?
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
67
Views
8K
  • · Replies 65 ·
3
Replies
65
Views
9K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
7K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K