EconPapers    
Economics at your fingertips  
 

M_STATS: Stata module to implement interpoint distance distribution analysis

Pietro Tebaldi

Statistical Software Components from Boston College Department of Economics

Abstract: M_STATS contains two commands, mstat and mtest, to perform inference based on the M statistic, a statistic used to compare the interpoint distance distribution across groups of observations. The two commands can be used to test the null hypothesis that two groups have the same (spatial) distribution. mstat and mtest return the exact M test statistic. Moreover, mtest executes a Monte Carlo type permutation test, returning the empirical p-value together with its confidence interval.

Language: Stata
Requires: Stata version 10.1
Keywords: M statistic; spatial data; interpoint distance distribution (search for similar items in EconPapers)
Date: 2011-03-17, Revised 2011-04-01
Note: This module should be installed from within Stata by typing "ssc install m_stats". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). 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/m/mstat.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mstat.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mtest.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mtest.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/d/dbins.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/d/difF_iter.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_diff.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/e/eucldist.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/Fhat.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/Mst_iter.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/Smat.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:s457257

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 2020-02-18
Handle: RePEc:boc:bocode:s457257