Statalist


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

Re: st: STATA help needed urgently


From   Neil Shephard <nshephard@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: STATA help needed urgently
Date   Fri, 9 Oct 2009 12:52:44 +0100

On Fri, Oct 9, 2009 at 1:31 AM, Julia Korosteleva
<j.korosteleva@ucl.ac.uk> wrote:
> Greetings,
>
> I have trouble with importing data with .CSV format into STATA. I've done
> this already twice, by importing it directly into STATA and by using Stata
> transfer. Once I run summary statistics of imported data the output shows
> 0 obs for each single imported variables with exception of year. Could you
> please explain what I am doing wrong.

Its probably because you are reading all of your variables, bar year,
in as strings.

However, you would do well to read the Statalist FAQ
(http://www.stata.com/support/statalist/faq) and providing a short
example of your data (top couple of lines) along with the commands you
are using in Stata and the output they produce as this is the level of
detail required to provide more insightful answers/solutions.

Oh yes, whilst this may be URGENT for you I very much doubt it is for
anyone else, so there's really no need for the qualifier.

Neil



-- 
"The combination of some data and an aching desire for an answer does
not ensure that a reasonable answer can be extracted from a given body
of data." ~ John Tukey (1986), "Sunset salvo". The American
Statistician 40(1).

Email - nshephard@gmail.com
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index