Getting Start with STATA Dos Basic jpg gif
Getting Start with STATA Dos Basic
. jpg 或. gif 圖形照片檔 . pdf Acrobat reader檔 . zip Winzip壓縮檔 . xls EXCEL 檔
. doc WORD文件檔 . exe 程式執行檔 . txt ASCII文字檔 . ppt POWERPOINT 檔
Stata常用的檔案類型 l 資料檔(data file): 附檔名. dta l l 程式檔(do file): 附檔名. do l l 如 census. dta 如 census. do 結果檔(output file):. log l 如census. log 觀 念
完整存取路徑的寫法: E: airlineattentionanalysis. xls
儘量不要將檔案至於 桌面及我的文件夾 桌面的路徑 C: Documents and Settingskhsu 登入電腦時的 user name 我的文件的路徑 C: Documents and SettingskhsuMy Documents
啟動Stata 點選Stata的 icon來啟動
DOS basic l cd +路徑名稱 l l l cd. . l l 回上一層 cd. l l change directory 改變資料夾位置至路徑名稱所指定處 EX)cd c: /temp EX) cd e: 顯示目前路徑 mkdir l Make directory (製作資料夾)
Dos Basic l copy filename 1 filename 2 l Copy file from disk or URL Filename 1 可以是URL位址 EX) copy orig. dta newcopy. dta EX) copy “my document” “copy of document“檔案 名稱若有空格,必需加雙引號 EX) copy. . mydirdoc. txt documentdoc. tex l EX) copy http: //www. stata. com/simple. dta l l
---more--l Press Enter or Return l l Press any other key l l 按一次往下一行 The next screen of text is displayed Press Ctrl-Break l Stata stops processing the command ASAP
- Slides: 51