Advanced Stata

Course dates

20-22 March 2017.

Course duration: 3 days (approximately 18 hours teaching).
Registration will start at 9.00am on the first day, the course will finish by 3.30pm on the final day.

Course tutors

Dr Becky Gilbert, Dr Rachael Hughes (course organisers) and others.

Course aims and objectives

The aim of this course is to provide a more advanced knowledge of Stata 14 statistical software package. By the end of day 3 participants should be able to:

  • understand how to use Stata efficiently through using a greater range of commands; 
  • use looping structures for repetitive code; 
  • automatically format and save output for tables.

Who the course is intended for

It is assumed that participants will have attended the Introduction to Stata course (or be familiar with the contents of this course) AND have used Stata for at least six months. Participants should have a working knowledge of basic statistics such as linear regression. However, the course is focussed on data management and programming skills rather than statistical content.

Course outline

Days 1, 2 & 3

  • Advanced functions and expressions using egen.
  • How to reshape and manipulate data sets.
  • Creating sample data.
  • Using system variables and accessing saved results.
  • How to use macros, scalars and matrices.
  • Using loops to do repetitive tasks.
  • Posting data to a file.
  • Organising and documenting work.
  • How to write do files with arguments.

Please note: Practical sessions of this course will be held in a computer lab, so you will not need to bring a laptop. Stata 14 will be used during the course.


Please note bookings for this course have now closed.

We are currently compiling our 2017/18 course programme. Bookings will open at the beginning of October 2017. Please check back nearer the time for more details.

I thought the pace of the course kept things clear. Interacting with Stata, typing commands and dealing with errors was an important part of learning and kept me more engaged. Teachers were clear and there was always support on hand.

Course feedback, March 2017

Course fees


More information on course fees, fee waivers and reduced prices.

Course venue

School of Social and Community Medicine
Canynge Hall
39 Whatley Road
United Kingdom

Map and directions

Lunch and refreshments

Coffee, tea, fruit and biscuits will be available to all students. A light lunch is provided for all paying participants. Please let us know if you have any dietary requirements.


Information about accommodation.

Related short courses

Introduction to Stata


For further information please email