Hi. I am new to this list and fairly new to STATA.
I am working on a software project for the US Dept of Education in which
we dynamically generate SAS, SPSS, and STATA syntax for use with the
national IPEDS datasets. This involves variables for CIP Codes or
Classification of Instructional Program (CIP) codes that document the
hundreds of disciplines taught in higher education for enrollment and
degree data. CIP Codes are somewhat comparable to diagnostic and
procedure codes in health care with the ICD9 or 10 and involve a string
with 7 characters such as 11.1111 or 01.1110
As you know, STATA does not like the period within the CIP Code value
label, much as it does not like the period within ICD9 codes. However,
there is no utility within STATA like for iCD9.
I have read past threads and searched the FAQs and manuals. I tried
splitting this alpha string variable into parts, but the value label
must be kept intact for software users to view, displaying examples such
as 11.1111 or 01.1110 when doing tabulate/etc. I tried treating the CIP
Code as a numeric variable, but this drops leading and trailing zeros
which is unacceptable.
Can I somehow use ICD9 utility for this purpose? If so, how?
Can I use reshape? If so, how? I am not sure if the period in the CIP
Code can be treated as a stub.
I need to know this quickly as we are past deadline on bringing this
free software tool online.
Thanks for any and all help you may have with this problem.
John
John Milam, Ph.D.
Managing Director
HigherEd.org, Inc.
9 West Piccadilly St.
Winchester, VA 22601
(540) 722-6060 (voice)
(540) 722-6163 (fax)
[email protected]
http://highered.org
*
* 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/