Introduction to Stata Programming

Online 3 Hours (14th May 2020 - 14th May 2020) Stata Introductory
Delivered by: Dr. Vincent O’Sullivan
Automation, Data Management, Econometrics, Statistics

Overview

This course is for data managers and researchers who want to learn Stata programming concepts and skills. These programming concepts and skills will enable participants to perform complex data operations such as mapping the characteristics of an observation or a group of observations to another observation or group. Participants will also be able to automate tasks to avoid repetition and to allow quick and easy implementation of changes to data and tasks. Finally, participants will be able to automate the production of high-quality tables from stored estimates.

The course is based on the textbook 'An Introduction to Stata Programming' by Christopher F. Baum (2016), Stata Press. Participants will be taught the key programming concepts and then apply them to common problems that arise in advanced data management and analysis.

The course will be taught by Dr. Vincent O’Sullivan, Assistant Professor of Economics, Lancaster University. Dr. O’Sullivan has fifteen years of experience of teaching Stata and statistics/econometrics to undergraduate, postgraduates, and professionals at University College Dublin, Trinity College Dublin, University of Warwick, and Lancaster University. He is an applied econometrician who has published in the fields of epidemiology, psychiatry, and public health as well as economics. He was previously a Research Associate of the Economic and Social Research Institute (ESRI) in Dublin, and he was previously a Research Fellow at The Irish Longitudinal Study on Ageing (TILDA). He has also provided Stata training and consultancy to the government of Nigeria. He is a Fellow of the UK Higher Education Academy.

• Managing files, data, and memory:
• - Directories
- Storage types
- Preserve and restore
- Merging, reshaping, and appending data
• Basic data generation:
• - gen & egen
- missing values
- the cond() function
• Macros: locals and globals:
• Scalars and matrices:
• Looping:
• Computation for by-groups:
• - _n and _N - Summarizing by-group characteristics
• List manipulation and parallel lists:
• Data validation commands: assert, count, and duplicates:
• Output:
• - storing, saving ,and (re-)using results
- generating high-quality tables of results

Prerequisites

• The course assumes foundation of statistical knowledge and some experience of using STATA.

Terms & Conditions

• Student registrations: Attendees must provide proof of full time student status at the time of booking to qualify for student registration rate (valid student ID card or authorised letter of enrolment).
• Delegates are provided with temporary licences for the software(s) used in the course and will be instructed to download and install the software prior to the start of the course.
• Cost includes course materials that will be posted to you prior to the start of the course.
• Payment of course fees required prior to the course start date.
• Registration closes 1-day prior to the start of the course.