LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2006, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 25 Jan 2006 04:39:55 -0500
Reply-To:     Pinar Acar <pacar@METU.EDU.TR>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Pinar Acar <pacar@METU.EDU.TR>
Subject:      Re: using proc mixed to do SUR analysis

Hi everyone,

As suggested by Dale and David I am including the log file I get when I try to run proc mixed:

NOTE: Copyright (c) 1999-2001 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) Proprietary Software Release 8.2 (TS2M0) Licensed to ORTA DOGU TEKNIK UNIV., Site 0085939001. NOTE: This session is executing on the AIX 5.2 platform.

This message is contained in the SAS news file, and is presented upon initialization. Edit the files "news" in the "misc/base" directory to display site-specific news and information in the program log. The command line option "-nonews" will prevent this display.

NOTE: SAS initialization used: real time 44.71 seconds cpu time 0.54 seconds

1 options ls=80; 2 data dis1; 3 infile '/home504/pacar/data1.txt'; 4 input time id vis val task rcon tcon sat grd gpa;

NOTE: The infile '/home504/pacar/data1.txt' is: File Name=/home504/pacar/data1.txt, Owner Name=pacar,Group Name=ba_rsc, Access Permission=rw-r--r--, File Size (bytes)=7903

NOTE: 156 records were read from the infile '/home504/pacar/data1.txt'. The minimum record length was 48. The maximum record length was 51. NOTE: The data set WORK.DIS1 has 156 observations and 10 variables. NOTE: DATA statement used: real time 37.72 seconds cpu time 0.12 seconds

5 proc print data=dis1; 6 run;

NOTE: There were 156 observations read from the data set WORK.DIS1. NOTE: PROCEDURE PRINT used: real time 0.85 seconds cpu time 0.02 seconds

7 proc mixed method=ml data=dis1; 8 class id time; NOTE: PROCEDURE MIXED used: real time 0.13 seconds cpu time 0.00 seconds

ERROR: Variable NAME not found. NOTE: The SAS System stopped processing this step because of errors. 9 model rcon= time vis*time val*time /s noint; 10 repeated time/subject=id type=AR(1) r=1,2 rcorr=1,2; 11 contrast vis*time -1 0 1, 0 -1 1; --- 22 ERROR 22-322: Expecting a quoted string.

11 ! contrast vis*time -1 0 1, 0 -1 1; - 22 ERROR 22-322: Syntax error, expecting one of the following: a name, INTERCEPT. 12 contrast val*time -1 0 1, 0 -1 1; 13 run;

14 proc mixed method=ml data=dis1; 15 class id time; NOTE: PROCEDURE MIXED used: real time 0.00 seconds cpu time 0.00 seconds

ERROR: Variable NAME not found. NOTE: The SAS System stopped processing this step because of errors. 16 model tcon= time val*time task*time /s noint; 17 repeated time/subject=id type=AR(1) r=1,2 rcorr=1,2; 18 contrast val*time -1 0 1, 0 -1 1; --- 22 ERROR 22-322: Expecting a quoted string.

18 ! contrast val*time -1 0 1, 0 -1 1; - 22 ERROR 22-322: Syntax error, expecting one of the following: a name, INTERCEPT. 19 contrast task*time -1 0 1, 0 -1 1; 20 run;

Thank you very much for your help.

F. Pinar Acar, Ph.D. Department of Business Administration Middle East Technical University Inonu Bulvari Ankara 06531 TURKEY

Tel: 90-312-210 2052 Fax: 90-312-210 1243 E-mail: pacar@metu.edu.tr or pinar@ba.metu.edu.tr


Back to: Top of message | Previous page | Main SAS-L page