Improving your Stata: data management, publication-quality outputs, and automating tasks
22 - 24 May 2018.
3 days (approximately 18 hours teaching).
Registration will start at 9am on the first day, the course will finish by 3.30pm on the final day.
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;
- 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.
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 and scalars.
- Creating publication-style graphs in Stata.
- Using loops to do repetitive tasks.
- Posting data to a file.
- Organising and documenting work.
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 14 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 firstname.lastname@example.org.