Methodological background

Author

Vagish Hemmige

This page explains, in general terms and without code, the data and methods a study like this one rests on: what the United States Renal Data System and Medicare claims are, how claims become costs, how comparison patients are chosen, and why cost data need particular models. What this study chose, and how its code stands against its plan, is on Study design and methods.

The United States Renal Data System

The United States Renal Data System (USRDS) is a national data system on chronic kidney disease and kidney failure in the United States, funded by the National Institute of Diabetes and Digestive and Kidney Diseases. It links three kinds of record under one patient identifier1:

  • registry records for people with kidney failure, including dates of dialysis, transplant and death;
  • transplant records from the Organ Procurement and Transplantation Network (OPTN), for kidney and kidney–pancreas recipients;
  • Medicare enrollment and claims.

Medicare claims

A claim is a bill submitted to Medicare for a service. There are two kinds1:

  • Institutional claims are bills from facilities: hospital inpatient stays, hospital outpatient care, skilled nursing facilities, home health agencies, hospices and dialysis facilities. Each claim covers one stay or episode, with dates from its first to its last day of service.
  • Physician/supplier claims are bills from clinicians, laboratories and suppliers. Each line of a claim is one service.

Medicare as primary payer

Medicare claims give a complete picture of a person’s care only when traditional (fee-for-service) Medicare pays first. When a Medicare Advantage plan or an employer’s insurance pays first, many services never appear in the Medicare claims, so the USRDS recommends building claims-based cohorts from periods when Medicare is the primary payer1.

For a month outside a period of fee-for-service primary coverage, the Medicare claims are incomplete: care may have been billed to someone else. Such a month cannot be treated as a month with no cost.

Many kidney transplant recipients lose Medicare coverage over time: Medicare entitlement based only on kidney failure ends with the 36th month after the month of transplant2, unless the person qualifies another way (for example by age or disability).

Finding a diagnosis in claims

A claim shows that a clinician recorded a diagnosis for billing. It does not show that the diagnosis was confirmed, and codes are sometimes recorded while a diagnosis is being ruled out. Diagnoses identified from claims are therefore sometimes wrong3. For invasive aspergillosis in stem cell and solid organ transplant recipients, for example, the positive predictive value of single ICD-9 codes against medical-record review was 15% for one code and 71% for another4. We found no comparable validation study of cryptococcosis codes.

Risk-set matching

In risk-set matching (also called incidence density sampling), each case is compared with people drawn from its risk set5: everyone who, at the point the case is diagnosed on the study’s time scale (for example, time since transplant), is still eligible and has not been diagnosed. That point is the case’s time zero, the date from which outcomes are counted, and controls are given the same time zero.

Because controls are chosen using only what was known at time zero, a person who is diagnosed later can serve as a control before their own diagnosis. Their time before diagnosis is unexposed time, and excluding them would condition on the future and bias the comparison6.

Ways of matching

Two common ways to choose controls within a risk set are:

  • Direct covariate matching: matching on the characteristics themselves, for example exactly on some and within set limits on others.
  • Propensity score matching: a model estimates each person’s probability of being diagnosed from their characteristics, and each case is matched to controls with a similar score7. When the probability is estimated over time, the score is time-varying8.

A common check of whether cases and controls are similar after matching is the standardized mean difference of each characteristic9.

Payments, not charges

Charges, which are the prices providers list on their bills, are much higher than what is paid, and they are a poor measure of cost10.

Outpatient, home health and hospice claims also list payments for each revenue center (each department or type of service on the bill). These describe the same services as the claim’s payment, so the two should not be added together1.

Spreading a stay across days

An institutional claim that covers several days can be spread evenly across them; this study does so. For example, a 10-day hospital stay with a Medicare payment of $20,000 counts as $2,000 per day. If the stay runs from 2 days before time zero to 7 days after it, $4,000 falls before time zero and $16,000 after it.

Missing versus zero cost

  • A month in which the person is covered but has no claims has a cost of zero: had they needed care, Medicare would have paid for it.
  • A month in which the person is not covered is not observed, and is left out rather than recorded as zero, because its claims are incomplete1.
  • A month that is only partly observed, because follow-up ended partway through, is kept. The number of days observed is recorded, so the analysis can account for it.

Death and what is estimated

How death is handled defines what is being estimated. If death ends follow-up, the estimate describes the cost of care while people are alive. If the months after death count as zero cost, the estimate also reflects the cost consequences of mortality. How death and incomplete follow-up are handled is a central issue in estimating costs over a period of illness11.

Why cost data are hard to model

Monthly cost data have three awkward features12:

  • many months have no cost at all;
  • a few months, usually those with a hospital stay, cost a great deal;
  • the distribution is therefore strongly skewed to the right.

The quantity of interest is the mean cost, because the total spent equals the mean times the number of patients. Transforming costs to a log scale makes them easier to model but estimates something else (roughly a geometric mean), and converting back to dollars needs extra steps that can be biased13,14. Models that describe the mean directly avoid this15.

Models for costs

A generalized linear model for monthly cost can include:

  • a log link, so that the model describes the logarithm of the mean cost rather than the mean of logged costs;
  • a Tweedie distribution, which allows exact zeros and a long right tail in the same model16;
  • the logarithm of the number of days observed as an offset, so that a partly observed month counts in proportion to its length.

Months from the same person, and people in the same matched set, are not independent. Generalized estimating equations give standard errors that allow for this17, clustered on the matched set, and also on the patient if one person can appear in more than one matched set. A cluster bootstrap gives a confidence interval by resampling whole matched sets with replacement and repeating the whole calculation each time18.

Earlier USRDS studies of cost after an event

Other studies have estimated excess Medicare payments after an event in kidney transplant recipients using USRDS data, each with a different design:

  • pneumonia, sepsis and urinary tract infection in the first year after transplant, as marginal first-year costs19;
  • post-transplant lymphoproliferative disease, as costs per patient-year, with Medicare eligibility limited to three years after transplant for most recipients20;
  • dementia, compared with propensity-matched recipients at the equivalent time after transplant, as monthly and cumulative costs21.

This study’s design and how it differs are described under Study design and methods.

References

1.
United States Renal Data System. 2025 Researcher’s Guide to the USRDS Database. National Institutes of Health, National Institute of Diabetes and Digestive and Kidney Diseases; 2025. https://www.niddk.nih.gov/-/media/Files/USRDS/For-Researchers/2025/USRDS_Researcher_Guide_2025.pdf
2.
Social Security Administration. Social security act, section 226A: Special provisions relating to coverage under medicare program for end stage renal disease. Accessed November 3, 2026. https://www.ssa.gov/OP_Home/ssact/title02/0226A.htm
3.
Schneeweiss S, Avorn J. A review of uses of health care utilization databases for epidemiologic research on therapeutics. J Clin Epidemiol. 2005;58(4):323-337. doi:10.1016/j.jclinepi.2004.10.012
4.
Chang DC, Burwell LA, Lyon GM, et al. Comparison of the use of administrative data and an active system for surveillance of invasive aspergillosis. Infect Control Hosp Epidemiol. 2008;29(1):25-30. doi:10.1086/524324
5.
Richardson DB. An incidence density sampling program for nested case-control analyses. Occup Environ Med. 2004;61(12):e59. doi:10.1136/oem.2004.014472
6.
Lubin JH, Gail MH. Biased selection of controls for case-control analyses of cohort studies. Biometrics. 1984;40(1):63-75.
7.
Austin PC. An introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivariate Behav Res. 2011;46(3):399-424. doi:10.1080/00273171.2011.568786
8.
Lu B. Propensity score matching with time-dependent covariates. Biometrics. 2005;61(3):721-728. doi:10.1111/j.1541-0420.2005.00356.x
9.
Austin PC. Balance diagnostics for comparing the distribution of baseline covariates between treatment groups in propensity-score matched samples. Stat Med. 2009;28(25):3083-3107. doi:10.1002/sim.3697
10.
Finkler SA. The distinction between cost and charges. Ann Intern Med. 1982;96(1):102-109. doi:10.7326/0003-4819-96-1-102
11.
Basu A, Manning WG. Estimating lifetime or episode-of-illness costs under censoring. Health Econ. 2010;19(9):1010-1028. doi:10.1002/hec.1640
12.
Mihaylova B, Briggs A, O’Hagan A, Thompson SG. Review of statistical methods for analysing healthcare resources and costs. Health Econ. 2011;20(8):897-916. doi:10.1002/hec.1653
13.
Duan N. Smearing estimate: A nonparametric retransformation method. J Am Stat Assoc. 1983;78(383):605-610. doi:10.1080/01621459.1983.10478017
14.
Manning WG. The logged dependent variable, heteroscedasticity, and the retransformation problem. J Health Econ. 1998;17(3):283-295. doi:10.1016/s0167-6296(98)00025-3
15.
Manning WG, Mullahy J. Estimating log models: To transform or not to transform? J Health Econ. 2001;20(4):461-494. doi:10.1016/s0167-6296(01)00086-8
16.
Kurz CF. Tweedie distributions for fitting semicontinuous health care utilization cost data. BMC Med Res Methodol. 2017;17(1):171. doi:10.1186/s12874-017-0445-y
17.
Liang KY, Zeger SL. Longitudinal data analysis using generalized linear models. Biometrika. 1986;73(1):13-22. doi:10.1093/biomet/73.1.13
18.
Austin PC, Small DS. The use of bootstrapping when using propensity-score matching without replacement: A simulation study. Stat Med. 2014;33(24):4306-4319. doi:10.1002/sim.6276
19.
Naik AS, Dharnidharka VR, Schnitzler MA, et al. Clinical and economic consequences of first-year urinary tract infections, sepsis, and pneumonia in contemporary kidney transplantation practice. Transpl Int. 2016;29(2):241-252. doi:10.1111/tri.12711
20.
Hart A, Ahn YS, Watson C, et al. Cost burden of post-transplant lymphoproliferative disease following kidney transplants in Medicare-eligible patients by survival status. J Med Econ. 2021;24(1):620-627. doi:10.1080/13696998.2021.1915793
21.
Lentine KL, Swee ML, Cheungpasitporn W, et al. Economic impact of dementia after kidney transplantation: A matched cohort analysis. Clin Transplant. 2025;39(6):e70189. doi:10.1111/ctr.70189