<?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: t-values for PROC MIXED in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/t-values-for-PROC-MIXED/m-p/867891#M42901</link>
    <description>&lt;P&gt;We're mostly concerned with the pairwise comparisons following a significant treatment or treatment by time interaction, at which point each timepoint is analyzed with the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc mixed data=Result;
class subject treatment;
model result = baseline subject treatment;
lsmeans treatment / adjust=dunnett;
run; quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Finding the standard error of the difference in lsmeans is easy enough, but I'm not sure how to find the 2 t-values &lt;STRONG&gt;&lt;U&gt;[t(.05,ddf) + t(.80,ddf)],&lt;/U&gt;&lt;/STRONG&gt; which will be multiplied by the stderr of the difference in lsmeans.&amp;nbsp; Here is an example output:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;&lt;CODE class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-04-03 164613.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/82297i88A3CCA9582165D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-04-03 164613.png" alt="Screenshot 2023-04-03 164613.png" /&gt;&lt;/span&gt;&lt;/CODE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 23:47:27 GMT</pubDate>
    <dc:creator>stats2554</dc:creator>
    <dc:date>2023-04-03T23:47:27Z</dc:date>
    <item>
      <title>t-values for PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/t-values-for-PROC-MIXED/m-p/867872#M42897</link>
      <description>&lt;P&gt;I've performed a repeated measures ANCOVA with PROC MIXED (effects:&amp;nbsp; Treatment, Time, TreatmentxTime) and have the results I need from the pairwise comparisons with Dunnett's.&amp;nbsp; I now need to determine minimum detectable difference using a formula I was given.&amp;nbsp; I have the standard error of the difference between LSMeans but I need to compute the following t-values for the equation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;[t(.05,ddf) + t(.80,ddf)]&amp;nbsp;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the best way of determining this value from my results output?&amp;nbsp; ddf=denominator degrees from Treatment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 21:31:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/t-values-for-PROC-MIXED/m-p/867872#M42897</guid>
      <dc:creator>stats2554</dc:creator>
      <dc:date>2023-04-03T21:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: t-values for PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/t-values-for-PROC-MIXED/m-p/867883#M42900</link>
      <description>&lt;P&gt;There are multiple statements that will result in tvalues of one sort or another in Proc Mixed output.&lt;/P&gt;
&lt;P&gt;If you have one or more ESTIMATE statements then that is one of the more common statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might help to start by showing the code you are currently using as well.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 23:13:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/t-values-for-PROC-MIXED/m-p/867883#M42900</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-04-03T23:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: t-values for PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/t-values-for-PROC-MIXED/m-p/867891#M42901</link>
      <description>&lt;P&gt;We're mostly concerned with the pairwise comparisons following a significant treatment or treatment by time interaction, at which point each timepoint is analyzed with the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc mixed data=Result;
class subject treatment;
model result = baseline subject treatment;
lsmeans treatment / adjust=dunnett;
run; quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Finding the standard error of the difference in lsmeans is easy enough, but I'm not sure how to find the 2 t-values &lt;STRONG&gt;&lt;U&gt;[t(.05,ddf) + t(.80,ddf)],&lt;/U&gt;&lt;/STRONG&gt; which will be multiplied by the stderr of the difference in lsmeans.&amp;nbsp; Here is an example output:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;&lt;CODE class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-04-03 164613.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/82297i88A3CCA9582165D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-04-03 164613.png" alt="Screenshot 2023-04-03 164613.png" /&gt;&lt;/span&gt;&lt;/CODE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 23:47:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/t-values-for-PROC-MIXED/m-p/867891#M42901</guid>
      <dc:creator>stats2554</dc:creator>
      <dc:date>2023-04-03T23:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: t-values for PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/t-values-for-PROC-MIXED/m-p/868017#M42906</link>
      <description>&lt;P&gt;I am not sure what you mean by &lt;STRONG&gt;&lt;U&gt;t(.05,ddf)&lt;/U&gt;&lt;/STRONG&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS has several functions related to returning values from distributions. I suspect you may want one of these but insufficient information for sure.&lt;/P&gt;
&lt;PRE&gt;data example;
   a1 = cdf('T',0.05,2);
   a2 = pdf('T',0.05,2);
run;&lt;/PRE&gt;
&lt;P&gt;Return values for the T distribution cumulative density function and probability density functions. The first parameter is the distribution name. The other parameters depend on the distribution. There are also SDF (and LOGC/P/Sdf) and Quantile functions for different pieces.&lt;/P&gt;
&lt;P&gt;2 above is the Degrees of Freedom.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 16:25:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/t-values-for-PROC-MIXED/m-p/868017#M42906</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-04-04T16:25:22Z</dc:date>
    </item>
  </channel>
</rss>

