<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic GENMOD lines option for multiple comparison: trouble understanding output in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/GENMOD-lines-option-for-multiple-comparison-trouble/m-p/238487#M12632</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to do pairwise comparisons of cells in a contingency table. To do so, I followed the advice given &lt;A href="http://support.sas.com/kb/22/565.html" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;and constucted a generalized linear model that fits the poisson distribution:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;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;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;"lines" option creates groups of cells that are not significantly different and displays them nicely&amp;nbsp;in the results, e.g.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1102i51D0A4DC794B9D63/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Line1.png" title="Line1.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now what I don't understand is &lt;STRONG&gt;the meaning of the two lines with empty 'site' (rows 2 and 4) in the image above&lt;/STRONG&gt;, 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?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;J.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2015 11:44:41 GMT</pubDate>
    <dc:creator>jb3</dc:creator>
    <dc:date>2015-12-09T11:44:41Z</dc:date>
    <item>
      <title>GENMOD lines option for multiple comparison: trouble understanding output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/GENMOD-lines-option-for-multiple-comparison-trouble/m-p/238487#M12632</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to do pairwise comparisons of cells in a contingency table. To do so, I followed the advice given &lt;A href="http://support.sas.com/kb/22/565.html" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;and constucted a generalized linear model that fits the poisson distribution:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;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;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;"lines" option creates groups of cells that are not significantly different and displays them nicely&amp;nbsp;in the results, e.g.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1102i51D0A4DC794B9D63/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Line1.png" title="Line1.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now what I don't understand is &lt;STRONG&gt;the meaning of the two lines with empty 'site' (rows 2 and 4) in the image above&lt;/STRONG&gt;, 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?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;J.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 11:44:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/GENMOD-lines-option-for-multiple-comparison-trouble/m-p/238487#M12632</guid>
      <dc:creator>jb3</dc:creator>
      <dc:date>2015-12-09T11:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: GENMOD lines option for multiple comparison: trouble understanding output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/GENMOD-lines-option-for-multiple-comparison-trouble/m-p/238529#M12638</link>
      <description>&lt;P&gt;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"&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 16:46:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/GENMOD-lines-option-for-multiple-comparison-trouble/m-p/238529#M12638</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2015-12-09T16:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: GENMOD lines option for multiple comparison: trouble understanding output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/GENMOD-lines-option-for-multiple-comparison-trouble/m-p/238561#M12642</link>
      <description>Thanks, that makes sense.</description>
      <pubDate>Wed, 09 Dec 2015 18:48:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/GENMOD-lines-option-for-multiple-comparison-trouble/m-p/238561#M12642</guid>
      <dc:creator>jb3</dc:creator>
      <dc:date>2015-12-09T18:48:14Z</dc:date>
    </item>
  </channel>
</rss>

