Skip to content

Automatic residuals plotting #145

Description

@guiguem

Is your feature request related to a problem? Please describe.
Automatically produces a residual plot when using RooFit in fitting mode

Describe the solution you'd like
Using the script here https://root.cern.ch/root/html/tutorials/roofit/rf109_chi2residpull.C.html we could automatically create a plot after the fit that displays the residuals as a function of the variable (or an histogram of the residuals) and use that as diagnostics of the fit.

Describe alternatives you've considered
Could do this manually, but more effort is needed.

Additional context
Exporting this to Stan would be nice too, but there is no easy way yet since likelihood building doesn't always correspond to function fitting

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions