Status:Closed    Asked:Mar 28, 2016 - 11:12 PM

IHIS injury extract created for 2010-2014. All cells besides identifier/weight vars are missing/empty. Help please

Hi all,

This is my first time using the IHIS data. I attempted to create an extract of most of the injury/poisoning variables for the years 2010-2014 and I get an extract that, when loaded in Stata, has all the standard identifier, weight, etc. variables (rectype, year, serial, strata, psu, nhishid, ..., pernum). But all variables of interest (e.g. rectypei, yeari, seriali, nhisiid, irinjnum, irpoisyn, ..., irbody1, irbody2, irpoison, etc. etc.) are missing/empty. Are there just several years with no observations? These variables I chose all had ticks in the 'select data' area.

Sorry if this is a dumb question. I am very confused by what I'm getting here.

Thanks very much.


Do you have the same question? Follow this Question

Staff Answer




Using your data extract #3, I was not able to replicate your issue of missing data. First, keep in mind that only injury record types (rectype=3) will have non-missing values for injury/poisoning variables. These record types comprise less than 2% of your data file. Second, make sure you are using the .do file that was created with the extract you are importing into Stata. If you use a command file generated with a different extract, then the data will not be read in correctly. This can result in missing or incorrect values.

Hope this helps.


Apr 04, 2016 - 04:44 PM

Report it


The highest one percent incwage earners are combined into the incwage"Top Cod...
To compute unemployment rates from Ipums-I, should I use perwt as pweights or...
Why is the income wage variable incwage-capped? and how is the cap determined...
USA IPUMS 1980 ancestry variable -- mapping to country names
Did the version of database change since 2011?
Are DATANUM, SERIAL, and PERNUM the same in single-year and 5-year ACS sample...
Login   |   Register

Share |