Hi Martin,
Thanks for taking time to answer.
Let say I want to sum two variables. I can use format to increase the number of digits after the decimal point for the new variable = old_variable_1 + old_variable_2.
I'm looking for the equivalent but when I sum matrixes in MATA. So I want to increase the number of digit after the decimal point for the new matrix I'm creating from already existing matrixes. And, if possible, I would prefer the entry in the new matrix to be in the data type: double.
Hope my question makes more sense now!
Marie-claire
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Martin Weiss
Sent: Wednesday, 22 September 2010 3:11 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: estimate precision in MATA
<>
Just to be sure, Marie, how does the -format- command increase precision?
Maybe you really meant to say "data type", as in -help data_types-?
HTH
Martin
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Marie-Claire
Robitaille-Blanchet
Sent: Mittwoch, 22. September 2010 09:04
To: statalist@hsphsun2.harvard.edu
Subject: st: estimate precision in MATA
Dear all,
I would like to increase the estimate precision in MATA. So I'm basically
looking for the MATA equivalent of the "format" command in Stata. Which
command should I use?
Thanks in advance,
Marie-Claire
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/