100 likes | 296 Views
Stata Workshop 1 Patrick Taylor, Room 1111, 1:40-2:30. Economics Department September 23, 2011. Future Workshops. Oct . 7 & 21 Nov . 4 (may need rescheduling) & 18 www.bus.lsu.edu/hill/computing.htm Please suggest topics of interest for possible inclusion. Exploring workspace.
E N D
Stata Workshop 1Patrick Taylor, Room 1111, 1:40-2:30 Economics Department September 23, 2011
Future Workshops • Oct. 7 & 21 • Nov. 4 (may need rescheduling) & 18 • www.bus.lsu.edu/hill/computing.htm • Please suggest topics of interest for possible inclusion
Exploring workspace • menu bar • command line • output window • review window • variables window • help, search • findit
Importing Data • Raw (ASCII) data file • infile • adding labels • save as stata dataset *.dta • Excel data (*.csv) • insheet • Using StatTransfer
Using a Stata data set • open using toolbar • log file • describe • list • summarize, tabstat, tabulate • working with variables • close log
Help • help viewer • help regress • findit mixed model • help menu examples
Using do-files • send review window to do-file • header for do-files • running do file • running lines in do-file • saving do-file
Graphs • Histogram • kdensity • name • Twoway graphs • easy • enhanced
Regression • regression command • post-estimation commands • predict varname • predict varname, resid • lincom • margins • tests for heteroskedasticity • robust covariance
Supplementary sources • www.principlesofeconometrics.com/poe4/usingstata.htm • www.principlesofeconometrics.com/poe4/poe4stata_do.htm • cameron.econ.ucdavis.edu/musbook/mus.html • www.ats.ucla.edu/stat/stata/ • www.stata.com/support/ • www.stata.com/statalist/ • www.stata.com/bookstore/ • www.stata.com/bookstore/sjdetails.html