<?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 P values for the same variable at 2 points in time. in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505220#M25985</link>
    <description>&lt;P&gt;I would consider using the TTEST procedure with the PAIRED statement. See&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_ttest_examples03.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;this example&lt;/A&gt;&amp;nbsp;from the documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Oct 2018 17:01:50 GMT</pubDate>
    <dc:creator>sld</dc:creator>
    <dc:date>2018-10-17T17:01:50Z</dc:date>
    <item>
      <title>How to get P values for the same variable at 2 points in time.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505091#M25974</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm having a bit of trouble setting up my SAS equation here and would value some input:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The prompt&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;calculate the P values for continuous variables comparing &lt;FONT color="#993366"&gt;&lt;STRONG&gt;first values at first echo date&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;and &lt;FONT color="#993366"&gt;&lt;STRONG&gt;last echo date&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;for:&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;FONT color="#008000"&gt;Max wall thickness in &lt;/FONT&gt;&lt;FONT color="#000000"&gt;Echo &lt;STRONG&gt;1 &lt;/STRONG&gt;vs&amp;nbsp;&amp;nbsp;&lt;FONT color="#008000"&gt;Max wall thickness &lt;FONT color="#000000"&gt;in Echo&lt;/FONT&gt;&amp;nbsp;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#ff6600"&gt; &amp;nbsp; LVEDd&amp;nbsp;&amp;nbsp;&lt;FONT color="#000000"&gt;in Echo &lt;STRONG&gt;1 &lt;/STRONG&gt;vs&amp;nbsp;&lt;/FONT&gt; LVEDd&amp;nbsp;&amp;nbsp;&lt;FONT color="#008000"&gt; &lt;FONT color="#000000"&gt;in Echo&lt;/FONT&gt;&amp;nbsp;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#0000ff"&gt;EF &lt;FONT color="#ff6600"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;in Echo &lt;STRONG&gt;1 &lt;/STRONG&gt;vs &lt;FONT color="#0000ff"&gt;EF&lt;/FONT&gt; in Echo&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#ff99cc"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LA&lt;FONT color="#000000"&gt; in Echo &lt;STRONG&gt;1 &lt;/STRONG&gt;vs&amp;nbsp;&lt;FONT color="#ff99cc"&gt;LA&lt;/FONT&gt; &amp;nbsp;in Echo&amp;nbsp;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Example data looks something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ex.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24087i078310976CEC3965/image-size/large?v=v2&amp;amp;px=999" role="button" title="ex.JPG" alt="ex.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I set up the values for comparison &lt;FONT color="#008000"&gt;&amp;nbsp;Value 1&amp;nbsp;Max Wall thickness&lt;/FONT&gt; vs &lt;FONT color="#008000"&gt;Value 2 Wall thickness&amp;nbsp;&lt;/FONT&gt;&lt;STRONG&gt;AND&amp;nbsp;&lt;/STRONG&gt; &lt;FONT color="#ff6600"&gt;Value 1 LVEDd&lt;/FONT&gt; vs&lt;FONT color="#ff6600"&gt; Value 2 LVEDd&lt;/FONT&gt;&amp;nbsp;&lt;STRONG&gt;AND&amp;nbsp;&lt;/STRONG&gt;&lt;FONT color="#0000ff"&gt; EF 1 value&lt;/FONT&gt; vs. &lt;FONT color="#0000ff"&gt;EF 2&lt;/FONT&gt; value&amp;nbsp;&lt;STRONG&gt;AND&amp;nbsp;&lt;/STRONG&gt; &lt;FONT color="#ff99cc"&gt;LA 1 value &lt;/FONT&gt;vs. &lt;FONT color="#ff99cc"&gt;LA 2 value&lt;/FONT&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My guess was this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;libname&lt;/FONT&gt; Hetal &lt;FONT color="#800080"&gt;&lt;FONT color="#666699"&gt;"\\tuftsmc\home\hpatel3\SAS Class Datasets"&lt;/FONT&gt;&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;import&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;out&lt;/FONT&gt;= Hetal. ES_ Pvals &lt;FONT color="#0000FF"&gt;datafile&lt;/FONT&gt;= &lt;FONT color="#666699"&gt;"\\tuftsmc\home\hpatel3\SAS Datasets\surv_unemp.csv" &lt;/FONT&gt;&lt;FONT color="#0000FF"&gt;dbms&lt;/FONT&gt;=csv &lt;FONT color="#0000FF"&gt;replace&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;getnames&lt;/FONT&gt;=yes; &lt;FONT color="#0000FF"&gt;datarow&lt;/FONT&gt;=&lt;STRONG&gt;2&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;proc freq &lt;FONT color="#333399"&gt;data&lt;/FONT&gt;&lt;/FONT&gt;=Hetal.es_pvals &lt;FONT color="#0000FF"&gt;order&lt;/FONT&gt;=formatted;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Tables&lt;/FONT&gt; MWT1*MWT2 / chisq;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Title&lt;/FONT&gt; "&lt;FONT color="#666699"&gt;Comparison of Key variables at First Echo vs Last Echo in ES patients"&lt;/FONT&gt;;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;run&lt;/FONT&gt;;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;What I keep getting is this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="huh- pval..JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24086i9A14ADFC0695D57E/image-size/large?v=v2&amp;amp;px=999" role="button" title="huh- pval..JPG" alt="huh- pval..JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm assuming I want is a p value, ie the comparison between MWT1 and MWT2 and their association .0001 (or something).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 15:59:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505091#M25974</guid>
      <dc:creator>hpatel3</dc:creator>
      <dc:date>2018-10-17T15:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get P values for the same variable at 2 points in time.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505192#M25982</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest setting up a indicator variable to denote whether the measure comes from the first time or second time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then in your proc freq, add a by statement with the new variable. This should separate out your data and compare the variable across time points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 16:11:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505192#M25982</guid>
      <dc:creator>aebabinec</dc:creator>
      <dc:date>2018-10-17T16:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get P values for the same variable at 2 points in time.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505218#M25984</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/234906"&gt;@aebabinec&lt;/a&gt;. So instead of proc freq, I tried using a one-sample T-Test just now since I'm comparing two points of the same variable. Does that work? Is my code correct? should I be worried that some of my means are negative?(code and results attached)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pval final.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24093i7A3E99CEA42B7739/image-size/large?v=v2&amp;amp;px=999" role="button" title="pval final.JPG" alt="pval final.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And my Pvalues (and results )are thus:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P val results.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24094i9D28AEB69CA7B4C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="P val results.JPG" alt="P val results.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 17:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505218#M25984</guid>
      <dc:creator>hpatel3</dc:creator>
      <dc:date>2018-10-17T17:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get P values for the same variable at 2 points in time.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505220#M25985</link>
      <description>&lt;P&gt;I would consider using the TTEST procedure with the PAIRED statement. See&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_ttest_examples03.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;this example&lt;/A&gt;&amp;nbsp;from the documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 17:01:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505220#M25985</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-10-17T17:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to get P values for the same variable at 2 points in time.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505226#M25986</link>
      <description>That's much clear! PAIRED made it just a bit cleaner/tighter numbers. Thank you so much!</description>
      <pubDate>Wed, 17 Oct 2018 17:16:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505226#M25986</guid>
      <dc:creator>hpatel3</dc:creator>
      <dc:date>2018-10-17T17:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get P values for the same variable at 2 points in time.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505621#M26004</link>
      <description>&lt;P&gt;Examining the same variable at 2 different points is a paired design.&lt;/P&gt;&lt;P&gt;If continuous variable, then you can do T1-T2 (or T2-T1) to get the differences and then run PROC UNIVARIATE to get the p-value for Signed rank test (Null hypothesis is that the difference is equal to zero).&lt;/P&gt;&lt;P&gt;If the variable is categorical then it would be a 2x2 paired table and can use McNemar's test to get the p-value which compares the marginal frequencies. The odds ratio here would be labelled as conditional odds ratio that will be calculated using the discordant cells (Null hypothesis is OR=1).&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 15:55:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505621#M26004</guid>
      <dc:creator>tamhane</dc:creator>
      <dc:date>2018-10-18T15:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get P values for the same variable at 2 points in time.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505708#M26007</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1708"&gt;@sld&lt;/a&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/182538"&gt;@tamhane&lt;/a&gt;: It seems I don't understand this as well as I thought&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The example given by you (SLD) showed this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ex paired.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24152i7EC29A14D00E10A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ex paired.PNG" alt="ex paired.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the code I have is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pair code.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24154i5F1AB1FA1F4E8131/image-size/large?v=v2&amp;amp;px=999" role="button" title="pair code.PNG" alt="pair code.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;My data has 4 variables I am looking at at date of first echo and date of last echo. Your example has two comparison times SBP Before * SBP after. However I have 4 variables being measure at Date of first Echo and Date of Last echo:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;:MWT (mm) at time of first echo&lt;BR /&gt;MWT (mm) at time of last echo&lt;/P&gt;&lt;P&gt;EF (%)&amp;nbsp;at time of first echo&lt;/P&gt;&lt;P&gt;EF (%) at time of last echo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure what the "paired" statement code would be like for this many variables. Can you elucidate a bit? Between what variables would my asterisk go between? MWT*_____ LVEDD*_____&amp;nbsp; EF*______&amp;nbsp; LA*_____&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or would it look like something different?&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 19:10:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505708#M26007</guid>
      <dc:creator>hpatel3</dc:creator>
      <dc:date>2018-10-18T19:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get P values for the same variable at 2 points in time.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505795#M26009</link>
      <description>&lt;P&gt;In your code, you are computing the difference (time 1 - time 2), and then using that difference in proc TTEST. As you have suspected, this is not correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As noted by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/182538"&gt;@tamhane&lt;/a&gt;, you can either (1) compute the difference and then test whether the difference is zero using proc UNIVARIATE using &lt;EM&gt;differences as the response variable&lt;/EM&gt;, or (2) you can use&amp;nbsp;&lt;EM&gt;pairs of values&lt;/EM&gt; in proc TTEST with the PAIRED statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each variable--MWT, LVEDD, EF and LA--will be analyzed separately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, using TTEST with PAIRED using &lt;EM&gt;pairs of values&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc ttest data=hetal.es_pv;
   paired MWT1*MWT2;
run;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 23:21:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-P-values-for-the-same-variable-at-2-points-in-time/m-p/505795#M26009</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-10-18T23:21:37Z</dc:date>
    </item>
  </channel>
</rss>

