Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Update to -moremata- available from SSC


From   "Ben Jann" <[email protected]>
To   statalist <[email protected]>
Subject   st: Update to -moremata- available from SSC
Date   Mon, 16 Apr 2007 10:20:46 +0200

Thanks to Kit Baum, an update to the -moremata- package is available
from SSC. To install the update, type

. ssc install moremata, replace

or use the -adoupdate- command.

Main changes:

1) There is a new -mm_pieces()- function to break a string into pieces
of roughly a specified length. -mm_pieces()- is based on Stata's
-piece- extended macro function (see -help extended_fcn-).

2) The -mm_colrunsum()- function now uses the mean-update formula (see
the Mata Matters column on precision by W. Gould in SJ 6-4) instead of
simple summing to compute the running sum and is therefore more
accurate (but somewhat slower; in fact, there really should be a
built-in quad precision running sum function in Mata in my opinion).

ben
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index