Skip to content

dsm.var.gam when predicted values are 0 #39

@dill

Description

@dill

If predictions are 0 (therefore on the linear predictor scale log(0)=-Inf), then getting derivatives for use in variance estimation is tricky. Numerically (grad()), it falls over.

This seems like it would be relatively rare (predictions of exact zeros seem unlikely due to the smooth nature of the model).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions