3/24/2024 0 Comments Using stata 12We can also clear memory as we load in another dataset using the clear option on one of the data-loading commands (see below)ī) Use import delimited to read in delimited data from other sourcesī1. Before another dataset can be loaded, we must erase all data from memory using the clear command. In Stata, we can only have one dataset loaded in memory at a time. No dataset can be loaded while another dataset is in memory We use the cd command to change directories and then dir or ls to list the contents of the directory.Ĭd w: /* note: directory and path may differ on your computer */Ī2. We can read/write to a directory different from the working directory by specifying a full path name when reading/writing files. We start by changing the working directory, which is the default directory (folder) from which Stata will read files and to which Stata will write files. Store the dataset currently in memory on disk inĬlear the entire dataset and everything elseĢ.0 Demonstration and explanation A) Preparing the workspace Read ASCII (text) data created by a spreadsheetĭescribe contents of data in memory or on disk
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |