Skip to content

inconsistency in fitting results (error of parameters) when using fit wizard with Custom functions #48

Description

@fbuatier-cyber

Hello I am an instructor in LabCourse at the physics department in Genova.
We tested intensively the fitting routine (fit Wizard) comparing the numerical results of a linear fit with those of Root, of a least squares routine, and Curve.fit . We compared Chi2 and the value of the fit parameters/uncertintise finding the following bug.

If we use fit_wizard + built-in function (polinomial, degree 1) the errors of the parameters are consistent withe the reference software, if we choose fit_wizard+Custom function (we build a linear function) instead the errors of the parameters are systematically smaller. Reading on the web it seems there is a wrong normalization of the parameters when choosing the Custom function option .

Is it possible to fix this bug? We would like to use the software with our students but in these conditions the inconsistency is too evident.
Best regards
Francesco Buatier

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions