To get Excel data into …
To get Excel data into Stata use the command "infile". It is convenient to first save the Excel sheet in a text file, with variable names in the first row as in Excel. Then replace decimal delimiting commas by periods, if needed. With my textfile in D:\data.txt, the Stata command "insheet using D:\data.txt" works.
Published Oct. 21, 2009 3:44 PM
- Last modified Nov. 25, 2009 11:42 AM