电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

stata讲义(初级中级)VIP免费

stata讲义(初级中级)_第1页
1/94
stata讲义(初级中级)_第2页
2/94
stata讲义(初级中级)_第3页
3/94
初 级 部 分 Lecture 1 Using directories to organize your work You can find out what directory you're in by typing . pwd F:\StataStuff To find where the "official Stata directory" is, type: . sysdir STATA: C:\Stata8\ UPDATES: C:\Stata8\ado\updates\ BASE: C:\Stata8\ado\base\ SITE: C:\Stata8\ado\site\ PLUS: c:\ado\plus\ PERSONAL: c:\ado\personal\ OLDPLACE: c:\ado\ You don't want to use Stata from the official Stata directory or any subdirectory of it because the Stata directory is only for official Stata software. So if you got the same output from .pwd and .sysdir, you will need to change directories: You can use Stata's mkdir command to create directories, or you can do it outside of Stata using any method allowed by your operating system. If you wanted to make a dirctory on the F drive using Stata, type: . cd F:\ F:\ . mkdir StataStuff2 . cd StataStuff2 F:\StataStuff2 Stata can understand blanks in filenames as long as the whole name is in double quotes. For example if you wanted to name the file Stata Stuff 2, you should have typed: . cd F:\ F:\ . mkdir “Stata Stuff 2” . cd “Stata Stuff 2” F:\Stata Stuff 2 To now go to the directory where we saved the datasets, type: . cd F:\StataStuff F:\StataStuff Dealing w ith files You probably know how to see the contents of a directory, erase files in a directory, copy files from one place to another, and examine the contents of a file using your operating system. You can do this from Stata, too, and sometimes this is convenient. Type: . dir to list the contents of the current directory. Type . dir *.dta to list the files, if any, that have the suffix ".dta" which indicates a Stata file. If the file myfile.xyz is in the current...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

stata讲义(初级中级)

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部