EconPapers    
Economics at your fingertips  
 

MOREMATA: Stata module (Mata) to provide various functions

Ben Jann ()

Statistical Software Components from Boston College Department of Economics

Abstract: This package includes various Mata functions. kern(): various kernel functions; kint(): kernel integral functions; kdel0(): canonical bandwidth of kernel; quantile(): quantile function; median(): median; iqrange(): inter-quartile range; ecdf(): cumulative distribution function; relrank(): grade transformation; ranks(): ranks/cumulative frequencies; freq(): compute frequency counts; histogram(): produce histogram data; mgof(): multinomial goodness-of-fit tests; collapse(): summary statistics by subgroups; _collapse(): summary statistics by subgroups; gini(): Gini coefficient; sample(): draw random sample; srswr(): SRS with replacement; srswor(): SRS without replacement; upswr(): UPS with replacement; upswor(): UPS without replacement; bs(): bootstrap estimation; bs2(): bootstrap estimation; bs_report(): report bootstrap results; jk(): jackknife estimation; jk_report(): report jackknife results; subset(): obtain subsets, one at a time; composition(): obtain compositions, one by one; ncompositions(): determine number of compositions; partition(): obtain partitions, one at a time; npartitionss(): determine number of partitions; rsubset(): draw random subset; rcomposition(): draw random composition; colvar(): variance, by column; meancolvar(): mean and variance, by column; variance0(): population variance; meanvariance0(): mean and population variance; mse(): mean squared error; colmse(): mean squared error, by column; sse(): sum of squared errors; colsse(): sum of squared errors, by column; benford(): Benford distribution; cauchy(): cumulative Cauchy-Lorentz dist.; cauchyden(): Cauchy-Lorentz density; cauchytail(): reverse cumulative Cauchy-Lorentz; invcauchy(): inverse cumulative Cauchy-Lorentz; rbinomial(): generate binomial random numbers; cebinomial(): cond. expect. of binomial r.v.; root(): Brent's univariate zero finder; nrroot(): Newton-Raphson zero finder; finvert(): univariate function inverter; plot(): Draw twoway plot; _plot(): Draw twoway plot; panels(): identify nested panel structure; _panels(): identify panel sizes; npanels(): identify number of panels; nunique(): count number of distinct values; nuniqrows(): count number of unique rows; isconstant(): whether matrix is constant; nobs(): number of observations; colrunsum(): running sum of each column; linbin(): linear binning; fastlinbin(): fast linear binning; exactbin(): exact binning; makegrid(): equally spaced grid points; cut(): categorize data vector; posof(): find element in vector; which(): positions of nonzero elements; locate(): search an ordered vector; hunt(): consecutive search; ipolate(): linear interpolation; polint(): polynomial inter-/extrapolation; cond(): matrix conditional operator; expand(): duplicate single rows/columns; _expand(): duplicate rows/columns in place; repeat(): duplicate contents as a whole; _repeat(): duplicate contents in place; unorder2(): stable version of unorder(); jumble2(): stable version of jumble(); _jumble2(): stable version of _jumble(); pieces(): break string into pieces; npieces(): count number of pieces; _npieces(): count number of pieces; invtokens(): reverse of tokens(); realofstr(): convert string into real; strexpand(): expand string argument; matlist(): display a (real) matrix; insheet(): read spreadsheet file; infile(): read free-format file; outsheet(): write spreadsheet file; callf(): pass optional args to function; callf_setup(): setup for mm_callf().

Language: Stata
Requires: Stata version 9
Keywords: Mata; quantile; median; inter-quartile range; cumulative distribution; Cauchy distribution; Cauchy-Lorentz distribution; relative ranks; running sum; linear interpolation; insheet; infile; outsheet; spreadsheet; tokens; rowvector; string; real; grid; linear binning; histogram (search for similar items in EconPapers)
Date: 2005-09-14, Revised 2009-02-19
Note: This module may be installed from within Stata by typing "ssc install moremata". Windows users should not attempt to download these files with a web browser.

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/m/moremata.zip file archive (application/x-zip)
http://fmwww.bc.edu/repec/bocode/l/lmoremata.mlib Mata object library (application/x-stata)
http://fmwww.bc.edu/repec/bocode/l/lmoremata10.mlib Mata object library (application/x-stata)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_sample.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/moremata.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/moremata_source.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/moremata10_source.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_unorder2.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_panels.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_quantile.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_strexpand.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_realofstr.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_posof.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_ipolate.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_invtokens.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_linbin.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_histogram.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_ecdf.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_colrunsum.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_rbinomial.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_insheet.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_cut.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_freq.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_colvar.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_gini.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_nunique.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_bs.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_callf.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_expand.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_finvert.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_jk.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_kern.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_locate.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_nobs.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_nrroot.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_polint.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_root.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_which.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_plot.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_pieces.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_benford.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_isconstant.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_mgof.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_subset.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_cauchy.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_matlist.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_cond.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_collapse.hlp help file (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: http://EconPapers.repec.org/RePEc:boc:bocode:s455001

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 2009-11-26
Handle: RePEc:boc:bocode:s455001