Getting Started with Stata. 2/11/2010 Tom Tomberlin Nealia Khan Learning Technologies Center Harvard Graduate School of Education. Agenda. Overview of Stata Getting Started ‘Do’ files Basic data cleaning Basic data management Beginning analysis Special topics (time permitting).
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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Learning Technologies Center
Harvard Graduate School of Education
Why use Stata?
What are do-files?
‘Do’ files are essentially a syntax list of all of the commands that you wish to run, and the setting that you would like to set
(HINT: you must clear the data in memory before opening a new dataset.)
must sort both files by the linkage variable!
ex: merge linkage_var using “F:\workshops\newfile”
regress depvar indepvar1 indepvar2 … indepvarN
Generate two scaterplots – one to look at the relationship between expense and csat , one to look at expense and hi_score.
Depending on your estimation of the relationship (linear or not), run the appropriate regression to test for the relative effect of expense on either csat scores or hi_scores