Producing animated graphs from Stata without having to learn any other software

Grant, Robert (2012) Producing animated graphs from Stata without having to learn any other software. In: Stata Users' Group, London 2012; 13-14 Sep 2012, London, U.K..

Full text available as:
[img] Slideshow

Download (914kB)


Much interest has been focused on animated graphical displays of data in recent years, although this mostly involves some expertise with specialized software and programming. There is a lack of simple tools for data analysts to use to produce animations. In this presentation, I will show how movie files can be produced as stop-frame animations using Stata graphs as the building blocks. This approach is extremely flexible, and I will give some examples, including morphing from start to finish locations and the (ab)use of animation, color, and sound for emphasis. Some potential applications for teaching will be discussed. The principle of creating a sequence of transitional images through a loop, then calling the freeware, open-source ffmpeg software via winexec or shell will be explained with do-file examples. For repeated applications, the whole process can be contained within an ado-file, which raises the possibility of interactive websites with Stata, producing bespoke animations.

Item Type: Conference or Workshop Item (Lecture)
Event Title: Stata Users' Group, London 2012
Organising Body: StataCorp LP
Research Area: Computer science and informatics
Faculty, School or Research Centre: Faculty of Health and Social Care Sciences (until 2013)
Depositing User: Robert Grant
Date Deposited: 07 Nov 2012 10:08
Last Modified: 07 Nov 2012 10:08

Actions (Repository Editors)

Item Control Page Item Control Page