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

st: problems with dictionary


From   "Dimitriy V. Masterov" <[email protected]>
To   [email protected]
Subject   st: problems with dictionary
Date   Tue, 13 May 2003 17:31:31 -0500 (CDT)

Dear Statalist,

I am having a problem infiling an id variable using a dictionary that was
created by the data extraction software for the ECLS. My dictionary file
that is called by the do file is given below. All of the variables are
read in correctly, except CHILDID, which has no observations. This is the
only string variable in the dataset. I have no idea what the problem might
be.

***************************************************
dictionary using "C:/Meat_Stuff/DATA/child.dat"   {
  _lines(3)
  _column(1)  str8     CHILDID      %8s     "CHILD IDENTIFICATION NUMBER"
  _column(17)  long     F1CLASS   %1f      "F1 CHILD PROGRAM TYPE FROM FMS("
  _column(18)  long     F2CLASS   %2f      "F2 CHILD PROGRAM TYPE FROM FMS("
  _column(56)  long     GENDER   %2f      "CHILD COMPOSITE GENDER"
  _column(58)  long     RACE   %2f      "CHILD COMPOSITE RACE"
  _column(60)  double     R1_KAGE   %5.2f   "R1 COMPOSITE CHILD ASSESSMENT A"
  _column(832)  long     P1FIRKDG   %2f      "P1 FIRST-TIME KINDERGARTENER"
  _column(958)  long     WKSESQ5   %1f      "WK CATEGORICAL SES MEASURE"
  _column(1025)  long     S2KPUPRI   %2f      "S2 PUBLIC OR PRIVATE SCHOOL"
}

*************************************************************************

Thank you in advance.

DVM

*
*   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