Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: input command, inaccuracy using matrices


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: input command, inaccuracy using matrices
Date   Wed, 5 May 2004 17:45:06 +0100

Not a problem, but a precision issue. 

See [U] 16.10 where all is explained. 

Christoph Wunder
 
> I entered data by using the INPUT command. After that the 
> variables have
> been converted to matrices (MKMAT command). When I look at the output
> (MATRIX LIST) I notice some kind of inaccuracy, e.g. the 
> original value of
> 1.06 is given back as 1.0599999.
> 
> I have attached the log-file in order to make the error 
> reproducible for
> everybody. As I cannot explain the inaccuracy, I wonder if I 
> use the INPUT
> command in a wrong way.

 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index