Skip Navigation Archive: U.S. Department of Health and Human Services U.S. Department of Health and Human Services
Archive: Agency for Healthcare Research Quality www.ahrq.gov
Archival print banner

This information is for reference purposes only. It was current when produced and may now be outdated. Archive material is no longer maintained, and some links may not work. Persons with disabilities having difficulty accessing this information should contact us at: https://info.ahrq.gov. Let us know the nature of the problem, the Web address of what you want, and your contact information.

Please go to www.ahrq.gov for current information.

Comparative Analysis of HCUP and NHDS Inpatient Discharge Data: Appendix

Appendix

Estimates of Standard Error for NHDS Statistics

A variety of statistics were estimated based on these data: 1) total number of discharges, 2) in-hospital mortality, and 3) average length of stay (calculated as the difference between discharge and admission dates). The standard errors were calculated as follows.

Total Numbers of Discharges

From the NHDS documentation, constants a and b were obtained for 1995. The standard error for the estimate of total discharges is:

SE TD = (a W TD2 + bW TD) 1/2

where WTD is the weighted sum of total discharges (i.e., the estimate of total discharges).

This estimate of standard error is valid only if:

(1) estimated total discharges exceeds 366,657 or
(2) estimated total discharges exceeds 60,769 and estimated total days exceeds 283,338.

Percent Mortality

Let P be the estimated proportion of in-hospital deaths. The standard error of this proportion expressed as a percent is:

SE sub P equals 100 [c P (1 - P)/W] 1/2.

Where the constant c is given by NHDS documentation. This estimate of the standard error is valid only if:

(1) estimated total discharges exceeds 366,657 and the estimated number of deaths exceeds zero, or
(2) both estimated total discharges and estimated total deaths exceed 60,769.

Average Length of Stay

Let ALOS be the estimated average length of stay based on a weighted number of discharges equal to TD. If the weighted sum of patient length of stay is TLOS, and

ALOS = TLOS  
        TD      

then the estimated standard error is:

SE sub ALOS = ALOS [(a sub 1 plus b sub 1/TD) plus (a sub 2 plus b sub 2/TLOS)] 1/2.

Constants a1, a2, b1, and b2 were obtained from the NHDS documentation concerning standard error calculations for average length of stay.

Tests of Statistical Significance

To test for a statistically significant difference between an NIS estimate, X, and an NHDS estimate, Y, the following procedure was used. The difference is significant if

SE sub ALOS = ALOS [(a sub 1 plus b sub 1/TD) plus (a sub 2 plus b sub 2/TLOS)] 1/2.

where SEX is the estimated standard error for the NIS estimate and SEY is the estimated standard error of the NHDS estimate. S is equal to 1.96 for significance at the .05 level and S is equal to 2.576 for significance at the .01 level.

If a valid estimate of either standard error, SEX or SEY, could not be obtained, then a significance test was not performed.

Return to Document

Page last reviewed December 2012
Page originally created December 2012
Internet Citation: Comparative Analysis of HCUP and NHDS Inpatient Discharge Data: Appendix. Content last reviewed December 2012. Agency for Healthcare Research and Quality, Rockville, MD. https://archive.ahrq.gov/research/data/hcup/nhds/compapp.html

The information on this page is archived and provided for reference purposes only.

 

AHRQ Advancing Excellence in Health Care