1 / 88

Data Management

Data Management. 連賢明 政大財政. 統計軟體. 一般通用 STATA SAS 個體計量 LIMDEP 高階軟體 MATLAB GAUSS. 2. STATA 優點. 容易上手 執行速度快 軟體可永久性使用 網站建構相當完整 http://www.stata.com/ http://www.ats.ucla.edu/stat/stata / 電腦記憶體要多. 3. Stat/Transfer. 將其他檔案格式轉為 STATA 資料檔 Stat/Transfer 可支援的檔案類型 Excel Limdep SAS

hames
Download Presentation

Data Management

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data Management 連賢明 政大財政

  2. 統計軟體 一般通用 STATA SAS 個體計量 LIMDEP 高階軟體 MATLAB GAUSS 2

  3. STATA優點 容易上手 執行速度快 軟體可永久性使用 網站建構相當完整 http://www.stata.com/ http://www.ats.ucla.edu/stat/stata/ 電腦記憶體要多 3

  4. Stat/Transfer 將其他檔案格式轉為STATA資料檔 Stat/Transfer可支援的檔案類型 Excel Limdep SAS SPSS Many others

  5. Stat/Transfer Input File Type : 選取原始資料的檔案類型 File Specification:輸入原始資料檔的路徑 Output File Type:選取欲轉換之檔案類型 File Specification:輸入轉換後資料檔欲儲存之路徑

  6. Stat/Transfer Variables 標籤下勾選需要的變數

  7. STATA 介面 The command window:撰寫程式 The result window :執行程式後之結果 The review window :顯示執行過的程式 The variable window :列出所有變數

  8. 1.1 Read the data • Read the ASCII file • infile • must provide the variable name, width, and format • Read the excel file • insheet • variable names need to be specified • Read the Stata file • use c:\regstata\elemapi • from the internet

  9. cd • dir • use • save

  10. 1.2 Describe the data • Describe the data • Data size • Observations • Variable name • Variable type (string, byte, float, etc)

  11. 直接按ok

  12. Variables • api00/academic performance of the school • acs_k3/the average class size in kindergarten through 3rd grade • meals/the percentage of students receiving free meals • full/the percentage of teachers who have full teaching credentials

  13. List • All observations • Some observations • Some variables

  14. 選取變數

  15. Notice the missing values of meals. 

  16. Codebook • Number of values • Missing values • Distribution of values

  17. 選取變數後按ok

  18. summarize • Provide concise information about variables • Observations • Basic statistics (mean, s.d., min, max) • Option: details

  19. 選取變數後按ok

  20. 1.3 Tab the data • Tabulate • Tabulate the size of class size

  21. Look at the school and district number to check if they are from the same district

More Related