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

Hi all,

 

I would like to do pairwise comparisons of cells in a contingency table. To do so, I followed the advice given here and constucted a generalized linear model that fits the poisson distribution:

 

data melanoma;
	input type:$13. site:$11. count;
	cards;
      Hutchinson's  Head         22
      Hutchinson's  Trunk         2
      Hutchinson's  Extremities  10
      Superficial   Head         16
      Superficial   Trunk        54
      Superficial   Extremities 115
      Nodular       Head         19
      Nodular       Trunk        33
      Nodular       Extremities  73
      Indeterminate Head         11
      Indeterminate Trunk        17
      Indeterminate Extremities  28
      ;


proc freq data=melanoma;
	weight count;
	tables type*site / chisq cellchi2 nopercent;
run;


proc genmod data=melanoma;
	class type site;
	model count=type|site / dist=poisson type3;
	slice type*site /lines;
run;

 

The "lines" option creates groups of cells that are not significantly different and displays them nicely in the results, e.g.:

 

Line1.png

 

Now what I don't understand is the meaning of the two lines with empty 'site' (rows 2 and 4) in the image above, and I can't find any explanation of these lines in the documentation or the internets. Can anyone explain to me what these two lines mean, and why line 2 dows not have any letter, but line 4 has letter B?

 

Thanks in advance!

J.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12

Those are just blank lines. In other words, there is a blank line between each mean, presumably to "look better". There is a letter used, because one should think of the letters as "lines"

View solution in original post

2 REPLIES 2
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12

Those are just blank lines. In other words, there is a blank line between each mean, presumably to "look better". There is a letter used, because one should think of the letters as "lines"

jb3
Obsidian | Level 7 jb3
Obsidian | Level 7
Thanks, that makes sense.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 2 replies
  • 1789 views
  • 0 likes
  • 2 in conversation