Open ThomasSoeiro opened 3 months ago
survcheck is intended for mulit-state survival.
Currently, it does not appears in the title, nor in the Description, only in Details. However, if I understand correctly, some check are useful for "standard" survival dataset too.
I understand that this is low priority. I opened the issue just to let you know. Feel free to close without further comment. Thanks!
I do appreciate the comment. I work hard at making good documentation, but as someone who has worked in the package for a very long time there are blind spots where something is "obvious" to me but not the user. Input like yours is the best way for me to find out. But I do have too many projects to get to this right away.
Your hard work has already paid off; I think that survival
the documentation is already excellent! (even for someone like me with no formal training in statistics)
I have trouble understanding how to use
survcheck()
. I do not think there is any issue in the code but maybe the documentation could be improved (in particular regarding the formula).I have a survival data set that contains data for 3 cohorts of patients. A patient can be included in several cohorts. In the end in build a survival model for each cohort. First, I start the analysis by a crude comparison of the cohorts:
I wanted to check the data. My first try was to reuse the same formula as above, but the RHS of the formula seems to be ignored (see the "Overlap check"):
Finally I found that the following calls returned identical outputs (beside the
call
component):It seems that I need to split the data before runing
survcheck()
:Some data to reproduce examples: