Skip to content

asjadnaqvi/The-Stata-Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

List of guides | Stata packages | Cheat Sheets | Stata presentations | Miscellaneous | Discord | Support!


Welcome to the Stata Guide!

This repository contains various links and files to help you navigate The Stata Guide on Medium and my contributions to the The Stata Gallery. You can get an overview in the Welcome to the Stata Guide article to help you navigate.

⚡ All the data files used in various guides were moved to a single folder data. If you are using one of the earlier guides, and the link has not been updated there, then please go to the data folder, click on the file, and right click on the "raw", and copy link address. Also let me know by creating an Issue so I can fix these asap.

The list of guides

The guides marked with 🚩 get periodic updates. The ones marked with 🏆 are published in The Stata Gallery. First publication date given in brackets.

2024

A Guide to DataViz Books (09 Jul 2024)

The BPLIM workflow for anonymizing confidential data for research (23 Apr 2024)

2023

Reproducing a viral USA tilemap in Stata (26 Aug 2023)

Maps in Stata III: geoplot (02 Jul 2023) (Updated: 15 Jul 2024)

Stata graphs: Raincloud plots (29 Mar 2023)

Updates from 2022 and plans for 2023 (05 Jan 2023)

2022

Stata graph tips for academic articles (16 Sep 2022)

Parsing Stata dofiles for variable lists 🏆 (05 Jul 2022)

Stata graphs: Circular Bar Graphs II (23 Jun 2022)

Spirographs and Parametric plots in Stata 🏆 (20 Jun 2022)

Drawing NYT’s spiral plot in Stata 🏆 (17 Jun 2022)

Welcome to the Stata Gallery 🏆 (16 Jun 2022)

Stata graphs: Waterfall charts (15 Jun 2022)

Stata graphs: Half Sunburst plot (29 Apr 2022)

Stata graphs: Mosaic (Marimekko) plots (20 Apr 2022)

The Power of Precision (05 Apr 2022)

Stata graphs: Circular bar graphs (11 Mar 2022)

The awesome Stata Tips collection! 🚩 (11 Jan 2022)

The Stata Frames guide (04 Jan 2022)

2021

Stata graphs: Tilemaps part II - USA (16 Dec 2021)

Stata graphs: Tilemaps part I - Africa (14 Dec 2021)

Stata graphs: Bi-variate maps (07-Dec-21)

Doing the 2021 #30DayMapChallenge with Stata (02-Dec-21)

Stata graphs: Sankey diagram (26-Oct-21)

Stata graphs: Waffle charts (12-Oct-21)

Stata graphs: Arc plots (06-Oct-21)

Welcome to the Stata Guide 🚩 (15-Sep-21)

The Art of the Code (27-Aug-21)

Maps in Stata II 🚩 (10-Aug-21)

Stata graphs: Rose (Coxcomb) plots (19-Jul-21)

Maximum Likelihood Estimation (MLE) (05-Jul-21)

Mata: Stata’s End Game (A0 cheatsheet poster) (24-Jun-21)

The Stata Workflow Guide 🚩 (07-Jun-21)

Stata and GitHub Integration (27-Apr-21)

Advanced Mapping with Stata: OpenStreetMap (OSM) and QGIS (19-Apr-21)

Stata schemes (13-Apr-21)

Stata graph replication: The Du Bois Challenge Additional files (31-Mar-21)

Stata graphs: Reprogramming maps (30-Mar-21)

Stata graphs: Spirals and text wrapping (29-Mar-21)

Regular expressions (regex) in Stata (A3 cheatsheet poster) (17-Mar-21)

Stata graphs: Programming pie charts from scratch (10-Mar-21)

The Stata-to-LaTeX guide 🚩 (25-Feb-21)

Stata graphs: Hearts ♥ (14-Feb-21)

Stata graphs: Symbols (08-Feb-21)

Stata graphs: Spider plots (26-Jan-21)

Stata graphs: Polar (Radial) Plots (19-Jan-21)

Stata graphs: How to add arrows to your line graphs (07-Jan-21)

2020

Why the Stata Guide on Medium? (12-Dec-20)

COVID-19 visualizations with Stata Part 10: Stream graphs (09-Dec-20)

COVID-19 visualizations with Stata Part 9: Customized bar graphs (01-Dec-20)

Stata graphs: Define your own color schemes (23-Nov-20)

Stata graphs: Hex maps of the 2020 USA Presidential elections (09-Nov-20)

Stata graphs: Get those fonts right (03-Nov-20)

COVID-19 visualizations with Stata Part 8: Ridgeline plots (Joy plots) (30-Oct-20)

COVID-19 visualizations with Stata Part 7: Doubling time graphs (10-Oct-20)

Automating Eurostat in Stata (01-Oct-20)

COVID-19 visualizations with Stata Part 6: Animations (23-Sep-20)

COVID-19 visualizations with Stata Part 5: Stacked area graphs (16-Sep-20)

COVID-19 visualizations with Stata Part 4: Maps (07-Sep-20)

COVID-19 visualizations with Stata Part 3: Heat plots (02-Sep-20)

COVID-19 visualizations with Stata Part 2: Customizing color schemes (29-Aug-20)

COVID-19 visualizations with Stata Part 1: An Introduction to data setup and customized graphs (25-Aug-20)

Stata packages

A list of my Stata packages:

Package Version Updated Description
alluvial version release Package for Alluvial charts
arcplot version release Package for arc plots
bimap version release Package for bi-variate maps
bumparea version release Package for ribbon plots
bumpline version release Package for bump line charts
circlebar version release Package for polar bar graphs
circlepack version release Package for circlepacking
clipgeo version release Polygon and polyline shape clipping
delaunay version release Delauanay triangles, Convex Hull, Voronoi
joyplot version release Package for ridgeline plots
marimekko version release Package for Marimekko charts
polarspike version release Package for polar spike plots
sankey version release Package for Sankey diagrams
schemepack version release A suite of Stata schemes
spider version release Package for spider plots
splinefit version release Package for spline fit plots
streamplot version release Package for streamplots
sunburst version release Package for sunburst diagrams
treecluster version release Package for tree plots
treemap version release Package for tree maps
waffle version release Package for waffle plots

Cheat Sheets

Cheat Sheets can be either downloaded from the cheatsheets folder.

The follow two are currently available:

Stata presentations

Miscellaneous

The Du Bois Challenge in Stata

30 Day Map Challenge 2021

Discord server

Hop in the The Code Block Discord server and ask your questions!

I get a lot of e-mails with code and data files and now it is hard to keep track on who is requesting what. At least in Discord several people can answer your questions. This also helps document the problems for other people.

How can you support the guides?

These guides are meant as a public service and I really enjoy writing them and getting feedback from you guys.

But if you want to support the content creation, then you can:

(a) become a member on Medium and subscribe and read the guides. This gives you access to a lot of other awesome content as well.

or

(b) you can:

"Buy Me A Coffee!!"

😎