Statalist The Stata Listserver


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

Re: st: reshape: message values would be changed, not changed


From   ariley@stata.com (Alan Riley)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: reshape: message values would be changed, not changed
Date   Wed, 01 Nov 2006 17:54:25 -0600

Thomas Erdmann (tom.erdmann@web.de) asked about a message he received
from -reshape-:
> Reshaping (original data in .csv format) from wide to long I get the message
> 
> " xxx values would be changed; not changed "
> for some years of my item named "offbs" (offbs2006, offbs2005 ...), all the
> other ten items I use don't produce the message and I cannot tell what makes
> the difference. Also the data loaded in looks fine also for those years.

This can happen when the types of the variables being reshaped differ.
For example, if the first variable of a set being reshaped from wide
to long is type 'float' and another variable is type 'double' and
contains a value that would lose precision if it were stored as a
'float', this message can appear.  This note is not important and
probably should be suppressed; we will verify there are no cases in
which it conveys something potentially important to the user and
change it in a future ado-file update.


Alan
(ariley@stata.com)
*
*   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