<?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: PROC GEE ERROR: within effect should be unique in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GEE-ERROR-within-effect-should-be-unique/m-p/491694#M25521</link>
    <description>&lt;P&gt;Do you have duplicates within subject and time?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can run a proc freq to check that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=ironstat4;
table tovid*time / out=check (where=(count&amp;gt;1));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If the data set named CHECK is empty it's something else. If not, those records have duplicates for subject time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/229792"&gt;@AmaraEzeamama&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am trying to run the following program for analysis of repeated measures multinomial data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc gee data=ironstat4;&lt;BR /&gt;class tovid anemia_type baseline_anemia_type time_ ;&lt;BR /&gt;model anemia_type=baseline_anemia_type / dist=multinomial link=glogit;&lt;BR /&gt;repeated subject=tovid /within=time;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;subjects are uniquely identified via the variable "tovid".&amp;nbsp; I have three repeated assessments with periods of assessment represented by "time_).&amp;nbsp; I simply don't understand this error and/or what I can do to resolve it.&amp;nbsp; I'd appreciate any thoughts to help me move forward.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Aug 2018 17:06:14 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-08-31T17:06:14Z</dc:date>
    <item>
      <title>PROC GEE ERROR: within effect should be unique</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GEE-ERROR-within-effect-should-be-unique/m-p/491674#M25519</link>
      <description>&lt;P&gt;I am trying to run the following program for analysis of repeated measures multinomial data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc gee data=ironstat4;&lt;BR /&gt;class tovid anemia_type baseline_anemia_type time_ ;&lt;BR /&gt;model anemia_type=baseline_anemia_type / dist=multinomial link=glogit;&lt;BR /&gt;repeated subject=tovid /within=time;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;subjects are uniquely identified via the variable "tovid".&amp;nbsp; I have three repeated assessments with periods of assessment represented by "time_).&amp;nbsp; I simply don't understand this error and/or what I can do to resolve it.&amp;nbsp; I'd appreciate any thoughts to help me move forward.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 15:40:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GEE-ERROR-within-effect-should-be-unique/m-p/491674#M25519</guid>
      <dc:creator>AmaraEzeamama</dc:creator>
      <dc:date>2018-08-31T15:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GEE ERROR: within effect should be unique</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GEE-ERROR-within-effect-should-be-unique/m-p/491694#M25521</link>
      <description>&lt;P&gt;Do you have duplicates within subject and time?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can run a proc freq to check that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=ironstat4;
table tovid*time / out=check (where=(count&amp;gt;1));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If the data set named CHECK is empty it's something else. If not, those records have duplicates for subject time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/229792"&gt;@AmaraEzeamama&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am trying to run the following program for analysis of repeated measures multinomial data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc gee data=ironstat4;&lt;BR /&gt;class tovid anemia_type baseline_anemia_type time_ ;&lt;BR /&gt;model anemia_type=baseline_anemia_type / dist=multinomial link=glogit;&lt;BR /&gt;repeated subject=tovid /within=time;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;subjects are uniquely identified via the variable "tovid".&amp;nbsp; I have three repeated assessments with periods of assessment represented by "time_).&amp;nbsp; I simply don't understand this error and/or what I can do to resolve it.&amp;nbsp; I'd appreciate any thoughts to help me move forward.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 17:06:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GEE-ERROR-within-effect-should-be-unique/m-p/491694#M25521</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-08-31T17:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GEE ERROR: within effect should be unique</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GEE-ERROR-within-effect-should-be-unique/m-p/491697#M25524</link>
      <description>Thank you Reeza: This check allowed me to solve the problem. So thankful for your assistance!</description>
      <pubDate>Fri, 31 Aug 2018 17:16:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GEE-ERROR-within-effect-should-be-unique/m-p/491697#M25524</guid>
      <dc:creator>AmaraEzeamama</dc:creator>
      <dc:date>2018-08-31T17:16:58Z</dc:date>
    </item>
  </channel>
</rss>

