Title: FTOOLS: Stata module to provide alternatives to common Stata commands optimized for large datasets
Abstract: ftools consists of a Mata file and several Stata commands: The Mata file creates identifiers (factors) from variables by using hash functions instead of sorting the data, so it runs in time O(N) and not in O(N log N). The Stata commands exploit this to avoid sort operations, at the cost of being slower for small datasets (mainly because of the cost involved in moving data from Stata to Mata). Implemented commands are fcollapse, fegen group, and fsort. Note that most of the capabilities of levels and contract are already supported by these commands. Possible commands include more egen functions and merge and reshape alternatives.
Publication Year: 2016
Publication Date: 2016-01-01
Language: en
Type: article
Access and Citation
Cited By Count: 2
AI Researcher Chatbot
Get quick answers to your questions about the article from our AI researcher chatbot