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

  • Thread starter Thread starter natski
  • Start date Start date
  • Tags Tags
    Optimization
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?
 
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...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top