Quality-Adjusted Life Year Gain By Tobacco Cessation

Call function

parameters

  • age: patient's age
  • gender: patients gender (male: 0, female: 1)
  • smokeyear: number of years patient has been smoking
  • cigpday: number of cigateres patient smokes per day
  • quityear: how many years ago patient has quit smoking (0 for current smokers)

example

qalyValue({age:65,gender:1,smokeyear:30,cigpday:20,quityear:0}) #output: 6.142667499999999