Skip to content

Error in glm.fit(x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, : NA/NaN/Inf in 'x' #22

@sainadfensi

Description

@sainadfensi

Dear developer of fishHook,

Thank you for making this wonderful tool. I've been trying to make it running for a week, but I feel I obtained different results between runnings. Not sure what causes the problem. Could you give me some advice for the error I encountered in glm.fit()?

fish$score()
FishHook 2025-07-10 12:00:12.375211: Setting up problem
FishHook 2025-07-10 12:00:12.402443: Fitting model with 57,819 data points and 1 covariates
FishHook 2025-07-10 12:00:12.566743: Applying Poisson regression.
Error in glm.fit(x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  :
NA/NaN/Inf in 'x'
In addition: Warning message:
In score.hypotheses(targ, sets = sets, covariates = covs, return.model = TRUE,  :
negative binomial failed to converge, automatically running poisson

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions