EconPapers    
Economics at your fingertips  
 

Visualizing survey data-analysis results: Marrying the best from Stata and R

Nel Jason Haw
Additional contact information
Nel Jason Haw: Johns Hopkins Bloomberg School of Public Health

2022 Stata Conference from Stata Users Group

Abstract: Stata has a strong suite of survey data-analysis references and tools and remains the primary choice for researchers working with survey data. On the other hand, R is the primary choice for data visualization in many academic papers, given its flexibility, especially when using the ggplot2 package based on the design philosophy of The Grammar of Graphics. An unfulfilled need for many researchers is innovatively presenting survey data-analysis results without feeling limited by working within one statistical software only. This presentation discusses a workflow of using Stata for analysis and exporting the results through the postfile commands, then handing the data off to R to create a rich array of figures. As a proof of concept, the presentation will show results from an ongoing health economics research project from the Philippines of around 200,000 observations from national income and expenditure survey data to create publication-quality dumbbell plots, concentration curves, and Pen’s parades. Finally, the presentation will briefly describe how to share code and results in a public repository like Github.

Date: 2022-08-11
New Economics Papers: this item is included in nep-sea
References: Add references at CitEc
Citations:

Downloads: (external link)
http://repec.org/usug2022/US22_Haw.zip

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:usug22:17

Access Statistics for this paper

More papers in 2022 Stata Conference from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-19
Handle: RePEc:boc:usug22:17