2[GSW] 5 Opening and saving Stata datasets To save a dataset that has been changed (overwriting the original data file), 1. select File > Save; 2. click on the Save button; or 3. type save, replace in the Command window. Stata's export delimited, by default, writes data into a file in comma-separated (.csv) format. Um ein do-File auszuführen gibt man den Befehl do “pfad/dateiname.do“ im Befehlsfenster ein.
Stata expects one matrix or table of data from one sheet, with at most one line of text at the start defining the contents of the columns. en in Stata sind ASCII-Dateien mit der Endung *.do. The use command gets a Stata data file from disk and places it in memory so you can analyze and/or modify it. A data file must be read into memory before you can analyze it. How to get information from Excel into Stata Stata can directly import data from Excel (both .xls and .xlsx) files. Das Editieren eines Stata-Programms ist mit jedem Texteditor oder direkt im do-File Editor von Stata möglich. Stata can record your session into a file called a log file but does not start a log automatically; you must tell Stata to record your session. Explore.
Stata's import delimited reads into memory a text-delimited file from disk. Once you overwrite a dataset, there is no way to recover your original dataset. Make inferences. 2. Obtain and manipulate data. It is kind of like when you open a Word document; you need to read a Word document into Word before you can work with it. Collect your results into reproducible reports. With important datasets, By default, the resulting log file contains what you type and what Stata produces in response, recorded in a format called Stata Markup and Control Language (SMCL); see[P] smcl. Visualize.
Die do-Files sollten so kon- Select File … Model. Stata is the solution for your data science needs.