/The-Stata-Guide

Files for the Stata Guide on Medium https://medium.com/the-stata-guide

Primary LanguageStata

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.

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
sankey version release Package for Sankey diagrams
alluvial version release Package for Alluvial charts
circlebar version release Package for polar bar graphs
spider version release Package for spider plots
treemap version release Package for tree maps
circlepack version release Package for circlepacking
arcplot version release Package for arc plots
marimekko version release Package for Marimekko charts
bimap version release Package for bi-variate maps
joyplot version release Package for ridgeline plots
streamplot version release Package for streamplots
delaunay version release Delauanay triangulation, convex hull, voronoi tesselations
clipgeo version release Polygon and polyline shape clipping
schemepack version release A suite of Stata schemes

Miscellaneous

The Du Bois Challenge in Stata

30 Day Map Challenge 2021

Stata presentations

Cheat Sheets and posters

Have questions?

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!!"

😎