EconPapers    
Economics at your fingertips  
 

FGCIFPLOT: Stata module to draw Fine-Gray cumulative-incidence plots with conventional and subdistribution risk-set summaries

Christina Laternser ()
Additional contact information
Christina Laternser: Ann & Robert H. Lurie Children’s Hospital of Chicago

Statistical Software Components from Boston College Department of Economics

Abstract: fgcifplot draws model-based cumulative-incidence curves after Fine-Gray competing-risks regression and can place one or more risk-set summaries below the curve. The command distinguishes three different quantities that are often conflated in competing-risks figures: Conventional N at risk: subjects whose observed follow-up interval still contains time t. Subjects leave after the event of interest, a competing event, or censoring. FG retained N: the conventional risk set plus subjects who experienced a competing event before t. Each retained competing-event subject counts as one. This is the unweighted head count of the extended Fine-Gray risk set. FG weighted total: the conventional risk set plus retained competing-event subjects weighted by the inverse-probability-of-censoring weight used by stcrreg. For a subject j with a prior competing event, the contribution at time t is the censoring-survival function evaluated at t divided by that function evaluated at the subject's competing-event time. This quantity may be noninteger. It is a weighted risk-set total, not a survey-style effective sample size. The cumulative-incidence curves are adjusted model predictions produced by stcurve. Covariates not explicitly set in at() follow stcurve's usual postestimation defaults. In contrast, the risk-set summaries are unadjusted observed quantities calculated within the requested groups; they are not model-adjusted predictions.

Language: Stata
Requires: Stata version 14.2
Keywords: graphics; cumulative-incidence plots; Fine-Gray (search for similar items in EconPapers)
Date: 2026-09-17
Note: This module should be installed from within Stata by typing "ssc install fgcifplot". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/f/fgcifplot.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fgcifplot.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/d/demo_fgcifplot.do
http://fmwww.bc.edu/repec/bocode/r/run_fgcifplot_validation.do
http://fmwww.bc.edu/repec/bocode/s/stress_fgcifplot.do
http://fmwww.bc.edu/repec/bocode/t/test_fgcifplot.do
http://fmwww.bc.edu/repec/bocode/t/test_fgcifplot_edgecases.do
http://fmwww.bc.edu/repec/bocode/t/test_fgcifplot_knowntruth.do

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459894

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2026-10-07
Handle: RePEc:boc:bocode:s459894