Skip Navigation

NIS Database Documentation - Corrections
The NIS is a set of longitudinal hospital inpatient databases included in the HCUP family. These databases are created by AHRQ through a Federal-State-Industry partnership.
 
Corrections to the Nationwide Inpatient Sample 1988-1992

Please refer to the information below for corrections to the NIS data set. In some cases, there is a downloadable document that either provides more information or provides a program to correct the problem.

Contents:
 
Correction to SPSS Load Programs

Included on the Documentation CD for NIS, Release 1, 1988-1992, are programs to load the ASCII data files into SPSS. These programs have an error in the SPSS code and need the following corrections.

Three changes must be made to the 1988-1992 SPSS syntax files (LOADIP.ASC and LOADWT.ASC) in the SPSS Syntax Editor prior to loading them. Once changed, the two programs correctly load the 1988-1992 NIS data into SPSS.
  1. Change the programs' extensions from LOADIP.ASC and LOADWT.ASC to LOADIP.SPS and LOADWT.SPS.
  2. Perform a Find and Replace in the SPSS Syntax editor, change all occurrences of "$SYSMIS" to "SYSMIS".
  3. Replace the initial command line in each program from
    DATA LIST FILE "** file name**" FIXED /
    To
    DATA LIST FILE=´Drive:\Path\Directory\Filename.ASC´ FIXED /

To save time, you may add the following command line to save the data file at the end of the load programs (right after the recodes.) Saving the data file by doing a (File, Save As) after creating the file doubles the time it takes to create the file.

SAVE OUTFILE=´Drive:\Path\Directory\Filename.SAV´ /COMPRESSED.
Beginning with the NIS, Release 2, 1993, the SPSS load programs provided on the Documentation CD are correct.
Return to Contents
 
Return to Contents
 

Internet Citation: HCUP NIS Database Documentation - Corrections. Healthcare Cost and Utilization Project (HCUP). May 2015. Agency for Healthcare Research and Quality, Rockville, MD. www.hcup-us.ahrq.gov/db/nation/nis/corrections_1988_1992.jsp.
Are you having problems viewing or printing pages on this Website?
If you have comments, suggestions, and/or questions, please contact hcup@ahrq.gov.
Privacy Notice, Viewers & Players
Last modified 5/8/15