Date: Sat, 10 Jun 2006 22:47:19 -0700
Reply-To: toan79@GMAIL.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: toan79@GMAIL.COM
Organization: http://groups.google.com
Subject: Need help with proc corr SAS 9.0.0 syntax
Content-Type: text/plain; charset="iso-8859-1"
I got a SAS 9.0.0 program like this
**********************************************************
options nodate ls=74;
goptions hpos=40 vpos=25;
data regger;
input x y z;
cards;
4.2 2.8 6.2
3.8 2.5 10.1
5.2 3.3 15.2
3.4 2.1 4.5
4.5 2.9 12.1
4.6 2.8 13.7
4.3 2.6 10.0
3.7 2.4 6.9
3.9 2.5 9.9
;
proc corr fisher(alpha = 0.05 rho0 = 0.5 type=upper) nosimple;
var x y z;
run;
**********************************************************
but I could not run because of this error
**********************************************************
"88 proc corr fisher(alpha = 0.05 rho0 = 0.5 type=upper) nosimple;
------
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, ALPHA,
BEST, COV, CSSCP, DATA, DEBUG, EXCLNPWGT, HOEFFDING,
KENDALL, NOCORR, NOMISS, NOPRINT, NOPROB, NOSIMPLE, OUTH,
OUTK, OUTP, OUTS, PEARSON, RANK, SINGULAR, SPEARMAN,
SSCP,
VARDEF.
ERROR 76-322: Syntax error, statement will be ignored.
89 var x y z;
"
**********************************************************
I'm not a SAS expert and just want to apply SAS to computer science. I
tried to make it run by searching information on Internet. Any body can
help me to get it run.
Many thanks,
Toan.
|