Skip to content

Missing confidence intervals #129

@KirstenBos

Description

@KirstenBos

Dear Professor Jackson,

I am currently conducting a msm analysis to identify predictors of transitions from living at home to hospital readmission, recovery, or death. While doing so, we are encountering limitations related to the complexity of our data when using the msm package.

We deliberately chose the msm framework because the timing of recovery was assessed only at fixed time points, meaning that the exact recovery times are unknown. For the other transitions, however, we do have exact transition times, and these have been specified using the obstype argument, as described in your documentation.

In the attached figure, we show all transitions observed in our data. Our primary interest is in identifying predictors for transitions from state 3 to states 4, 5, and 6.

My first question concerns the feasibility of modeling these transitions: in our data, the number of observed transitions from state 3 to state 6 is only 10. In your opinion, is this number sufficient to obtain reliable estimates, or would you recommend excluding this transition from the model?

In addition, we are struggling with the optimal use of the msm model and the interpretation of its results. Using the script attached, we fit models with several covariates applied to all transitions (all covariates are added seperatly). However, for some covariates we do not obtain confidence intervals for the hazard ratios, which is problematic for reporting our results in a publication.

My second question is therefore what the exact cause of these missing confidence intervals might be, and how this could potentially be resolved. I have already tried changing the optimization method to "BFGS" and "CG" (Conjugate Gradient), but in those cases some covariates fail to return any results at all.

I would very much appreciate your advice on these issues.

Kind regards,
Kirsten Bos

Image

run_msm_single_cov.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions