Skip to content

problem censor date with msm tools #7

@GiulianaLocatelli

Description

@GiulianaLocatelli

Reading the vignette (and trying to run the code in R with the hosp dataset used in the vignette), one thing does not make sense to me: in the case where the patient doesn't die, the last row is created equal to the penultimate row, with variable augmented_int equal to the value of the previous row, i.e., elapsed time from "dateIN" to "dateOUT." In this case, shouldn't the last patient row have augmented_int equal to the elapsed time from "dateIN" to "dateCENS"?

An example is if you consider the hosp dataset for the last line of patient 2 (line 35).

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