Statalist


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

Re: st: graph box error


From   Catherine Williams <[email protected]>
To   [email protected]
Subject   Re: st: graph box error
Date   Wed, 26 Sep 2007 21:07:29 -0700 (PDT)

Thanks Ulrich. Here are the results of -update query-

. update query
(contacting http://www.stata.com)

Stata executable
    folder:               C:\
    name of file:         wsestata.exe
    currently installed:  25 Jul 2007
    latest available:     25 Jul 2007

Ado-file updates
    folder:               C:\ado\updates\
    names of files:       (various)
    currently installed:  19 Sep 2007
    latest available:     19 Sep 2007

Recommendation
    Do nothing; all files up to date.

. sysuse auto, clear
(1978 Automobile Data)

. graph box mpg, over(rep78)
variable _box_sort not found
r(111);

. graph box mpg, over(rep78)
variable rep78 not found
r(111);

The last command output was a strange one as variable
rep78 patently is one of the variable in auto.dta.

Otherwise other functions seem to be unaffected, so
far!

Many thanks.
Liz


--- Ulrich Kohler <[email protected]> wrote:

> Catherine Williams schrieb:
> > Hi, I am new to Stata but am working through
> Ulrich
> > Kohler's Data Analysis using Stata to get to grip
> with
> > the software. One of the example:
> > 
> > .graph box income, over(emp) produces this error:
> > variable _box_sort not found
> > r(111);
> > 
> > or
> > 
> > variable _000006 not found in using data
> > r(111);
> > 
> > or
> > 
> > variable emp not found
> > r(111);
> > 
> > on different attempts to produce the graph.
> > 
> > I have also tried:
> > 
> > .sysuse auto, clear
> > .graph box mpg, over(rep78) which produces the
> same
> > errors.
> 
> Catherine,
> 
> thank you for using "Data analysis using Stata".
> 
> The commands you have showed us are definitely legal
> syntax. The only
> explanation that comes to my mind is that your Stata
> installation have
> become corrupted. Have you, or someone else,
> recently updated your Stata
> installation? Quite often people forget to perform
> the last step of the
> update. After the command
> 
> . update all
> 
> it is necessary to issue the command
> 
> . update swap
> 
> as well. Without this latter command your ado-files
> (external programs)
> misfit with the Stata-"Kernel" (the compiled code in
> wstata.exe). The
> effect are wired error messages up and then.
> 
> The same problem can arise if you have issued the
> command
> 
> . update ado
> 
> without stating
> 
> . update exe
> . update swap
> 
> afterwards.
> 
> So, here is my proposal: issue the command -update
> swap- and try again
> your graph commands again. If -update swap- brings
> up an error message like
> 
>  1.  Verifying new executables
> File </path/stata-se.bin> was not found, aborting
> swap.
> 
> try to issue the commands
> 
> . update exe
> . update swap
> 
> If the problem still remains please send the output
> of
> 
> . update query
> 
> 
> Many regards
> 
> Uli
> 
> --
> [email protected]
> 
> 
> 
> 
> 
> 
> 
> 
> 
> *
> *   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/
> 



       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index