EconPapers    
Economics at your fingertips  
 

My favorite overlooked life savers in Stata

Jan Ditzen

UK Stata Conference 2024 from Stata Users Group

Abstract: Everyone loves a good testing, estimation, or graphical community contributed package. However, a successful empirical project relies on many small, overlooked but priceless programs. In this talk I will present three of my personal life savers. 1. adotools: adotools has four main uses. It allows the user to create and maintain a library of adopaths. Paths can be dynamically added to and removed from a running Stata session. When removing an ado-path, all ado-programs located in the folder are cleared from memory. adotools can also reset all user specified adopaths. 2. psimulate2: ever wanted to run Monte Carlo simulations in parallel? With psimulate2 you can and there are (almost) no setup costs at all. psimulate2 splits the number of repetitions into equal chunks, spreads them over multiple instances of Stata and reduces the time to run Monte Carlo simulations. It also allows macros to be returned and can save and append simulation results directly into a dta or frame. It can be run on Windows, Unix and Mac. 3. xtgetpca: Extracting principal components in panel data is common, however no Stata solution exists. xtgetpca fills this gap. It allows for different types of standardization, removal of fixed effects and unbalanced panels.

Date: 2024-09-16
References: Add references at CitEc
Citations:

Downloads: (external link)
http://repec.org/lsug2024/UK24_Ditzen.pdf

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:lsug24:03

Access Statistics for this paper

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

 
Page updated 2025-03-22
Handle: RePEc:boc:lsug24:03