Date: Tue, 16 Oct 2007 02:57:49 +0000
Reply-To: toby dunn <tobydunn@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: toby dunn <tobydunn@HOTMAIL.COM>
Subject: Re: Does anyone find errors in SAS enterprize guide help and
feedback error to SAS comp
In-Reply-To: <43F6343B4DC47F42B2CFED838AD1E37C0156480D@bjex108.smic-bj.com>
Content-Type: text/plain; charset="Windows-1252"
Add a Run statement after your Data Step and it will work...
Toby Dunn
Compromise is like telling a lie, it gets easier and easier. Each compromise you make, that becomes your standard.
Perfection doesnt exist, once you reach it, its not perfect anymore. It means something else.
> Date: Tue, 16 Oct 2007 10:25:48 +0800
> From: Yuntao_Dou@SMICS.COM
> Subject: Does anyone find errors in SAS enterprize guide help and feedback error to SAS company?
> To: SAS-L@LISTSERV.UGA.EDU
>
> Dear all buddies,
>
> I have just learned SAS REG procedure and find an obvious error in SAS enterprize guide help as below:
>
> data Skulls;
> input Loc $20. Basal Occ Max;
> datalines;
> Minas Graes, Brazil 2.068 2.070 1.580
> Minas Graes, Brazil 2.068 2.074 1.602
> Minas Graes, Brazil 2.090 2.090 1.613
> Minas Graes, Brazil 2.097 2.093 1.613
> Minas Graes, Brazil 2.117 2.125 1.663
> Minas Graes, Brazil 2.140 2.146 1.681
> Matto Grosso, Brazil 2.045 2.054 1.580
> Matto Grosso, Brazil 2.076 2.088 1.602
> Matto Grosso, Brazil 2.090 2.093 1.643
> Matto Grosso, Brazil 2.111 2.114 1.643
> Santa Cruz, Bolivia 2.093 2.098 1.653
> Santa Cruz, Bolivia 2.100 2.106 1.623
> Santa Cruz, Bolivia 2.104 2.101 1.653
> ;
>
> proc anova data=Skulls;
> class Loc;
> model Basal Occ Max = Loc / nouni;
> manova h=Loc;
> ods select MultStat;
> run;
>
> It is obvious that something is wrong in the data step and Basal will all be blank value.
> Therefore error occurs in program step.
>
> Just want to know if someone has met the simlilar situation and feedback to SAS company(the help file is so prolific and hard to avoid errors) ?
>
> Yuntao, China
> SAS programmer
_________________________________________________________________
Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033
|