Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Creating single values from a nested data file


From   Marcello Pagano <[email protected]>
To   [email protected]
Subject   st: Creating single values from a nested data file
Date   Wed, 16 Dec 2009 09:03:49 -0500

For Russell:

*From:* Russel Wildeman [mailto:[email protected]]
*Sent:* 15 December 2009 07:36 PM
*To:* '[email protected]'
*Subject:* Creating single values from a nested data file

Dear Listers,

I am new to Stata and have the following question.

I have education survey data where the data are ordered by school and student and more pertinently the variable “school.” The data are ordered by the variable “school” and would give 0 0 0 0 1 1 1 1 etc. I have created appropriate school-level variables but the problem is that the values of the school-level variables are repeated for the same school, whereas I want only one record per school for some of the school-level variables. I tried various merging file schemes but none work. Any help is highly appreciated

Thanks

Russell
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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