BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
cdumigan
Calcite | Level 5

Hello,

 

I am a student using university edition of SAS studio trying to do a contrast statement to contrast means within a factor. The factor is "variety" and I am am comparing two different groups of clover varieties. However my contrast statement always gets the same error message 

 

145 contrast 'doublecut vs singlecut' variety 1 -5 0 1 1 1 1 1 1 1 1 -5 1;
________
180
 
ERROR 180-322: Statement is not valid or it is used out of proper order.
 
I have attached a picture of my code. I am clueless as to why my statement is invalid or out of proper order. If anyone knows what I am doing wrong please share.

Sas Code.PNG
1 ACCEPTED SOLUTION

Accepted Solutions
1 REPLY 1
data_null__
Jade | Level 19
Try removing the RUN; statement after LSMEANS

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 872 views
  • 0 likes
  • 2 in conversation