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

Re: st: areg not supported in ver 8.2?


From   Mark Schaffer <[email protected]>
To   [email protected], "Tim R. Sass" <[email protected]>
Subject   Re: st: areg not supported in ver 8.2?
Date   Sun, 18 Jan 2004 13:08:04 +0000 (GMT)

Tim,

Try the command -update- and see if your executable and ado-files are in 
sync.  My recollection from other postings to the list is that if one gets 
updated without the other, errors like the one you are describing can 
result.

--Mark

Quoting "Tim R. Sass" <[email protected]>:

> I have tried adding the line
> 
> .version 8.0
> 
> to my .do file, but areg still gives me the error message
> 
> version 8.2 not supported
> 
> The .do file (see below) runs fine (including xtreg) until it gets
> to the 
> areg  command then it give me the "version 8.2 not supported"
> message.  I 
> have also tried running areg from the command window and get the
> same 
> result.  As I mentioned in my first posting, I ran the same .do file
> a 
> couple of months ago without any problem.  Any ideas?
> 
> Tim
> 
> 
> clear
> #delimit ;
> set more off ;
> version 8.0 ;
> 
> log using C:\Charters\Output\G05to10_9901_141.log, replace ;
> set memory 1250M ;
> 
> use "F:\Datasets\panel_9901_3scores_selvar.dta", clear ;
> 
> tsset student year ;
> 
> 
> * Reading - All Cohorts;
> 
> xtreg nrtrgain charter chrtageb nschools chgschl
>        t2001 tgrde_06 tgrde_07 tgrde_08 tgrde_09 tgrde_10
>        target convrt forprft
>        if cohort !=0, fe;
> 
> areg  nrtrgain charter chrtageb nschools chgschl
>        t2001 tgrde_06 tgrde_07 tgrde_08 tgrde_09 tgrde_10
>        target convrt forprft
>        if cohort !=0, absorb(student) robust;
> 
> 
> 
> 
> At 10:08 AM 1/17/2004 -0500, you wrote:
> >At 06:31 AM 1/17/2004 -0500, Tim R. Sass wrote:
> >>I am trying to run a panel analysis using areg with the robust 
> >>option.  My program ran fine a couple of months ago, using ver
> 8.0.  I 
> >>subsequently upgraded to ver 8.2.  Now when I run the same program
> I get 
> >>the error message:
> >>
> >>"version 8.2 not supported"
> >>
> >>Does anyone know what is going on here?  Has areg been dropped?  I
> need 
> >>to calculate huber-white robust standard errors, but that still
> doesn't 
> >>appear to be an option in xtreg.
> >>
> >>Tim
> >
> >I have the latest Stata and just tried areg with the robust option
> and it 
> >worked fine for me.  Perhaps you could post the actual commands you
> 
> >used.  You say you were running a "program" - if by program you
> mean a do 
> >file, perhaps the problem lies somewhere else than in the areg
> command.
> >
> >You might also just try adding the command
> >
> >version 8
> >
> >to the top of your do file and see if that solves your problem.  As
> the 
> >online help says, "version # allows old programs to run correctly
> under 
> >more recent versions of Stata and ensures that new programs will
> run 
> >correctly under future versions of Stata."  See -help version- for
> more info.
> >
> >
> >
> >-------------------------------------------
> >Richard Williams, Notre Dame Dept of Sociology
> >OFFICE: (574)631-6668, (574)631-6463
> >FAX:    (574)288-4373
> >HOME:   (574)289-5227
> >EMAIL:  [email protected]
> >WWW (personal):    http://www.nd.edu/~rwilliam
> >WWW (department):    http://www.nd.edu/~soc
> >
> >*
> >*   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/
> 
> Tim R. Sass
> Professor                               Voice:   (850)644-7087
> Department of Economics         Fax:      (850)644-4535
> Florida State University                E-mail:  
> [email protected]
> Tallahassee, FL  32306-2180     Internet:
> http://garnet.acns.fsu.edu/~tsass 
> 
> 
> *
> *   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/
> 



Prof. Mark Schaffer
Director, CERT
Department of Economics
School of Management & Languages
Heriot-Watt University, Edinburgh EH14 4AS
tel +44-131-451-3494 / fax +44-131-451-3008
email: [email protected]
web: http://www.sml.hw.ac.uk/ecomes
________________________________________________________________

DISCLAIMER:

This e-mail and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom it is addressed.  If you are not the intended recipient
you are prohibited from using any of the information contained
in this e-mail.  In such a case, please destroy all copies in
your possession and notify the sender by reply e-mail.  Heriot
Watt University does not accept liability or responsibility
for changes made to this e-mail after it was sent, or for
viruses transmitted through this e-mail.  Opinions, comments,
conclusions and other information in this e-mail that do not
relate to the official business of Heriot Watt University are
not endorsed by it.
________________________________________________________________
*
*   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