EconPapers    
Economics at your fingertips  
 

MAPCH: Stata module map chains of events

Ward Vanlaar ()

Statistical Software Components from Boston College Department of Economics

Abstract: -mapch- maps chains of events. A 'chain' consists of at least one event; an 'event' in this context is a change of information. For example, if 'A' changes into 'B' and 'B' changes into 'C', then this chain consists of two events, the first one being the change of 'A' into 'B' and the second one being the change of 'B' into 'C'. These changes are mapped and the end value of the chain is added as a new variable to each event in the chain (so the line "A B" in your database would become "A B C" and the line "B C" would become "B C C"). -mapch- also tabulates the frequency of n-step chains with n<=1<=N (N=total number of events in your database). Mapping chains in a database of several tens of thousands of events can be done in as little as a couple of seconds.

Language: Stata
Requires: Stata version 10
Keywords: data management; events; chains (search for similar items in EconPapers)
Date: Written 2008-02-11
Note: This module may be installed from within Stata by typing "ssc install mapch". Windows users should not attempt to download these files with a web browser.

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/m/mapch.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mapch.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/c/crFigures-2.do sample do file (text/plain)
http://fmwww.bc.edu/repec/bocode/t/testfileSJ.dta sample data file (application/x-stata)

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

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
Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Contact information at EDIRC.
Series data maintained by Christopher F Baum ().

 
Page updated 2008-10-05
Handle: RePEc:boc:bocode:s456913