Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Infixing CPS Files in .asc form


From   John Gibney <[email protected]>
To   [email protected]
Subject   st: Infixing CPS Files in .asc form
Date   Sun, 1 Feb 2004 11:43:48 -0800 (PST)

Dear Stata Users:

I'm trying to infix Census data that I have downloaded
in an ASC file (.asc).  I have created a dictionary
(.dct) with which to infix the files.  Stata returns
the dictionary as invalid.

The do file looks like the following:
set more off
set memory 500m
log using food2001, replace
infix using C:\FSP\2001cpscode.dct
sum
save ex00, replace
drop _all

The dictionary looks like the following:
infix dictionary using c:\fsp\2001cps.asc
{

HRHHID    1-15 
OCCURNUM  17-24
PWSUPWGT  26-35 
HHSUPWGT  37-46 
HESP1     48-57 
HESP2M    59-68
and so on....  followed by }
(the numbers are taken from the lay file produced by
Census when downloading Data)

Any suggestions as to why this won't work.

Thanks,
John

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index