Programming the statistical procedures from SAS

GLM Duncan test output

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 17
Accepted Solution

GLM Duncan test output


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.


Accepted Solutions
Solution
‎10-08-2013 11:32 AM
Respected Advisor
Posts: 3,780

Re: GLM Duncan test output

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


All Replies
Respected Advisor
Posts: 3,780

Re: GLM Duncan test output

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;
Occasional Contributor
Posts: 17

Re: GLM Duncan test output

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?

Respected Advisor
Posts: 3,780

Re: GLM Duncan test output

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

Occasional Contributor
Posts: 17

Re: GLM Duncan test output

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

Solution
‎10-08-2013 11:32 AM
Respected Advisor
Posts: 3,780

Re: GLM Duncan test output

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.

Occasional Contributor
Posts: 17

Re: GLM Duncan test output

Can I disable LABEL?

Respected Advisor
Posts: 3,780

Re: GLM Duncan test output

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

attrib _all_ label=' ';

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

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