Improving your Stata: data management, publication-quality outputs, and automating tasks
Coronavirus (COVID-19) information
The Short Course Programme in Population Health Sciences has been temporarily suspended.
Please note: this course was previously named "Advanced Stata". The course itself remains unchanged.
We anticipate opening bookings in late November 2020.
Information on this page relates to the last run of the course and is for reference only.
Sign up to our mailing list to be notified when bookings reopen.
We may need to make responsive changes to our future programme to follow the latest Public Health, Government and University guidance on coronavirus (COVID-19).
Please be aware that all information about short courses planned for 2021 is provisional and subject to change.
20 - 22 January 2020
3 days (approximately 18 hours teaching).
Registration will start at 9am on the first day, the course will finish by 4pm on the final day.
The aim of this course is to provide a more advanced knowledge of Stata 15 statistical software package.
By the end of the course participants should be able to:
- understand how to use Stata efficiently through using a greater range of commands;
- manipulate data using the egen command;
- create sample data;
- reshape a dataset between wide and long formats;
- create a summary dataset of the original data;
- access stored results from Stata commands;
- automatically format and save output for tables;
- create publication-quality graphs;
- use looping structures for repetitive code;
- create a new dataset without altering an existing dataset open in Stata; and
- create Word documents using Stata with embedded tables, graphs and scalar results.
Who the course is intended for
Prerequisites - It is assumed that participants will have attended the 'Introduction to Stata' course (or be familiar with the contents of this course), AND are able to: open and save datasets; generate and rename variables; label variables and values; restrict commands to a subset of the data using the if, in and by qualifiers; generate a Stata date from a string; change the working directory; and use commands display, list, summarize and tabulate.
Participants should have a working knowledge of basic statistics such as linear regression. However, the course is focused on data management and programming skills rather than statistical content.
- Advanced functions and expressions using egen
- Collecting statistics and reshaping datasets
- Creating sample data
- Accessing stored results from Stata commands
- Creating publication-style tables in Stata
- How to use macros
- Creating publication-style graphs in Stata
- Using loops to do repetitive tasks
- Posting data to a file
- Organising and documenting work
- Automate embedding results in a Word document
Please note: This course was previously called 'Advanced Stata'.
Practical sessions of this course will be held in a computer lab, so you will not need to bring a laptop. Stata version 15 will be used during the course.
More information on course fees, fee waivers and reduced prices.
Bristol Medical School
39 Whatley Road
We provide morning and afternoon refreshment breaks, including tea and coffee, biscuits and fresh fruit.
If you have specific dietary needs we ask that you let us know in advance.
Lunch is not included. There are a range of local cafes and supermarkets nearby for students to purchase lunch.
Information about accommodation in the area.
Related short courses
For further information please email email@example.com.