Healthy Uncertainty - R Tools for decision modeling
  • About Me
  • R Guide
  • More About Me
Navigation bar avatar

Healthy Uncertainty


A blog about cost-effectiveness model building in R

Replicating models with Claude AI

AI Skills may be the key that unlocks a new way to build models

Posted on January 25, 2026

Using Claude AI to replicate decision models Introduction Health Technology Assessment (HTA) requires the inclusion of economic analysis so that decision-makers have information about the impact their decisions will have on the health of the population - both in terms of direct health impact but also the health foregone by... [Read More]
Tags: R tools AI Replication

The WXYZ Model

The 4-state Markov model formatted to DARTH specifications

Posted on March 27, 2021

As I mention in The R Guide, my method for building models in R is the product of some self-directed trial and error. It does not, therefore, match well with more conventional approaches to model building. It still works, and I still believe that “it works” is the only standard... [Read More]
Tags: R tools WXYZ model Markov

Building Functions in R

Turn a set of inputs into an output with a single custom command

Posted on March 22, 2021

Functions are bits of code that tell R to run a set of instructions to an object (or a group of objects) and return a specific output. You could, for example write a function that tells R to calculate the 95% CI around a number based on its mean, standard... [Read More]
Tags: R how-to

Whole Disease Models and Health Technology Management

The need for an Open Source approach

Posted on January 25, 2021

On Jan 20th I was invited to present to the Network of Alberta Health Economists (NOAHE). This afforded me the opportunity to discuss an aspect of my doctoral work that didn’t really get much attention in my actual dissertation, despite being the aspect of the work I was most intrigued... [Read More]
Tags: whole disease model HTA academia

Batch Importer

Import multiple variables in a single step

Posted on November 25, 2020

The first R tool that I’m going to write up is what I call the Batch Importer. I sort of describe an early version of this tool in Chapter 4 of the R Guide, but it’s been refined considerably since then. [Read More]
Tags: R tools
  • Older Posts →
  • Email me
  • GitHub
  • Twitter
  • LinkedIn

Ian Andrew Cromwell  •  2026

Powered by Beautiful Jekyll