<?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 Re: Is there a way to get exact p-values from Tukey? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Is-there-a-way-to-get-exact-p-values-from-Tukey/m-p/204538#M10988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shift over to PROC GLM so that you can use the LSMEANS statement (probably a good idea anyway as I would guess that your data are unbalanced per cancer type).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glm data=TotalINTSAS;&lt;/P&gt;&lt;P&gt;class cancer;&lt;/P&gt;&lt;P&gt;model albumin=cancer;&lt;/P&gt;&lt;P&gt;lsmeans cancer/stderr pdiff=all adjust=tukey;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2015 14:55:00 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2015-08-21T14:55:00Z</dc:date>
    <item>
      <title>Is there a way to get exact p-values from Tukey?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Is-there-a-way-to-get-exact-p-values-from-Tukey/m-p/204537#M10987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I am a relatively novice SAS user (currently using SAS 9.4, remote) and have what I believe is a very basic question.&amp;nbsp; I have a data set (n=80) of patients with one of three cancers (prostate, lung, breast) and am comparing other serum measurements against their form of cancer.&amp;nbsp; For example: Is the mean serum,&amp;nbsp; albumin level different between patients with lung cancer and breast cancer, etc.&amp;nbsp; For this I am utilizing a one-way ANOVA with post hoc Tukey test to control for type one error.&amp;nbsp; Everything runs smoothly and I get the results I want but &lt;EM&gt;I would like to report the exact p-values between the multiple comparisons&lt;/EM&gt; rather than just knowing they are significant (a&amp;lt;0.05) via asterisks.&amp;nbsp; Is there a way to do this?&amp;nbsp; Adding a lines statement before tukey does not give the p-value either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample code (after data):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;proc anova data=TotalINTSAS;&lt;/P&gt;&lt;P&gt;class cancer;&lt;/P&gt;&lt;P&gt;model albumin=cancer;&lt;/P&gt;&lt;P&gt;means cancer/tukey;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Alle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 14:23:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Is-there-a-way-to-get-exact-p-values-from-Tukey/m-p/204537#M10987</guid>
      <dc:creator>abarnard</dc:creator>
      <dc:date>2015-08-21T14:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to get exact p-values from Tukey?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Is-there-a-way-to-get-exact-p-values-from-Tukey/m-p/204538#M10988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shift over to PROC GLM so that you can use the LSMEANS statement (probably a good idea anyway as I would guess that your data are unbalanced per cancer type).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glm data=TotalINTSAS;&lt;/P&gt;&lt;P&gt;class cancer;&lt;/P&gt;&lt;P&gt;model albumin=cancer;&lt;/P&gt;&lt;P&gt;lsmeans cancer/stderr pdiff=all adjust=tukey;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 14:55:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Is-there-a-way-to-get-exact-p-values-from-Tukey/m-p/204538#M10988</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-08-21T14:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to get exact p-values from Tukey?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Is-there-a-way-to-get-exact-p-values-from-Tukey/m-p/204539#M10989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your quick and helpful reply!&amp;nbsp; I ran the code you posted and it works quite well.&amp;nbsp; My data is almost balanced (prostate=25, breast=30, lung=25) but in the future I am sure it will not be so pretty thus this is a great trick to keep in my pocket!&amp;nbsp; Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Alle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 15:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Is-there-a-way-to-get-exact-p-values-from-Tukey/m-p/204539#M10989</guid>
      <dc:creator>abarnard</dc:creator>
      <dc:date>2015-08-21T15:30:26Z</dc:date>
    </item>
  </channel>
</rss>

