<?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: subject in repeated statement of proc mixed in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/subject-in-repeated-statement-of-proc-mixed/m-p/159821#M8314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the only reason for using the &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;parentheses notation? If I create a unique id at patient level, I don't need &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;parentheses notation&lt;/SPAN&gt;? I am really confused when people start to talk about nested or crossover effects. I thought the parentheses notation has sth. to do with the model itself......&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Peter&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Oct 2014 12:37:38 GMT</pubDate>
    <dc:creator>Peter_Y</dc:creator>
    <dc:date>2014-10-09T12:37:38Z</dc:date>
    <item>
      <title>subject in repeated statement of proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/subject-in-repeated-statement-of-proc-mixed/m-p/159818#M8311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I hope to run a mixed model with proc mixed but get confused by the syntax of subject option in the repeated statement. Suppose we have several clinical trials which collects variables: response, treatment, patient_id, baseline, study_id. I saw someone using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;proc mixed;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;class patient_id drug;&lt;/P&gt;&lt;P&gt;model response = baseline treatment;&lt;/P&gt;&lt;P&gt;repeated / subject=study_id(patient_id) group=study_id;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what does "study_id(patient_id)" means? None of the SAS books I have specify subject variable with another variable in parenthesis next to it. Really confused......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 15:57:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/subject-in-repeated-statement-of-proc-mixed/m-p/159818#M8311</guid>
      <dc:creator>Peter_Y</dc:creator>
      <dc:date>2014-09-25T15:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: subject in repeated statement of proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/subject-in-repeated-statement-of-proc-mixed/m-p/159819#M8312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although i think your code is typo&lt;/P&gt;&lt;P&gt;but this mean that you specify that your data is nested&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this for more clarification&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thejuliagroup.com/documents/procmixed1.pdf" title="http://www.thejuliagroup.com/documents/procmixed1.pdf"&gt;http://www.thejuliagroup.com/documents/procmixed1.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 22:02:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/subject-in-repeated-statement-of-proc-mixed/m-p/159819#M8312</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2014-09-25T22:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: subject in repeated statement of proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/subject-in-repeated-statement-of-proc-mixed/m-p/159820#M8313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a high likelihood that patient_id is unique within a study, but may not be across studies.&amp;nbsp; This nested characteristic gives rise to the parentheses notation.&amp;nbsp; However, if you inspect the parameterization documentation for PROC MIXED, you find that study_id(patient_id) and study_id*patient_id have identical matrix representations.&amp;nbsp; The repeated statement in the code snippet you provided thus guarantees (provide the data are clean) unique identification of each subject, and separate variance components due to study.&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>Fri, 03 Oct 2014 18:03:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/subject-in-repeated-statement-of-proc-mixed/m-p/159820#M8313</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-10-03T18:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: subject in repeated statement of proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/subject-in-repeated-statement-of-proc-mixed/m-p/159821#M8314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the only reason for using the &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;parentheses notation? If I create a unique id at patient level, I don't need &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;parentheses notation&lt;/SPAN&gt;? I am really confused when people start to talk about nested or crossover effects. I thought the parentheses notation has sth. to do with the model itself......&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Peter&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 12:37:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/subject-in-repeated-statement-of-proc-mixed/m-p/159821#M8314</guid>
      <dc:creator>Peter_Y</dc:creator>
      <dc:date>2014-10-09T12:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: subject in repeated statement of proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/subject-in-repeated-statement-of-proc-mixed/m-p/159822#M8315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If patient id is unique, then you don't need the parenteheses (or crossed, for that matter) notation.&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, 14 Oct 2014 11:30:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/subject-in-repeated-statement-of-proc-mixed/m-p/159822#M8315</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-10-14T11:30:48Z</dc:date>
    </item>
  </channel>
</rss>

