Status:Closed    Asked:Nov 14, 2014 - 01:35 PM

After i unzipped an extract file, the resulting file did not have a file extension, including .dat. ideas?

I successfully got an extract into STATA to produce a dataset, but the var frequencies were not what I expected. I went back through my steps and found that I had not unzipped the extract; when I went back to do this the unzipped file had no extension. It runs the command file on this .raw file, but still the freqs don't seem right. Please let me know if you think the no file extension piece is what's at play here. If not, is there someplace on IPUMS site with freqs or sample sizes for each of the samples so I can compare. Thanks.

Do you have the same question? Follow this Question

Staff Answer




I am unsure what would have caused your unzipped file to not have an extension. You can check the Codes tab (select "Case-count view") for almost any variable to see a frequency by sample. If your counts are not matching the IPUMS website, then you should resubmit your data extract, download it, and unzip the file.

Since the STATA command file should not have run on an unzipped extract, I would also recommend checking that your working directory in STATA matches the location of your STATA command file and .dat file. It could be the case that you were inadvertently running a different version of the data file. This would explain the unexpected frequencies. Similarly, double-check that you are using the STATA command file that matches the name of your data extract.

I hope this helps.


Nov 17, 2014 - 01:14 PM

Report it


Wrong HH weight Tanzania 2012 census?
Assign Individuals to PUMAS, append dataset
Regarding: Does CLASSWKR in ASEC before 1988 include incorporated and non-inc...
Does using the INCLUGH variable over time requires correcting for the VERIFY=...
Does CLASSWKR in ASEC regarding self-employment (code 10) include incorporate...
I am trying to cross age, urban, and race. Which weight am I supposed to use?
Login   |   Register

Recently Active Members

View More »

Share |