EconPapers    
Economics at your fingertips  
 

FTOOLS: Stata module to provide alternatives to common Stata commands optimized for large datasets

Sergio Correia ()
Additional contact information
Sergio Correia: Board of Governors of the Federal Reserve System

Statistical Software Components from Boston College Department of Economics

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.

Language: Stata
Requires: Stata version 11.2
Keywords: levels; collapse; contract; egen; sort; factor variables; Mata (search for similar items in EconPapers)
Date: 2016-08-06, Revised 2019-03-13
Note: This module should be installed from within Stata by typing "ssc install ftools". Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: Track citations by RSS feed

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/f/ftools.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/ftools.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/ftools.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fcollapse.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fcollapse.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fegen.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fegen_group.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fegen.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fisid.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fisid.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/f/flevelsof.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/flevelsof.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fmerge.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fmerge.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/f/freshape.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fsort.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fsort.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/f/ftab.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/j/join.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/j/join.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/l/local_inlist.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/local_inlist.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fcollapse_functions.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fcollapse_main.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/ftools_type_aliases.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/ftools.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/ftools_common.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/ftools_hash1.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/ftools_main.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/ftools_experimental.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/ftools_plugin.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/ftools_type_aliases.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/ms_compile_mata.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/ms_expand_varlist.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/ms_fvstrip.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/ms_fvstrip.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/ms_fvunab.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/ms_get_version.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/ms_parse_absvars.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/ms_parse_varlist.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/ms_parse_vce.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/ms_add_comma.ado program code (text/plain)

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:bocode:s458213

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2019-07-16
Handle: RePEc:boc:bocode:s458213