•菜单方式,其指令在File菜单中 •工具栏的图标 •输入命令:•.logusing"[文件路径和名称]"• ① ② •①:创立记录文件的根本命令参数 .logusing"E:\stata\Chapter3.smcl"log:E:\stata\Chapter3.smcl logtype:smcl openedon:13Feb2007,09:27:14Chapter3是log文件名;smcl〔StataMarkupandControl...
创建新的log文件或打开现存log文件 •三种方式:–菜单方式,其指令在File菜单中 –工具栏的图标 –输入命令:.logusing"[文件路径和名称]"① ② ①:创建记录文件的基本命令参数 ②:纪录文件的路径和名称,需要置于括号内 .logusing"E:\stata\Chapter3.smcl"log:E:\stata\Chapter3.smcl logtype:smcl opened...
604. log file already open You attempted to open a log file when one is already open. Perhaps you forgot that you have the file open or forgot to close it. 606. no log file open You have attempted to close, turn on, or turn off logging when no log file was open. Perhaps you ...
Stata 日志文件操作指南说明书
该格式文件只能在 Stata 中用use 命令打开: used:\mydata\ex1 如目标盘及子目录中已有相同文件名的文件存在,则该命令将给出如下信息: file mydata\ex1.dtaalready exists,告诉用户在该目标盘及子目录中已 有相同的文件名存在。如欲覆盖已有文件,则加选择项replace。命令及结果如 saved:\mydata\ex1 replace...
log closeend myjob3.doWe chose to open with log using myjob3, replace, the important part being the replace option. Had we omitted the option, we could not easily rerun our do-file. If myjob3.smcl had already existed and log was not told that it is okay to replace the file,...
mydata\ex1.dta already exists,告诉用户在该目标盘及子目录中已有相同的文件名存在。如欲覆盖已有文件,则加选择项replace。命令及结果如下: . save d:\mydata\ex1 , replace file d:\temp\ex1.dta saved 这样,Stata在d:盘的mydata子目录中建立了一个名为“ex1.dta”的Stata格式数据文件,并替换了原有文...
use d:mydataex1如目标盘及子目录中已有相同文件名的文件存在,则该命令将给出如下信息:file d: mydataex1.dta already exists,告诉用户在该目标盘及子目录中已有相同的文件名存在。如欲覆盖已有文件,则加选择项replace。命令及结果如下:. save d:mydataex1 , replacefile d:tempex1.dta saved这样,Stata在d:...
use d:\mydata\ex1 如目标盘及子目录中已有相同文件名的文件存在,则该命令将给出如下信息:file d:\ mydata\ex1.dta already exists,告诉用户在该目标盘及子目录中已有相同的文件名存在。如欲覆盖已有文件,则加选择 项replace。命令及结果如下: . save d:\mydata\ex1 , replace 4 file d:\temp\ex1....
Stata screen and general description First steps: Setting the working directory (pwdand cd….) Log file (logusing…) Memory allocation (setmem…) Do‐files (doedit) Opening/saving a Stata datafile Quick way of finding variables Subsetting (using conditional “if”) Stata color coding system Fr...