Thanks to Kit Baum, the -center- package has been
updated on SSC.
To install the update, type
. ssc install center, replace
-center- now has a -generate()- option to specify
the full name of the new variable to be created.
With the previous version it was only possible to
specify a prefix.
Note that -center- may only be applied to one
variable at a time if generate() is specified.
The new -generate()- option is especially useful
in programming contexts where one is working with
temporary variables. Example:
...
tempvar c_x
center `x', generate(`c_x')
...
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/