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! ]

RPNFCN: Stata module to provide a Mata generic function evaluator based on Reverse Polish Notation

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Henrik Stovring () (Research Unit of General Practice, University of Southern Denmark)
Abstract

mf_rpnfcn(cmd) returns the result of sequentially evaluating the commands given in the rows of matrix A. The fundamental commands allowed in A fall in the following categories: Stack manipulation--Commands that enter matrices into the stack, copy and interchange stack elements; Binary operators--The four basic arithmetic operations of addition, subtraction, multiplication, and division; Single element functions-- Distribution functions which are executed on the current top element of the stack and replace it with the result; and Numerical integration functions-- used for numerical integration based on Monte Carlo with stratified, antithetic sampling.

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/r/rpnfcn.mata
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/r/rpnint.mata
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/r/rpndist.mata
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/r/rpnbinop.mata
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/r/rpnstackfcn.mata
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/l/lrpn.mlib
File Format: application/x-stata
File Function: object library
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_rpnbinop.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_rpndist.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_rpnfcn.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_rpnint.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/m/mf_rpnstackfcn.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 S456887.

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.0
Date of creation: 05 Nov 2006
Date of revision:
Handle: RePEc:boc:bocode:s456887

Note: This module may be installed from within Stata by typing "ssc install rpnfcn". 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; reverse Polish notation; RPN; stack; numerical integration;

Statistics
Access and download statistics

Did you know? RePEc and its associated services are free for contributors and users, and do not accept any advertising.

This page was last updated on 2009-12-22.


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.