<?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: Longitudinal Analysis with a Small Sample in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Longitudinal-Analysis-with-a-Small-Sample/m-p/330870#M17475</link>
    <description>&lt;P&gt;First, take a look at Frank Harrell's website here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://biostat.mc.vanderbilt.edu/wiki/Main/ManuscriptChecklist" target="_blank"&gt;http://biostat.mc.vanderbilt.edu/wiki/Main/ManuscriptChecklist&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using that as a guideline, i'll try to answer the four questions you pose.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. If I put the pressure as a DV, and the Time as IV, it will include the baseline in it. Should I, or can I, enter the pressure at baseline as another covariate, or is it problematic? If I can't, how do I control for different baseline levels ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I would use the baseline as a covariate for comparisons of the post baseline lsmeans. &amp;nbsp;If comparison of these to the baseline is what you want, then an RMANOVA is in order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Is it legal to enter the pressure change from baseline as a DV (after I calculate this variable) ? Now obviousaly I wish to test if the mean at any time point is not 0, how do I do that ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; I would NOT do this. &amp;nbsp;See Harrell's comments.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. What is the SAS code for models 1 and 2 ? I assume it will be either PROC MIXED or PROC GENMOD ( I am using SAS 9.4 but do not have the new PROC GEE yet) ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* RMANOVA */
proc mixed data=yourdata;
class time subject_id;
model bp = time / ddfm=kr;
repeated time / subject = subject_id type=&amp;lt;choose from ar(1), arh(1), sp(pow) depending on spacing and homogeneity of variance across time&amp;gt;;
lsmeans time / diff cl adjust=simulate(seed=1 cvadjust) adjdfe=row;
run;

/ *RMANCOVA */ 
/* Here time excludes the baseline point */
proc mixed data=yourdata;
class time subject_id;
model bp = time baseline_bp / ddfm=kr;
repeated time / subject = subject_id type=&amp;lt;choose from ar(1), arh(1), sp(pow) depending on spacing and homogeneity of variance across time&amp;gt;;
lsmeans time / diff cl adjust=simulate(seed=1 cvadjust) adjdfe=row;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. In the case of a sample sample, how bad is it to simple to a paired t-test of Wilcoxson signed rank test for each time point vs. Baseline ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; My opinion--this assumes a perfect correlation of all the timepoints with the baseline, plus there is no adjustment for the multiple comparisons. &amp;nbsp;This equals "bad idea" in my book.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2017 15:51:23 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2017-02-08T15:51:23Z</dc:date>
    <item>
      <title>Longitudinal Analysis with a Small Sample</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Longitudinal-Analysis-with-a-Small-Sample/m-p/330410#M17463</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a samll data (N=7) with a longitudinal nature, and I am not sure how to analyze it. I am interested in a practical solution as well as an understanding of the correct one in case I had a larger sample.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My DV of interest is blood pressure. It is measured for each subject at baseline, and at several other time points post-treatment. There is only one group (one arm study).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My variables are: ID, Pressure (continuous), Time (categorical), Pressure at Baseline (I copied the values of the first time point into a column). The data is in long format, like SAS "likes it".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The differences between baseline and post treatment time points are relatively high (at the first time point the mean of difference is around 17, with a SD of 7). A simle Wilcoxon signed rank test is significant, despite the small sample.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming that I had more data, what would be the correct way of analyzing this data ? My dilemma is which model is the best one. I wish to eventually compare the time points, each one to each one, but with a priority on comparing each time point to baseline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The questions are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. If I put the pressure as a DV, and the Time as IV, it will include the baseline in it. Should I, or can I, enter the pressure at baseline as another covariate, or is it problematic? If I can't, how do I control for different baseline levels ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Is it legal to enter the pressure change from baseline as a DV (after I calculate this variable) ? Now obviousaly I wish to test if the mean at any time point is not 0, how do I do that ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. What is the SAS code for models 1 and 2 ? I assume it will be either PROC MIXED or PROC GENMOD ( I am using SAS 9.4 but do not have the new PROC GEE yet) ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. In the case of a sample sample, how bad is it to simple to a paired t-test of Wilcoxson signed rank test for each time point vs. Baseline ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance !&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 12:31:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Longitudinal-Analysis-with-a-Small-Sample/m-p/330410#M17463</guid>
      <dc:creator>BlueNose</dc:creator>
      <dc:date>2017-02-07T12:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Longitudinal Analysis with a Small Sample</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Longitudinal-Analysis-with-a-Small-Sample/m-p/330870#M17475</link>
      <description>&lt;P&gt;First, take a look at Frank Harrell's website here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://biostat.mc.vanderbilt.edu/wiki/Main/ManuscriptChecklist" target="_blank"&gt;http://biostat.mc.vanderbilt.edu/wiki/Main/ManuscriptChecklist&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using that as a guideline, i'll try to answer the four questions you pose.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. If I put the pressure as a DV, and the Time as IV, it will include the baseline in it. Should I, or can I, enter the pressure at baseline as another covariate, or is it problematic? If I can't, how do I control for different baseline levels ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I would use the baseline as a covariate for comparisons of the post baseline lsmeans. &amp;nbsp;If comparison of these to the baseline is what you want, then an RMANOVA is in order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Is it legal to enter the pressure change from baseline as a DV (after I calculate this variable) ? Now obviousaly I wish to test if the mean at any time point is not 0, how do I do that ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; I would NOT do this. &amp;nbsp;See Harrell's comments.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. What is the SAS code for models 1 and 2 ? I assume it will be either PROC MIXED or PROC GENMOD ( I am using SAS 9.4 but do not have the new PROC GEE yet) ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* RMANOVA */
proc mixed data=yourdata;
class time subject_id;
model bp = time / ddfm=kr;
repeated time / subject = subject_id type=&amp;lt;choose from ar(1), arh(1), sp(pow) depending on spacing and homogeneity of variance across time&amp;gt;;
lsmeans time / diff cl adjust=simulate(seed=1 cvadjust) adjdfe=row;
run;

/ *RMANCOVA */ 
/* Here time excludes the baseline point */
proc mixed data=yourdata;
class time subject_id;
model bp = time baseline_bp / ddfm=kr;
repeated time / subject = subject_id type=&amp;lt;choose from ar(1), arh(1), sp(pow) depending on spacing and homogeneity of variance across time&amp;gt;;
lsmeans time / diff cl adjust=simulate(seed=1 cvadjust) adjdfe=row;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. In the case of a sample sample, how bad is it to simple to a paired t-test of Wilcoxson signed rank test for each time point vs. Baseline ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; My opinion--this assumes a perfect correlation of all the timepoints with the baseline, plus there is no adjustment for the multiple comparisons. &amp;nbsp;This equals "bad idea" in my book.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 15:51:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Longitudinal-Analysis-with-a-Small-Sample/m-p/330870#M17475</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2017-02-08T15:51:23Z</dc:date>
    </item>
  </channel>
</rss>

