Description Usage Arguments Details Value
View source: R/idealised-pathway-time-to-diag.R
Uses the pathway frequencies for the NICE idealised pathway (chest X-ray, culture, smear, clinical judgement) and whether the observed Dosanjh final diagnosis is what would be expected from the idealised pathway.
1 2 |
data |
IDEA study data set (perhaps bootstrap sampled or imputed). |
use_times_in_data |
Use the raw times in the IDEA data or the idealised times. |
return |
Return a list of matrix. |
For the pathway derived from the data only, this is like a ‘double-imputation’ because we impute missing test results to match-up with the NICE guidelines and then we use imputed times to diagnosis.
For when we use predefined values we avoid some of the messiness of the time to test data. At the moment we just use some hard-coded expected values. Future work could use some statistic from the multiple imputations, like the median or mode. We could also (hardcode) data derived averaged instead.
Times to diagnosis statistics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.