Tim,
You might try -set trace on- to see exactly where the problem is.
I don't think adding a verion 8.0 would matter since -areg- is written in
version 6.0. -areg- does make a call to -predict- which is in verions 8.2, but
I don't see how this could be the problem.
My version of -areg-, which works fine, shows this after -which-
. which areg
C:\STATA8\ado\base\a\areg.ado
*! version 1.3.3 31jul2001
and the sysdir and adopath are:
. sysdir
STATA: C:\STATA8\
UPDATES: C:\STATA8\ado\updates\
BASE: C:\STATA8\ado\base\
SITE: C:\STATA8\ado\site\
PLUS: c:\ado\stbplus\
PERSONAL: c:\ado\personal\
OLDPLACE: c:\ado\
. adopath
[1] (UPDATES) "C:\STATA8\ado\updates/"
[2] (BASE) "C:\STATA8\ado\base/"
[3] (SITE) "C:\STATA8\ado\site/"
[4] "."
[5] (PERSONAL) "c:\ado\personal/"
[6] (PLUS) "c:\ado\stbplus/"
[7] (OLDPLACE) "c:\ado/"
Scott
----- Original Message -----
From: "Tim R. Sass" <[email protected]>
To: <[email protected]>
Sent: Saturday, January 17, 2004 12:35 PM
Subject: Re: st: areg not supported in ver 8.2?
> 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;
>
*
* 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/