You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding line 36-37: We should actually not slice the data to the first two observations yet. This has to wait until after the events have been through the censoring function(s). E.g. if we do it now, we risk that one or both of the first two elevated HbA1c tests were due to gestational diabetes and need to be excluded.
The same thing goes for GLD drugs (which need to go through three censoring functions, while HbA1c only needs to go through one: exclude_pregnancy()), but include_gld_purchases() doesn't slice the data, so that function is fine 👍
Regarding line 36-37: We should actually not slice the data to the first two observations yet. This has to wait until after the events have been through the censoring function(s). E.g. if we do it now, we risk that one or both of the first two elevated HbA1c tests were due to gestational diabetes and need to be excluded.
The same thing goes for GLD drugs (which need to go through three censoring functions, while HbA1c only needs to go through one: exclude_pregnancy()), but include_gld_purchases() doesn't slice the data, so that function is fine 👍
Originally posted by @Aastedet in #138 (comment)
The text was updated successfully, but these errors were encountered: