<?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 Time series with decreasing sample sizes what is the best way to analyze the data? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Time-series-with-decreasing-sample-sizes-what-is-the-best-way-to/m-p/594141#M28995</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my first time here. Could you please help me on how to best analyze my data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started off with 30 animals and we took blood samples for hour 0 (pre-toxin exposure; baseline) and killed 6 of them for organ collection.&lt;/P&gt;&lt;P&gt;At hour 3 (post-toxin exposure), I had 24 animals for blood collection and another 6 killed for organ collection.&lt;/P&gt;&lt;P&gt;At hour 6 (post-toxin exposure), I had 18 animals for blood collection and another 6 killed for organ collection.&lt;/P&gt;&lt;P&gt;At hour 12 (post-toxin exposure), I had 12 animals for blood collection and another 6 killed for organ collection.&lt;/P&gt;&lt;P&gt;At hour 24 (post-toxin exposure), I had 6 animals left for blood and organ collection.&lt;/P&gt;&lt;P&gt;All animals had the same treatment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal was to see the effect of the toxin exposed in time series.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could I analyze my data on blood collection? This is not a repeated measure because I lost 6 animals in each time period (if it is please give me a bit of advice).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could think of trend analysis as you can see from the code I have here.&lt;/P&gt;&lt;P&gt;For pairwise comparison, is it acceptable to do when each hour did not have the same animals (6 animals less)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc glm data =A1;&lt;BR /&gt;class hour;&lt;BR /&gt;Model BW = hour;&lt;BR /&gt;Lsmeans hour / stderr CL Lines pdiff adjust=tukey ;&lt;BR /&gt;Contrast "Linear" hour -0.474342 -0.316228 -0.158114 0.1581139 0.7905694;&lt;BR /&gt;Contrast "Quadratic" hour 0.5459642 0.0352235 -0.334623 -0.651635 0.4050702;&lt;BR /&gt;Contrast "Cubic or LoF" hour -0.469987 0.4222581 0.5143463 -0.570498 0.10388;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2019 15:59:54 GMT</pubDate>
    <dc:creator>aparach</dc:creator>
    <dc:date>2019-10-04T15:59:54Z</dc:date>
    <item>
      <title>Time series with decreasing sample sizes what is the best way to analyze the data?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Time-series-with-decreasing-sample-sizes-what-is-the-best-way-to/m-p/594141#M28995</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my first time here. Could you please help me on how to best analyze my data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started off with 30 animals and we took blood samples for hour 0 (pre-toxin exposure; baseline) and killed 6 of them for organ collection.&lt;/P&gt;&lt;P&gt;At hour 3 (post-toxin exposure), I had 24 animals for blood collection and another 6 killed for organ collection.&lt;/P&gt;&lt;P&gt;At hour 6 (post-toxin exposure), I had 18 animals for blood collection and another 6 killed for organ collection.&lt;/P&gt;&lt;P&gt;At hour 12 (post-toxin exposure), I had 12 animals for blood collection and another 6 killed for organ collection.&lt;/P&gt;&lt;P&gt;At hour 24 (post-toxin exposure), I had 6 animals left for blood and organ collection.&lt;/P&gt;&lt;P&gt;All animals had the same treatment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal was to see the effect of the toxin exposed in time series.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could I analyze my data on blood collection? This is not a repeated measure because I lost 6 animals in each time period (if it is please give me a bit of advice).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could think of trend analysis as you can see from the code I have here.&lt;/P&gt;&lt;P&gt;For pairwise comparison, is it acceptable to do when each hour did not have the same animals (6 animals less)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc glm data =A1;&lt;BR /&gt;class hour;&lt;BR /&gt;Model BW = hour;&lt;BR /&gt;Lsmeans hour / stderr CL Lines pdiff adjust=tukey ;&lt;BR /&gt;Contrast "Linear" hour -0.474342 -0.316228 -0.158114 0.1581139 0.7905694;&lt;BR /&gt;Contrast "Quadratic" hour 0.5459642 0.0352235 -0.334623 -0.651635 0.4050702;&lt;BR /&gt;Contrast "Cubic or LoF" hour -0.469987 0.4222581 0.5143463 -0.570498 0.10388;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 15:59:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Time-series-with-decreasing-sample-sizes-what-is-the-best-way-to/m-p/594141#M28995</guid>
      <dc:creator>aparach</dc:creator>
      <dc:date>2019-10-04T15:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Time series with decreasing sample sizes what is the best way to analyze the data?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Time-series-with-decreasing-sample-sizes-what-is-the-best-way-to/m-p/599599#M29156</link>
      <description>&lt;P&gt;I agree that the design does not involve repeated measurements for the organ collection data, because each animal was assigned to only one level of HOUR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, there &lt;EM&gt;are&lt;/EM&gt; repeated measurements on animals for the blood sample data. You have 5 measurements over time for 6 animals, 4 measurements over time for 12 animals, 3 measurements over time for 18 animals, and 2 measurements over time for 24 animals.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that, theoretically, if animals were randomly selected for sacrifice HOUR, you could proceed with modeling while assuming that the missing data were missing at random. But this is a relatively small study, and I would not make this assumption without considering the possibility of bias in the "random selection" for sacrifice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would plot the values of a given blood variable over all HOURs for each animal. Based on this plot, I would visually assess whether animals are tracking through time in a similar fashion, or whether some animals are following their own path through time. This plot would also inform you about the shape of the relationship through time; you might be able to use a more parsimonious model that the curvilinear model you are currently using, for example, an exponential decay model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Given that the analysis of blood variables requires a mixed model, you'll want to switch to GLIMMIX or MIXED for analysis. You could also consider different ways to incorporate the pre-toxin measurements in your statistical model, particularly if the pre-toxin values varied appreciably among animals.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A regression on HOUR for each animal could be addressed with a random coefficients model (which essentially is a regression in a mixed model).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps move your analysis forward.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2019 02:58:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Time-series-with-decreasing-sample-sizes-what-is-the-best-way-to/m-p/599599#M29156</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2019-10-27T02:58:52Z</dc:date>
    </item>
  </channel>
</rss>

