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/