They are input and output parameters, array a(1:ma) in the subroutine
mrqmin(x,y,sig,ndata,a,ia,ma,covar,alpha,nca,chisq,funcs,alamda)
On the first call I provide an initial guess for a(1:ma) and the program returns the best values for a(1:ma) that minimize the value χ^2 of the fit between a set...
The model I want to fit to the data has 8 parameters (it is a complex model). The code works well and I obtain the best fitting, but the problem is that in this fitting the values that 2 of the parameters reach have no sense for my purposes (for example, one of them reachs a negative value). I...
mikrom, thank you very much for your quick reply. I had already looked for it in Numerical Recipes, but I think that this code allows to fit the parameters to any value or to hold fixed at their input values, but not to limit the possible values they can reach. Am I wrong?
P.S. Apologize for...
I'm using the mrqmin subroutine to perform a non linear fitting, but I would need to restrict the values that the parameters can reach by lower and upper bounds. I don't find the way to do it. If anyone could help me, I would be very grateful. Thanks in advance
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.