<?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: Repeated mesurements with continous time and censored Y in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-mesurements-with-continous-time-and-censored-Y/m-p/160667#M8356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And thanks for the idea of using a Bayesian approach. I will certainly give PROC MCMC a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Petter Lindgren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2015 12:14:07 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2015-02-12T12:14:07Z</dc:date>
    <item>
      <title>Repeated mesurements with continous time and censored Y</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-mesurements-with-continous-time-and-censored-Y/m-p/160665#M8354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have x variables describing water properties that I want to correlate to water pollution (Y). Data are from different water utilities with repeated measurements with irregular time intervals.&lt;/P&gt;&lt;P&gt;I don’t expect any linear time effect on Y in the long run (the sampling were done for more than one year) but I would like model the correlation between the repeated measurements within each water utility. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the SAS syntax to accomplish this?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Proc Mixed Data=water_qual;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;class water_util;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Model y = x1 x2&amp;nbsp; x3 x4 water_util/ solution DDFM=kr;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Random days / Subject=water_util type=un solution;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Run;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another problem I have is that Y is left-censored. I can't find any mixed model repeated measurement that takes censored data into account. Anyone has suggestion? If the Null Model Likelihood Ratio Test for the model above (for the non-censored data) is close to 1 it means that it is not necessary to model the covariance structure of the data at all and I can use a tobit model (in proc lifereg) to deal with the censored data. But how to deal with the censored data if the &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Null Model Likelihood Ratio Test is significant?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 09:52:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-mesurements-with-continous-time-and-censored-Y/m-p/160665#M8354</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-02-10T09:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated mesurements with continous time and censored Y</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-mesurements-with-continous-time-and-censored-Y/m-p/160666#M8355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WARNING: I have not done this, but it looks like it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps PROC MCMC will work.&amp;nbsp; You would have to specify the repeated measures as something like a G side matrix.&amp;nbsp; There is something like a repeated measures analysis in the Details: MCMC Procedure &amp;gt; Functions of Random-Effects Parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it comes down to specifying distributions and priors and a whole lot of art.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think checking for structure of the repeated measures is a logical way to proceed, followed by the tobit regression if it looks like there is no real structure to the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 18:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-mesurements-with-continous-time-and-censored-Y/m-p/160666#M8355</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-02-10T18:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated mesurements with continous time and censored Y</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-mesurements-with-continous-time-and-censored-Y/m-p/160667#M8356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And thanks for the idea of using a Bayesian approach. I will certainly give PROC MCMC a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Petter Lindgren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 12:14:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-mesurements-with-continous-time-and-censored-Y/m-p/160667#M8356</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-02-12T12:14:07Z</dc:date>
    </item>
  </channel>
</rss>

