Gábor Békés · @GaborBekes
301 followers · 360 posts · Server econtwitter.net

Some folks will teach intro / applied metrics soon. They might find @Gabors_Data useful. Textbook w/ tidy tables to random forest & event studies, case studies, data, code . ♥️ from Card, @paulgp @causalinf @JohnVanReenen @i_am_nickbloom and more. share appreciated.

Get started
gabors-data-analysis.com/getti

Get a copy
amazon.com/Data-Analysis-Busin

#Stata #Python #rstats #econtwitter

Last updated 1 year ago

Asjad Naqvi :stata: · @asjadnaqvi
447 followers · 377 posts · Server econtwitter.net

Dropping a new guide on the latest map package: , by Ben Jann. The Guide provides a comprehensive step-by-step walkthrough for this highly flexible and customizable command:

medium.com/the-stata-guide/map

In this guide, learn how to make the maps from scratch. The data and scripts are provided for a complete replication.

Add multiple layers, completely customize colors, sizes, widths, legend entries. Add scale bars, arrows, and a lot more.

#Stata #geoplot #dataviz #maps

Last updated 1 year ago

Asjad Naqvi :stata: · @asjadnaqvi
444 followers · 376 posts · Server econtwitter.net

The following packages have been updated on :
joyplot v1.62
bumparea v1.1
bumpline v1.1
sankey v1.6
spider v1.21
circlepack v1.1
bimap v1.7
streamplot v1.51

These include major feature updates, syntax improvements, options for more control, and many other enchancements.

Links on GitHub:
github.com/asjadnaqvi

Links on Twitter:
twitter.com/AsjadNaqvi/status/

#Stata #ssc

Last updated 1 year ago

Asjad Naqvi :stata: · @asjadnaqvi
444 followers · 375 posts · Server econtwitter.net

Version 1.7 of package is now out which introduced a much requested feature: support for discrete variables.

More info and examples on :
github.com/asjadnaqvi/stata-bi

#Stata #bimap #github

Last updated 1 year ago

Asjad Naqvi :stata: · @asjadnaqvi
444 followers · 374 posts · Server econtwitter.net

A major update to the
v1.6 is now out:
- Complete rewrite of the base routines. The code is faster and more flexible.
- Complete control over sorting nodes and flows.
- Own flows can now be collapsed.
-sortby() has been split into sort1() which orders the nodes and sort2() which orders the flows.
- Support has been added for numerical variables to allow custom sorting.

More info and examples on :
github.com/asjadnaqvi/stata-sa

#Stata #sankey #github

Last updated 1 year ago

Brigitte Roth Tran · @Rothtran
411 followers · 348 posts · Server econtwitter.net

Did you know that in a new variable created with floor( ) will automatically be a float? This means Stata doesn't maintain precision for a very large variable that started as a double.

Issue discovered while using floor(census_block_group / 10) to get Census tract values and finding they weren't merging properly.

This default could easily cause noise in data without people knowing it.

The default could instead be that the new variable takes on the class of the original variable.

#Stata

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
440 followers · 367 posts · Server econtwitter.net

Adding two more for the . The geography is based on the version.

Data is extracted from the 2021 population estimates using the package. Right map uses the new version of .

#Stata #cartogram #maps #usa #nytimes #acs #getcensus #bimap

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
440 followers · 358 posts · Server econtwitter.net

A few comments: (1) models like are trained on existing knowledge base, which is larger for open-source softwares. This makes sense since these programs are decentralized. For , first looks the manuals and help files. Both r very extensive!
---
RT @arieda_muco
While AI boosts productivity for coders worldwide, @Stata coders have noticed that ChatGPT isn't providing helpful answers. Despite @Stata's popularity in the…
twitter.com/arieda_muco/status

#llm #chatgpt #Stata

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
441 followers · 352 posts · Server econtwitter.net

Two more experimental maps in with new NUTS layers & data. The aim here is to create a shapefile for representing all the territories as it is officially in Eurostat maps. This part is almost done. Still need to align the different NUTS layers, and add labels.

On the data… twitter.com/i/web/status/16530

#Stata

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
441 followers · 348 posts · Server econtwitter.net

v1.5 is now out with the following changes:
- Value labels can be dropped from either side of the flows
- Value and box label scaling added to adjust to relative stocks & flows
- sorby(., reverse option added)

More info and installations:
github.com/asjadnaqvi/stata-sa

#Stata #sankey

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
442 followers · 347 posts · Server econtwitter.net

This is happening in about two weeks!

Not only we will go over advance mapping features in , we will also make some !

A preview of the maps we will learn to make 👇
---
RT @statauk
Are you keen to master Map Making in Stata?
Register Now -> pulse.ly/j89thvgqp1
Dr. Asjad Naqvi will be back on May 10 to deliver a follow-up session to his introductory Maps course, providing a comprehensive, hands-on masterclass in Ma…
twitter.com/statauk/status/164

#Stata #cartograms

Last updated 2 years ago

Patrick Blanchenay · @pblanchenay
207 followers · 275 posts · Server econtwitter.net

Almost crying. 18 has updated the default graph style.

#Stata #endofanera

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
440 followers · 346 posts · Server econtwitter.net

"swift_red" never disappoints.

for the
---
RT @VirginiaTangel
@Stata I am still rocking the Taylor Swift theme by @asjadnaqvi (thank you) 🙂🙂
github.com/asjadnaqvi/stata-sc
twitter.com/VirginiaTangel/sta

#Stata #Swifties

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
440 followers · 339 posts · Server econtwitter.net

So let's continue with more new features in . An important update is to causal inference methods, namely the newer estimations.

In case you guys don't know, I have been diligently following the developments and tracking them here:
asjadnaqvi.github.io/DiD/

#Stata #v18 #did

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
438 followers · 326 posts · Server econtwitter.net

I just finished installing v18. I will keep adding stuff to this thread 🧵 as I explore the new graph features.

So posts will be coming in over the next few days. Let's go! 👇👇

#Stata

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
437 followers · 315 posts · Server econtwitter.net

Also a list of packages here:

---
RT @asjadnaqvi
A 🧵 to keep track of my @Stata packages 👇

1) 𝘀𝗰𝗵𝗲𝗺𝗲𝗽𝗮𝗰𝗸: Has a large collection of ready-to-use .

Two I personally use all the time are white_tableau (clean white) and neon (black background).

github.com/asjadnaqvi/Stata-sc
twitter.com/AsjadNaqvi/status/

#Stata #dataviz #schemes

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
437 followers · 312 posts · Server econtwitter.net

is a great tool for organizing the and their issues. As the packages get used more and more, bugs are found, and enhancement features are requested. Projects gives a centralized overview of these issues.

github.com/asjadnaqvi?tab=proj

#github #projects #repositories #Stata

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
434 followers · 298 posts · Server econtwitter.net

This is an area bar graph where the idea is to fix the percentage and adjust the bins. Same logic is use for marimekko or mosaic plots.

If you want to make these in there is a guide here:
medium.com/the-stata-guide/sta

and a package here:
github.com/asjadnaqvi/stata-ma
---
RT @kwekuoa
The “percentogram”—a histogram binned by percentages of the cumulative distribut…
twitter.com/KwekuOA/status/164

#Stata

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
431 followers · 296 posts · Server econtwitter.net

A really cool package for binning and fitting data!
---
RT @leo__ahrens
I wrote a Stata ado intended as a one-stop-shop for scatter plots with fit lines. It creates plots like these with simple syntax. I’ll talk you through the possibilities in this thread.

net install scatterfit, from(raw.githubusercontent.com/leoj)
twitter.com/leo__ahrens/status

#Stata

Last updated 2 years ago

Asjad Naqvi :stata: · @asjadnaqvi
431 followers · 294 posts · Server econtwitter.net

in Part 2 on May 10!
A three hour, fully-packed, intensive course.

Here is a link to my portfolio for some inspiration:
asjadnaqvi.github.io/stata-por

We will learn to make some of these maps!
---
RT @statauk
Are you keen to master Map Making in Stata?
Register Now -> pulse.ly/j89thvgqp1
Dr. Asjad Naqvi will be back on May 10 to deliver a follow-up session to his introductory Maps c…
twitter.com/statauk/status/164

#maps #Stata #stataviz

Last updated 2 years ago