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   "Tim R. Sass" <[email protected]>
To   [email protected]
Subject   Re: st: areg not supported in ver 8.2?
Date   Sat, 17 Jan 2004 13:35:22 -0500

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/




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