Skip to content

detect coxph ill fits #1090

Description

@dchiu911

Is there a method to detect ill-fitted coxph models such as when these warnings appear

Warning message:
In coxph.fit(X, Y, istrat, offset, init, control, weights = weights,  :
  Loglik converged before variable  1 ; coefficient may be infinite. 

or is the only way to do this via a tryCatch() for warning() since the model object doesn't store this phenomenon? I noticed that is_converged() only has methods for mixed models.

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

    3 investigators ❔❓Need to look further into this issueReprex 📊We need a reproducible example for further investigation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions