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; File-URL: http://fmwww.bc.edu/repec/bocode/_/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; greedy(): one-to-one and one-to-many matching; ebal(): entropy balancing (Stata 11 required); 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; integrate_sr(): univariate function integration (Simpson's rule); integrate_38(): univariate function integration (Simpson's 3/8 rule); ipolate(): linear interpolation; polint(): polynomial inter-/extrapolation; sqrt(): square root of a symmetric positive definite matrix; 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; 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; regexr(): regular expression replace; 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 mmFile-URL: http://fmwww.bc.edu/repec/bocode/_/callf().
Language: Stata
Requires: Stata version 11
Keywords: Mata; quantile; median; inter-quartile range; integration; 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 2022-11-24
Note: This module should be installed from within Stata by typing "ssc install moremata". 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: View citations in EconPapers (1)
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/l/lmoremata11.mlib Mata object library (application/x-stata)
http://fmwww.bc.edu/repec/bocode/l/lmoremata14.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/moremata11_source.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/moremata14_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_mmF_callf.hlp help file (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
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_greedy.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)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_integrate.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_regexr.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_sqrt.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_ebal.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_clip.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_ddens.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_density.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_diff.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_group.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_minim.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_prod.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_ranks.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_relrank.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_seq.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_sort.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_hl.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_mloc.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_ls.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_qr.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_areg.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_aqreg.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_hdq.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_version.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_ebalance.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_wbal.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mf_mm_crosswalk.sthlp 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: https://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 Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum (baum@bc.edu).