Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: RE: Problem with "insheet using" command

From   "Nick Cox" <>
To   <>
Subject   st: RE: Problem with "insheet using" command
Date   Fri, 11 Jun 2010 17:52:47 +0100

FAQ     . . . . . . . . . . . . . . . . . .  Numeric variables input as
        2/02    Stata is reading in my variables as string, whereas
                they should be numeric. What should I do?


Jason Hecht

I used the following command to import data from an Excel spreadsheet:

insheet using "c:\my documents\y98.csv", comma

However, when I use the describe command to check my summary
statistics I get "O" for the number of observations.  My guess is that
all my data is being read in as strings (the spreadsheet has columns
with numbers and and columns with letters).

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index