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).
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
Gutman Library, room 323a&b