Skip to content

Bug in predictCount()? #3

@b-steve

Description

@b-steve

Is the predictCount() function supposed to work for logistic regression models, or just Poisson GLMs? It is used to calculate estimated probabilities in a previous version of the STATS 20x notes.

However, the function appears to think every GLM has a log link function. For logistic regression models, estimated probabilities are calculated by exponentiating the linear predictor, rather than using the inverse-logit function.

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