Skip to content

Apply regression equation function #29

@janowicz

Description

@janowicz

Function to impute missing/invalid/outlying values using predictions from a regression model or other statistical model (e.g. poisson). Applies regression equation, which may have been estimated in urbansim or statsmodels.

Examples:


apply_regression(buildings, variable_to_impute, regression_equation, replacement_criteria)
apply_regression(buildings, 'residential_rent', regression_equation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions