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


Hi every one, recently I was doing a GLM with Duncan test, and could some one explain why there is blank row between two records, and there is still a letter in the blank row.

1 ACCEPTED SOLUTION

Accepted Solutions
data_null__
Jade | Level 19

The first word is the variable NAME the second is the variable LABEL.  In this case they are the same.  You can verify with PROC CONTENTS.

View solution in original post

7 REPLIES 7
data_null__
Jade | Level 19

Those are LINES.  You can show the means that are equal with letters or lines GLM uses both where the lines are drawn with the letters.  There is even an option for LINES but with DUNCAN I believe it is the default.

proc glm data=sashelp.class;
   class age;
   model weight=age;
   means age / duncan lines;
  
run;
jjjunyi
Calcite | Level 5

Capture.PNGThis is what I snip from website, but I don't know what the Second B means, that is an empty row, right? No record?

data_null__
Jade | Level 19

Imagine the b's are are line connecting the means.  Means connected by line(s) are equal.

jjjunyi
Calcite | Level 5

Capture.PNGThanks much! Another question, why there is duplicate dependent variable shown? I thought there should be only one.

data_null__
Jade | Level 19

The first word is the variable NAME the second is the variable LABEL.  In this case they are the same.  You can verify with PROC CONTENTS.

jjjunyi
Calcite | Level 5

Can I disable LABEL?

data_null__
Jade | Level 19

There is a system option of the same name.  You can remove all the labels from all the variables with

attrib _all_ label=' ';

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 7 replies
  • 2375 views
  • 6 likes
  • 2 in conversation