Skip to content

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

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).

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions