This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

MOREMATA: Stata module (Mata) to provide various functions

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Ben Jann () (ETH Zurich)

Additional information is available for the following registered author(s):

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().

Download Info
To download:

If you experience problems downloading a file, check if you have the proper application to view it first. Information about this may be contained in the File-Format links below. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL: http://fmwww.bc.edu/repec/bocode/m/moremata.zip
File Format: application/x-zip
File Function: file archive
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/l/lmoremata.mlib
File Format: application/x-stata
File Function: Mata object library
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/l/lmoremata10.mlib
File Format: application/x-stata
File Function: Mata object library
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_sample.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/moremata.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/moremata_source.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/moremata10_source.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_unorder2.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_panels.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_quantile.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_strexpand.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_realofstr.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_posof.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_ipolate.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_invtokens.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_linbin.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_histogram.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_ecdf.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_colrunsum.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_rbinomial.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_insheet.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_cut.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_freq.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_colvar.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_gini.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_nunique.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_bs.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_callf.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_expand.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_finvert.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_jk.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_kern.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_locate.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_nobs.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_nrroot.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_polint.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_root.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_which.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_plot.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_pieces.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_benford.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_isconstant.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_mgof.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_subset.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_cauchy.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_matlist.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_cond.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_mm_collapse.hlp
File Format: text/plain
File Function: help file
Download Restriction: no

Publisher Info
Software component provided by Boston College Department of Economics in its series Statistical Software Components with number S455001.

Download reference. The following formats are available: HTML (with abstract), plain text (with abstract), BibTeX, RIS (EndNote, RefMan, ProCite), ReDIF
Size:
Programming language: Stata
Requires: Stata version 9
Date of creation: 14 Sep 2005
Date of revision: 19 Feb 2009
Handle: RePEc:boc:bocode:s455001

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.
Contact details of provider:
Postal: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Phone: 617-552-3670
Fax: +1-617-552-2308
Email:
Web page: http://fmwww.bc.edu/EC/
More information through EDIRC

Order Information:
Web: http://repec.org/docs/ssc.php

For technical questions regarding this item, or to correct its listing, contact: (Christopher F Baum).

Related research
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;

Statistics
Access and download statistics

Did you know? About 1000 journals are listed on RePEc.

This page was last updated on 2010-1-4.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.