ldsec / glowing-bear-medco

Cohort-selection UI for MedCo. Fork of Glowing Bear :bear: (glowingbear.app).
https://medco.epfl.ch/documentation
Mozilla Public License 2.0
2 stars 4 forks source link

added element of the new censoring from attribute in survival analysis api endpoint #216

Closed nfreundl closed 2 years ago

nfreundl commented 3 years ago

Added the possibility of using visit dimension instead of observations facts for construction of right-censoring event.

It is useful if we consider that a fact can generate after a subject leaves a study: it can be a new bio bank entry related to a previous sample. I this case, a fact will be added but the last visit related to the subject is ancient.

Right censor built on observation fact may be biased to longer durations.