Fahad Mirza's Projects
Replicating Charles Minard famous map of the losses suffered by Napoleon during the 1812 Russian campaign using Stata
Visualization in Stata that displays how countries with the highest vulnerability to climage change have the lowest CO2 emissions.
Created a version of the Correlation Matrix in a Diverging Bar Plot form using Stata. This version includes an addition of confidence interval (error bars) with the coefficient.
Using the built in Stata dataset (sysuse auto), I generate a weighted visualization of correlation (correlogram) that makes use of color friendly tones with a diverging color palette from blue to brown.
Group-wise overlay of scatterplot combined with marginal distribution on the sides using Stata
Generating a correlation plot by using diverging bars and transitioning colors using Stata
Imagine an Excel file that contains multiple sheets but the date column in each field is not assigned the date format. When such a variable is imported within Stata, it is shown as a number with decimals. When we assign a date format in Stata on such a number, it ends up either not converting or displays an incorrect date/time.
Generating a GDP per capita plot for 4 Asian countries and magnifying the tail end of the plot using Stata
A robot powered training repository :robot:
Repository for demo purposes for Devlab@Duke Github Training
Using functions to create a Halloween Pumpkin with Stata
A combined marginal distribution plot created in Stata. Here we are plotting scatter and box plots to view distribution.
A modified line graph with drop shadows using Stata. Adding slight depth to the visualization from Pakistan by implementing modern design schemes.
The code allows us to pick a certain number of words from a sentence in Stata. The example code is designed to specifically pick the last 5 words however, this example code can be modified to pick words from any part of the sentence.
Scatter with regression line and confidence interval densities using Stata. The plot contains box plots on each axis (marginal boxplot)
Using Asjad Naqvi's Delaunay Package, I generate a scatterplot that encircles all the points on a scatterplot by group. The example makes use of default dataset and creates a rubber band like plot around group points in Stata. The method is not clean and neat but does the trick for now.
Scraping news data on violence against women in Pakistan from Dawn News
A Stata dofile that contains tutorial on how to work with date and time. Useful for those who work a lot with date time or those who are just starting out.
Generating a Box plot over category and by group in a minimalistic manner using Stata and a sample dataset
Generating a bar plot with gender icons using Stata
Generating a waffle plot like visualization by using Icons within Stata.
Tagging observations where they contains the same values across a certain set of variables
Automating a graph for treatment effect using Sysuse Auto from Stata
Tufte styled Box Plot using Stata
A year on year percentage change plot created using Stata for multiple categories