Category: Uncategorized
-
Coding the Cost Effectiveness Acceptability Curve (CEAC) in R
Introduction The cost effectiveness acceptability curve (CEAC) is a tool used to describe the output of a probabilistic sensitivity analysis conducted on a model used in economic evaluations of health technologies. It communicates the probability of cost effectiveness conditional on our willingness to pay threshold for each unit of effectiveness or QALY gained. while this…
-
Computing a competitive equilibrium with multiple goods in R
In the previous blog post titled “Computing the demand for multiple goods in R.” I discussed how we can use embedded for loops along with the command solnl() from the NlcOptim package in r to derive multiple demand curves and make comparisons of cross price changes. What we will do now is add a supply side…
-
Computing the demand for multiple goods in R.
Note to reader: If you are new to optimization in R be sure to check out a short video I made on the topic here.The solving of economic models on on the blackboard is very different than programming it. Some things that take getting used to are: In this blog we embark on a journey…