IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v6y2006i4p550-560.html
   My bibliography  Save this article

Mata Matters: Precision

Author

Listed:
  • William Gould

    (StataCorp)

Abstract

Mata is Stata’s matrix language. In the Mata Matters column, we show how Mata can be used interactively to solve problems and as a programming language to add new features to Stata. In this quarter’s column, we look at the programming implications of the floating-point, base-2 encoding that modern computers use.

Suggested Citation

  • William Gould, 2006. "Mata Matters: Precision," Stata Journal, StataCorp LP, vol. 6(4), pages 550-560, December.
  • Handle: RePEc:tsj:stataj:v:6:y:2006:i:4:p:550-560
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=pr0025
    Download Restriction: no

    File URL: http://www.stata-journal.com/software/sj6-4/pr0025/
    Download Restriction: no

    References listed on IDEAS

    as
    1. Nicholas J. Cox, 2006. "Stata tip 33: Sweet sixteen: Hexadecimal formats and precision problems," Stata Journal, StataCorp LP, vol. 6(2), pages 282-283, June.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Nicholas J. Cox, 2011. "Speaking Stata: Fun and fluency with functions," Stata Journal, StataCorp LP, vol. 11(3), pages 460-471, September.
    2. Nicolas Van de Sijpe, 2013. "Is Foreign Aid Fungible? Evidence from the Education and Health Sectors," World Bank Economic Review, World Bank Group, vol. 27(2), pages 320-356.
    3. Nicolas Van de Sijpe, 2013. "Is Foreign Aid Fungible? Evidence from the Education and Health Sectors," World Bank Economic Review, World Bank Group, vol. 27(2), pages 320-356.

    More about this item

    Keywords

    Mata; floating point; binary; hexadecimal;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:6:y:2006:i:4:p:550-560. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F. Baum) or (Lisa Gilmore). General contact details of provider: http://www.stata-journal.com/ .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.