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

  • Thread starter Thread starter natski
  • Start date Start date
  • Tags Tags
    Optimization
AI Thread Summary
The discussion focuses on optimizing a 2D data model to find the best value for a characterizing parameter, specifically x, along with its error. Chi-squared minimization is considered a basic approach, but alternatives like Markov Chain Monte Carlo (MCMC) methods and hybrid Hamiltonian MCMC algorithms are suggested for potentially better results. Genetic algorithms are also mentioned as a possible optimization technique. Additionally, the software ROOT is recommended for its MINUIT routine, which can aid in determining optimal fit parameters. The conversation emphasizes the need for a method that balances precision and computational efficiency.
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?
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top