Related Experiment Video
Updated: Feb 11, 2026

A Low-cost Method for Analyzing Seizure-like Activity and Movement in Drosophila
Published on: February 19, 2014
Analyzing medical costs with time-dependent treatment: The nested g-formula
Andrew Spieker1, Jason Roy1, Nandita Mitra1
1Department of Biostatistics, Epidemiology, and Informatics, University of Pennsylvania.
Abstract:
As medical expenses continue to rise, methods to properly analyze cost outcomes are becoming of increasing relevance when seeking to compare average costs across treatments. Inverse probability weighted regression models have been developed to address the challenge of cost censoring in order to identify intent-to-treat effects (i.e., to compare mean costs between groups on the basis of their initial treatment assignment, irrespective of any subsequent changes to their treatment status). In this paper, we describe a nested g-computation procedure that can be used to compare mean costs between two or more time-varying treatment regimes. We highlight the relative advantages and limitations of this approach when compared with existing regression-based models. We illustrate the utility of this approach as a means to inform public policy by applying it to a simulated data example motivated by costs associated with cancer treatments. Simulations confirm that inference regarding intent-to-treat effects versus the joint causal effects estimated by the nested g-formula can lead to markedly different conclusions regarding differential costs. Therefore, it is essential to prespecify the desired target of inference when choosing between these two frameworks. The nested g-formula should be considered as a useful, complementary tool to existing methods when analyzing cost outcomes.
Related Concept Videos
Molecular Compounds: Formulas and Nomenclature
Chemical Formulas
Chronopharmacokinetics: Time-Dependent Pharmacokinetics
Time-dependent pharmacokinetics refers to non-cyclical changes in drug rate processes over a period of time. It can lead to nonlinear pharmacokinetics, where the relationship between drug concentration and time is not proportional. Non-cyclical...
The Integrated Rate Law: The Dependence of Concentration on Time
Ionic Compounds: Formulas and Nomenclature
Experimental Determination of Chemical Formula

