Question: How do I do a chi-squared minimization?

I have a list of data and errors for which I want to do a chi-squared minimization for an arbitrary function. Is there a simple way to do this?
Please Wait...