An Alternate Method for Minimizing $χ^2$

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yee, Jennifer C., Gould, Andrew P.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917916063039488
author Yee, Jennifer C.
Gould, Andrew P.
author_facet Yee, Jennifer C.
Gould, Andrew P.
contents In this paper, we describe an algorithm and associated software package (sfit_minimize) for maximizing the likelihood function of a set of parameters by minimizing $χ^2$. The key element of this method is that the algorithm estimates the second derivative of the $χ^2$ function using first derivatives of the function to be fitted. These same derivatives can also be used to calculate the uncertainties in each parameter. We test this algorithm against several standard minimization algorithms in SciPy.optimize.minimize() by fitting point lens models to light curves from the 2018 Korea Microlensing Telescope Network event database. We show that for fitting microlensing events, SFit works faster than the Nelder-Mead simplex method and is more reliable than the BFGS gradient method; we also find that the Newton-CG method is not effective for fitting microlensing events.
format Preprint
id arxiv_https___arxiv_org_abs_2502_04486
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle An Alternate Method for Minimizing $χ^2$
Yee, Jennifer C.
Gould, Andrew P.
Instrumentation and Methods for Astrophysics
In this paper, we describe an algorithm and associated software package (sfit_minimize) for maximizing the likelihood function of a set of parameters by minimizing $χ^2$. The key element of this method is that the algorithm estimates the second derivative of the $χ^2$ function using first derivatives of the function to be fitted. These same derivatives can also be used to calculate the uncertainties in each parameter. We test this algorithm against several standard minimization algorithms in SciPy.optimize.minimize() by fitting point lens models to light curves from the 2018 Korea Microlensing Telescope Network event database. We show that for fitting microlensing events, SFit works faster than the Nelder-Mead simplex method and is more reliable than the BFGS gradient method; we also find that the Newton-CG method is not effective for fitting microlensing events.
title An Alternate Method for Minimizing $χ^2$
topic Instrumentation and Methods for Astrophysics
url https://arxiv.org/abs/2502.04486