calcIdealisedTestCosts: Calculate NICE Idealised Test Costs

Description Usage Arguments Details Value

View source: R/idealised-pathway-cost.R

Description

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. Assume that three sputum samples are taken so at least 3 culture and smear tests. Inclusion of BAL would further include this procedure cost and the additional culture and smear tests. Where it is not (usually when the 4 measurement are insufficient to discriminate) then we use the raw data and just sum the cost of the observed tests. The subjectivity come in when deciding exactly what the expected diagnosis is. In most cases it is clear. We could remove patients who do not have all 3 tests so there may be some bias introduced, but can use an imputed completed sample (prefered).

Usage

1
2
calcIdealisedTestCosts(data, BAL = FALSE, Dosanjh3TB = FALSE,
  return = "matrix")

Arguments

data

IDEA data set (perhaps bootstrap sampled or imputed)

return

Return a list of matrix.

Details

This is the function used in boot.calcIdealisedTestCosts.

Value

Total test cost statistics


n8thangreen/IDEAdectree documentation built on Feb. 10, 2020, 11:35 a.m.