<?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: How to get a pooled Tukey-Kramer adjusted p-value after multiple imputation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930558#M46373</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Thanks for your answer! This method looks good, but it is a little bit complex for me since I'm not very experienced with statistical rationale. I was thinking of changing the method to Sidak (more powerful than Bonferroni) so I could use Proc Multtest. Thank you again!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Gia&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 02 Jun 2024 04:43:06 GMT</pubDate>
    <dc:creator>GiaLee</dc:creator>
    <dc:date>2024-06-02T04:43:06Z</dc:date>
    <item>
      <title>How to get a pooled Tukey-Kramer adjusted p-value after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930288#M46360</link>
      <description>&lt;P&gt;I'm running a mixed model and using multiple imputation to handle missing covariates.&lt;/P&gt;
&lt;P&gt;I used the `lsmeans test/pdiff adjust=Tukey` statement to compare each group.&lt;/P&gt;
&lt;P&gt;However, after `PROC MIANALYZE`, it only pools the raw p-values.&lt;/P&gt;
&lt;P&gt;I searched various forums and noticed that `PROC MIANALYZE` cannot generate pooled adjusted p-values. I also saw suggestions to use `PROC MULTTEST`, but it doesn't support the Tukey-Kramer adjustment.&lt;/P&gt;
&lt;P&gt;Does anyone know how I could obtain the pooled adjusted p-value? Or how could I calculate the pooled adjusted p-value using the pooled raw p-value?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 14:59:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930288#M46360</guid>
      <dc:creator>GiaLee</dc:creator>
      <dc:date>2024-05-30T14:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a pooled Tukey-Kramer adjusted p-value after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930327#M46365</link>
      <description>&lt;P&gt;I make no promises that this will work, but consider the adjusted p values to be random draws from a uniform distribution, bounded above by the largest observed adjusted p value for a fixed pair being compared and below by the smallest observed p value for that pair. That gives a standard deviation across the imputations of SD = (max - min)/sqrt(12), from which you could calculate STDERR = SD/sqrt(N), where N is the number of imputations. Put the adjusted p values and associated standard errors into a data set of estimates and stderr of estimates. Then this might give interesting results:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mianalyze data=&amp;lt;your data with adj p values and approx std errors edf=&amp;lt;residual degrees of freedom?&amp;gt;;
   modeleffects adj_p;
   stderr se_ad_pj;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You might have to put out a call for&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155173"&gt;@SAS_Rob&lt;/a&gt;&amp;nbsp;or some of the other posters who use MI and MIANALYZE a lot more than me. I was just trying to come up with a standard error estimate for the p values. I know that the possible range for the p values is [0, 1], so it may be that a more correct estimate for the standard error would be 1/(sqrt(12)*sqrt(N)) for every observation. However if that is the case than the value across all of the adjusted p values for a given pair of means is simply the arithmetic mean, as each observation would have an identical weight.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 18:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930327#M46365</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2024-05-30T18:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a pooled Tukey-Kramer adjusted p-value after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930462#M46368</link>
      <description>&lt;P&gt;I suggest that you combine the LsMeans and standard errors from MIXED in MIANALYZE.&amp;nbsp; You could then save the p-values from the combined estimates to a SAS data set and feed them into MULTTEST.&amp;nbsp; You would have to use a different adjustment method than Tukey like Bonferroni since MULTTEST will not compute Tukey p-values from a data set of raw p-values.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 18:40:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930462#M46368</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2024-05-31T18:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a pooled Tukey-Kramer adjusted p-value after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930557#M46372</link>
      <description>&lt;P&gt;Thank you, Rob.&lt;/P&gt;
&lt;P&gt;I changed the method to adjust by Sidak.&lt;/P&gt;
&lt;P&gt;I have obtained estimates, StdErr, DF, tValue, Probt, lower, and Upper from the Proc MIANALYZE.&lt;/P&gt;
&lt;P&gt;I found relative code from the PROC MULTTEST documentation,&amp;nbsp; and adjusted the code to fit my data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q1. May I know if the below method aligns with what you mentioned? Input the raw p-value and adjust them directly?&lt;/P&gt;
&lt;P&gt;Q2. How could I obtain the &lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;adjusted&lt;/STRONG&gt;&lt;/FONT&gt; Lower and adjusted Upper then?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="xis-codeBlock"&gt;data test;
   input Comparison $ Raw_P @@;
   datalines;
12vs18  0.0097     &lt;BR /&gt;12vs24  0.09&lt;BR /&gt;12vs32  0.01&lt;BR /&gt;12vs40 0.0097 &lt;BR /&gt;12vs6   0.09&lt;BR /&gt;18vs24 0.01&lt;BR /&gt;18vs32 0.008&lt;BR /&gt;18vs40 0.2&lt;BR /&gt;18vs6 0.01&lt;BR /&gt;24vs32 0.009&lt;BR /&gt;24vs40 0.08&lt;BR /&gt;24vs6 0.07&lt;BR /&gt;32vs40 0.008&lt;BR /&gt;32vs6 0.09&lt;BR /&gt;40vs6 0.01
;
&lt;/PRE&gt;
&lt;PRE class="xis-codeBlock"&gt;proc multtest inpvalues=test sidak;
run;
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2024 04:34:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930557#M46372</guid>
      <dc:creator>GiaLee</dc:creator>
      <dc:date>2024-06-02T04:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a pooled Tukey-Kramer adjusted p-value after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930558#M46373</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks for your answer! This method looks good, but it is a little bit complex for me since I'm not very experienced with statistical rationale. I was thinking of changing the method to Sidak (more powerful than Bonferroni) so I could use Proc Multtest. Thank you again!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Gia&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2024 04:43:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930558#M46373</guid>
      <dc:creator>GiaLee</dc:creator>
      <dc:date>2024-06-02T04:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a pooled Tukey-Kramer adjusted p-value after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930669#M46381</link>
      <description>&lt;P&gt;I still don't see how this is going to give you a "pooled" p value. It should give you 15 adjusted p values. I might have misinterpreted the request but I thought you were looking for a single pooled p value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 17:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930669#M46381</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2024-06-03T17:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a pooled Tukey-Kramer adjusted p-value after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930675#M46383</link>
      <description>&lt;P&gt;I assume your input data set in this case contains the p-values for each of the comparisons from Proc MIANALYZE.&amp;nbsp; If that is the case, then, yes, this is what I had in mind.&lt;/P&gt;
&lt;P&gt;As far as adjusted CL, I don't really have a good suggestion since MULTTEST only deals with p-values.&amp;nbsp; The only obvious idea that comes to mind would be to do a Bonferroni-type adjustment by adjusting the value of the ALPHA= option in Proc MIANALYZE such that it is alpha/m where m is the number of comparisons.&amp;nbsp; There may be others that you could manually program in a data step using the output from MIANALYZE, but that would take some programming on your part.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 18:16:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/930675#M46383</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2024-06-03T18:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a pooled Tukey-Kramer adjusted p-value after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/931373#M46408</link>
      <description>&lt;P&gt;I am also currently studying multiple comparison procedures. I did not know that PROC MULTTEST can plug-in raw &lt;EM&gt;P&lt;/EM&gt;-values before. That is a very useful piece of information.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155173"&gt;@SAS_Rob&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;You would have to use a different adjustment method than Tukey like Bonferroni since MULTTEST will not compute Tukey p-values from a data set of raw p-values.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Bonferroni methods are conservative. Are there any macros capable of plugging in raw&amp;nbsp;&lt;EM&gt;P&lt;/EM&gt;-values to implement Tukey's method?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2024 05:41:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/931373#M46408</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-06-08T05:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a pooled Tukey-Kramer adjusted p-value after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/931577#M46445</link>
      <description>Thanks for your reply. I may not have described the question clearly. I used LSmeans in the Proc Mixed to compare between each class, and each comparison has a p-value.  And I would like to get the pooled p-value for each of these comparisons. &lt;BR /&gt;I found this discussion very useful, as it helped us obtain the pooled p-value and CI. However, it cannot generate the pooled adjusted p-value directly)&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/combine-the-LSMEANS-and-differences-in-LSMEANS-from-Proc-GLIMMIX/td-p/666264" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/combine-the-LSMEANS-and-differences-in-LSMEANS-from-Proc-GLIMMIX/td-p/666264&lt;/A&gt;</description>
      <pubDate>Mon, 10 Jun 2024 16:10:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-a-pooled-Tukey-Kramer-adjusted-p-value-after-multiple/m-p/931577#M46445</guid>
      <dc:creator>GiaLee</dc:creator>
      <dc:date>2024-06-10T16:10:52Z</dc:date>
    </item>
  </channel>
</rss>

