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

st: RE: RE: reading in unzipped stata.dta file


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: reading in unzipped stata.dta file
Date   Tue, 22 Oct 2002 09:19:59 +0100

Theresa J Gromala
> 
> Nick,
> 
> I read your statalist responses daily and appreciate your 
> suggestions.
> 
> I'm trying to open the attached files(e.g. 
> one,two.three.dta), which were
> extracted from a zipped file.  I'm so frustrated...anything 
> I try doesn't
> seem to work.  If you have time, I'd appreciate your 
> guidance in opening
> these files. I must being doing something very basic...  
> I've tried moving
> them to different directories etc.  
> 

Some confusion here between Statalist and an unspecified "Nick" 
(Nick Winter?). 

More seriously, 

1. Please do not send attachments to the list. 
This lot got through, but the reasons for saying that 
are rehearsed in the Statalist FAQ. 

2. I looked at these files and they seem to read 
fine into Stata if you use the command -use- 
e.g. 

. use "best bands ever.dta" 

after which I can  

. l

         drug  systolic        name        sex  instrument
  1.        1        42      Garcia          M      guitar
  2.        1        44        Hart          M  percussion
  3.        1        36        Weir          M      guitar
  4.        1        13      Hunter          M      vocals
  5.        1        19        Lesh          M        bass
  6.        1        22  Kreutzmann          M  percussion
  7.        1        33      Pigpen          M      congas
  8.        1        26    Godchaux          F      vocals
  9.        1        33     Mydland          M       organ
 10.        1        21     Hornsby          M       organ

With a larger data set, 

. anova systolic sex instrument

could lead to an innovative, interdisciplinary project on 
blood pressure, gender and music. 

Nicholas J. Cox 
n.j.cox@durham.ac.uk 
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index