QALY_survival: QALY_survival

Description Usage Arguments Details See Also Examples

View source: R/QALY_survival.R

Description

TODO: use expected QALY over (all-cause) life-table survival probabilities.

Usage

1
2
QALY_survival(utility = NA, gender = NA, age = NA, start_delay = 0,
  discount_rate = 0.035, utility_method = "add")

Arguments

utility

Vector of values between 0 and 1 (1 - utility loss)

age

Year of age

start_delay

What time delay to origin, to shift discounting

discount_rate

default 3.5%

utility_method

Should the yearly QALYs be summed to a scalar? add or prod

intervals

Time intervals for each utility

Details

Uses the following formula:

QALY = \int_0^∞ S(t) u(t) dt \approx ∑_0^100 S(t) u(t)

See Also

calc_QALY_population total_QALYs

Examples

1
2
3
calc_QALY(utility = 0.9,
          age = 13,
          intervals = 49)

n8thangreen/QALY documentation built on Oct. 25, 2020, 10:07 p.m.