ECPR

Install the app

Install this application on your home screen for quick and easy access when you’re on the go.

Just tap Share then “Add to Home Screen”

ECPR

Install the app

Install this application on your home screen for quick and easy access when you’re on the go.

Just tap Share then “Add to Home Screen”

Your subscription could not be saved. Please try again.
Your subscription to the ECPR Methods School offers and updates newsletter has been successful.

Discover ECPR's Latest Methods Course Offerings

We use Brevo as our email marketing platform. By clicking below to submit this form, you acknowledge that the information you provided will be transferred to Brevo for processing in accordance with their terms of use.

Introduction to STATA

Course Dates and Times

Friday 26 February: 13:00-15:00 and 15.30-17.00
Saturday 27 February: 09.30-11.30 and 12.30-14.30
7.5 hours over two days

Kerstin Hoenig

kerstin.hoenig@lifbi.de

The course is conceptualised as an add-on to content-based courses. The aim is to introduce how Stata works and how it can be used to conduct descriptive, bivariate and multivariate analyses, but the course does NOT give a detailed insight into statistical techniques or modelling. After attending this course, students will be able to use the basic commands of Stata, understand the basic logic “how Stata does things”, and can then proceed to use Stata for their own analyses. The course cannot cover all Stata commands and procedures. Instead, it will focus on the “frequently used methods”. However, as the basic logic is similar for all Stata commands, participants will be able to transfer the knowledge they gain to their specific project.


Instructor Bio

Kerstin Hoenig studied social sciences at Mannheim University, and Johns Hopkins University.

From 2008 to 2013, she worked as a researcher for the National Educational Panel Study at the University of Bamberg.

Since 2014, she has worked for the Leibniz Institute for Educational Trajectories, where she is currently heading the research unit ‘Educational Decisions and Social Inequality’.

In August 2016, she submitted her doctoral thesis on social capital and educational success.

Kerstin has been teaching Stata courses for graduate and postgraduate students since 2012.

This course is best suited for students who have no experience with Stata, but who bring in basic statistical skills, e.g. some knowledge of descriptive, bivariate and multivariate statistics. The aim is to give an idea of how Stata can be best used to conduct statistical analyses. Stata strongly relies on the command line interface. Thus, the course gives an insight to general construction of Stata code (syntax). The instructors also try to help students to write clear and parsimonious Stata commands and to improve do-files and do-file documentation. Essentially, students learn to use do-files as a simple lab-book, where annotations and ideas can be recorded in addition to the raw code and in order to facilitate replicable analyses. In detail, we will start off by introducing the software package Stata. What is it? What does the Stata interface look like? How does it work? We achieve this by giving an applied overview of the various screens and windows. We will learn the first simple commands by analysing an example dataset on on socio-cultural integration of recent immigrants in four European countries. Depending on the specific interests of the participants, the Saturday afternoon session will focus on variations of regression models. The session will cover the basics of regression models. Depending on the research interests of the participants, we can then move on to either logit models, interaction terms, an introduction to loops and macros, or longitudinal models.

  • Basic statistical knowledge is assumed (e.g. descriptive statistics, basics of regression analysis)
  • No previous knowledge of Stata is required
  • Please note that the course does not give a detailed insight into the statistical procedures, and the underlying mathematics, but introduces how to use standard statistical procedures in Stata
  • The course offers some guidance on how to structure the workflow in Stata and how to use some simple programming techniques (simple loops)
Day Topic Details
Friday Introduction: Stata windows, basics of syntax, a first look at a dataset, importing data
  • Why stata?
  • Organising the Stata screen
  • Basics of stata syntax
  • Basic commands: summarise, generate, replace, if, by, sort, corr
  • How to import data
  • Analysing a simple cross-sectional dataset (institutional and political variables)
Saturday morning Do- and log-files, graphics, basics of regression
  • Do- and log files
  • Graphics
  • Basics of regression
Saturday afternoon Regression models

Depending to some extent on the interest of the participants. Session may contain (but can not cover all of the topics):

  • Logit models
  • Interaction terms
  • Introduction to loops and macros
  • Longitudinal models
Day Readings
Friday Kohler/Kreuter, Chapters.1, 3, 11
Saturday morning Kohler/Kreuter, Chapters 2, 6, 9
Saturday afternoon Kohler/Kreuter, Ch. 9

Software Requirements

Stata, version 11 or higher.

Literature


ACOCK, A. C. 2012. A Gentle Introduction to Stata, Revised Third Edition, College Station, Tex, Stata Press.

KOHLER, U. & KREUTER, F. 2012. Data Analysis Using Stata, Third Edition, College Station, Tex, Stata Press.

MITCHELL, M. N. 2012. A Visual Guide to Stata Graphics, Third Edition, College Station, Tex, Stata Press.

POLLOCK, P. H. 2010. A Stata Companion to Political Analysis, Washington, D.C, CQ Press College.

RABE-HESKETH, S. & SKRONDAL, A. 2012. Multilevel and Longitudinal Modeling Using Stata, Volume I: Continuous Responses, Third Edition, College Station, Tex, Stata Press.

RABE-HESKETH, S. & SKRONDAL, A. 2012. Multilevel and Longitudinal Modeling Using Stata, Volume II: Categorical Responses, Counts, and Survival, Third Edition, College Station, Tex, Stata Press.