[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: Bug in Stata 11 |

Date |
Sat, 8 Aug 2009 00:35:21 +0200 |

<> Help me understand this line: - count if length(foreign)>12- Are you saying the result should be 22? I end up with a r(109) "type mismatch", because a string function is applied to a numeric argument. Did you really mean -cou if for-? HTH Martin -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Sergiy Radyakin Sent: Samstag, 8. August 2009 00:06 To: statalist@hsphsun2.harvard.edu Cc: Stata Technical Support Subject: st: Bug in Stata 11 Dear Stata users and developers, the following seems to be a reproducable bug in Stata 11. Here is the code that is executed incorrectly by Stata 11 (must be run as a do-file): * ----------------------------------------------------------------------- version 10.1 clear set memory 1m sysuse auto browse foreign make if foreign list foreign make if foreign * ----------------------------------------------------------------------- Note that in this particular dataset: . count if length(foreign)>12 22 What is expected? Only observations satisfying condition (22) are displayed in the browser. What is actually occuring? Stata 10 displays only observations satisfying the condition (22) and only requested variables. Stata 11 displays all observations and all variables, shows the status of the filter (in the status line) as "Filter: Off", numbero of variables is 12. Number of observations is 74. When does the problem occur? Always when command -browse- is called from a .do-file and never when command -browse- is submitted from the command line interactively. Which versions does it affect? The problem was observed in Stata MP8-64bit 11.0.669 for Windows, born 13 Jul 2009. Suspected are (at least) all Windows flavors. What are the possible consequences? Any program, which presents results to the user with the -browse- command will present the whole set of records, rather then the records satisfying the if-condition. Thank you, Sergiy Radyakin PS: Sorry if this was already known, but there is no public bugs-database to check if a bug is already discovered. * * 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/

**References**:**st: Bug in Stata 11***From:*Sergiy Radyakin <serjradyakin@gmail.com>

- Prev by Date:
**st: RE: RE: Graph of sum results** - Next by Date:
**st: predictive margins not estimable in svy** - Previous by thread:
**st: Bug in Stata 11** - Next by thread:
**Re: st: RE: Bug in Stata 11** - Index(es):

© Copyright 1996–2016 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |