<?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: How to use proc genmode with a large sample size? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-genmode-with-a-large-sample-size/m-p/356851#M18722</link>
    <description>&lt;P&gt;1) try PROC HPMIXED&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) try PROC GEE&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 May 2017 12:24:43 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2017-05-08T12:24:43Z</dc:date>
    <item>
      <title>How to use proc genmode with a large sample size?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-genmode-with-a-large-sample-size/m-p/356739#M18718</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to us proc genmode with repeated measures. but with a good sample size (1,000,000 id )?&lt;/P&gt;
&lt;P&gt;How does it work? When I put subject=Customer_id, it doesn't seem to work as I guess because my sample size is big?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="E2049"&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="qowt-font3-CourierNew"&gt;genmod&lt;/SPAN&gt; &lt;SPAN class="qowt-font3-CourierNew"&gt;data&lt;/SPAN&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;=work.modelling_dataset;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="E2054"&gt;&lt;STRONG&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;class&lt;/SPAN&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt; id; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="E2059"&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;model&lt;/SPAN&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;&amp;nbsp;target=no_trans&amp;nbsp;week; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="E2082"&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;repeated&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt; subject = id&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt; / &lt;/SPAN&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;type&lt;/SPAN&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;=exch &lt;/SPAN&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;corrw&lt;/SPAN&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;; &lt;/SPAN&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;run&lt;/SPAN&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;; &lt;/SPAN&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;quit&lt;/SPAN&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="E2082"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="E2082"&gt;&lt;SPAN class="qowt-font3-CourierNew"&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2017 20:08:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-genmode-with-a-large-sample-size/m-p/356739#M18718</guid>
      <dc:creator>Question</dc:creator>
      <dc:date>2017-05-07T20:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use proc genmode with a large sample size?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-genmode-with-a-large-sample-size/m-p/356851#M18722</link>
      <description>&lt;P&gt;1) try PROC HPMIXED&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) try PROC GEE&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 12:24:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-genmode-with-a-large-sample-size/m-p/356851#M18722</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-05-08T12:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use proc genmode with a large sample size?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-genmode-with-a-large-sample-size/m-p/356879#M18726</link>
      <description>Thank You Ksharp for your response!&lt;BR /&gt;&lt;BR /&gt;How do I score a new dataset using the results of the model below. Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc hpmixed data=work.MODELLIND_DATASET ;&lt;BR /&gt;      class customer_id P_Band Region;&lt;BR /&gt;      model Target =P_Band no_transacted Region/ s;&lt;BR /&gt; random customer_id  / s;&lt;BR /&gt; output out=work.P_pred pred=p resid=r;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Mon, 08 May 2017 14:25:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-genmode-with-a-large-sample-size/m-p/356879#M18726</guid>
      <dc:creator>Question</dc:creator>
      <dc:date>2017-05-08T14:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use proc genmode with a large sample size?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-genmode-with-a-large-sample-size/m-p/357146#M18757</link>
      <description>&lt;P&gt;One thing I could think is appending the TEST data at the end of TRAIN data&lt;/P&gt;
&lt;P&gt;( target variable should be missing in your TEST data).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc append base=&lt;SPAN&gt;MODELLIND_DATASET data=TEST force;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;proc hpmixed data=MODELLIND_DATASET;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;..............&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;output ......&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And use OUTPUT to score the TEST data.&lt;/P&gt;
&lt;P&gt;And hope you can get the predicted value in output dataset.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 12:09:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-genmode-with-a-large-sample-size/m-p/357146#M18757</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-05-09T12:09:51Z</dc:date>
    </item>
  </channel>
</rss>

