What is the Save command in Stata?
- How do you save in Stata?
- How do you save Stata commands in do file?
- What is preserve command in Stata?
- Where do Stata files save to?
How do you save in Stata?
select File > Save; 2. click on the Save button; or 3. type save, replace in the Command window. Once you overwrite a dataset, there is no way to recover your original dataset.
How do you save Stata commands in do file?
Navigate to the folder where you want to save your do file and enter the file name. Then click Save. (The name of the do file above is “Analysis1.do”.) You can reload it at another time if you want to alter or extend the analysis begun here.
What is preserve command in Stata?
When preserve is issued, the user's data are preserved. The data in memory remain unchanged. When the program or do-file concludes, the user's data are automatically restored. After a preserve, the programmer can also instruct Stata to restore the data now with the restore command.
Where do Stata files save to?
dta is used. If your filename contains embedded spaces, remember to enclose it in double quotes. saveold saves the dataset currently in memory on disk under the name filename in Stata 12 format. Stata 11 can also read Stata 12 datasets.
Related Questions
-
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago