Skip to content

refine bail policy vs crime rate results #21

@akelleh

Description

@akelleh

If the results of the simpler ticket work out, AND we want more robust results, we can do the following:

To make the analysis more robust, we probably want to take into account both the x and y errors. To do that, you need "total least squares" or "orthogonal least squares" regression. There's an implementation in scipy here, but the API is pretty low-level, which means it's harder to work with.
https://docs.scipy.org/doc/scipy/reference/odr.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions