<?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 logistic and WEIGHT in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-and-WEIGHT/m-p/47386#M2068</link>
    <description>I think this note may address your question:&lt;BR /&gt;
&lt;BR /&gt;
   &lt;A href="http://support.sas.com/kb/22600" target="_blank"&gt;http://support.sas.com/kb/22600&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
The answers to many questions can be found in the Samples and SAS Notes in our searchable knowledgebase, &lt;A href="http://support.sas.com/kb" target="_blank"&gt;http://support.sas.com/kb&lt;/A&gt;.  You can use the search engine there to find the answers you need.</description>
    <pubDate>Tue, 07 Jul 2009 14:38:00 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2009-07-07T14:38:00Z</dc:date>
    <item>
      <title>Proc logistic and WEIGHT</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-and-WEIGHT/m-p/47385#M2067</link>
      <description>Hello,&lt;BR /&gt;
My question is about the different ways to weight observation with proc logistic. Are those 4 ways equivalent ?&lt;BR /&gt;
 - proc logistic WEIGHT option&lt;BR /&gt;
 - proc logistic FERQ option&lt;BR /&gt;
 - proc logistic EVENTS/TRAILS = &lt;EFFECT&gt; type model&lt;BR /&gt;
 - proc logistic on a data base wher all observations appears as often as necessary in the database to simulate the wanted weight.&lt;BR /&gt;
&lt;BR /&gt;
At first glimpse, it seems that the obtained model is the same in the 4 cases (at least, in the tested example below).&lt;BR /&gt;
&lt;BR /&gt;
However, the statistics of rank correlation (like Sommer's D) are not the same when we use the WEIGHT option than the 3 other ways.&lt;BR /&gt;
WEIGHT however is more easy to use as non-integer figures can be used.&lt;BR /&gt;
&lt;BR /&gt;
=&amp;gt; Does someone have some knowledge on the difference and advantages of the 4 presented ways ? Do they always give the same results (execpt for rank correlation) ?&lt;BR /&gt;
&lt;BR /&gt;
Here is a SAS example : &lt;BR /&gt;
DATA TABLE_trials;&lt;BR /&gt;
    input Y  X trials events ;&lt;BR /&gt;
    datalines;&lt;BR /&gt;
   1  1.9    1   1&lt;BR /&gt;
   1  1.4    10  10&lt;BR /&gt;
   0   .8    10  0&lt;BR /&gt;
   0   .7    1   0&lt;BR /&gt;
   1  1.3    1   1&lt;BR /&gt;
   0   .6    1   0&lt;BR /&gt;
   1  1      1   1&lt;BR /&gt;
   0  1.9    1   0&lt;BR /&gt;
   0   .8    1   0&lt;BR /&gt;
   0   .5    1   0&lt;BR /&gt;
   ;&lt;BR /&gt;
DATA TABLE_nb (DROP = i trials events);&lt;BR /&gt;
    SET TABLE_trials ;&lt;BR /&gt;
    do i = 1 TO trials ; output ; end ; &lt;BR /&gt;
run ;&lt;BR /&gt;
/*1*/ proc logistic DATA=TABLE_trials ; model Y = X ; weight trials ; &lt;BR /&gt;
/*2*/ proc logistic DATA=TABLE_trials ; model Y = X ; freq   trials ; &lt;BR /&gt;
/*3*/ proc logistic DATA=TABLE_trials ; model events/trials = X ;                 &lt;BR /&gt;
/*4*/ proc logistic DATA=TABLE_nb     ; model Y = X  ; run;&lt;/EFFECT&gt;</description>
      <pubDate>Mon, 22 Jun 2009 08:18:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-and-WEIGHT/m-p/47385#M2067</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-22T08:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc logistic and WEIGHT</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-and-WEIGHT/m-p/47386#M2068</link>
      <description>I think this note may address your question:&lt;BR /&gt;
&lt;BR /&gt;
   &lt;A href="http://support.sas.com/kb/22600" target="_blank"&gt;http://support.sas.com/kb/22600&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
The answers to many questions can be found in the Samples and SAS Notes in our searchable knowledgebase, &lt;A href="http://support.sas.com/kb" target="_blank"&gt;http://support.sas.com/kb&lt;/A&gt;.  You can use the search engine there to find the answers you need.</description>
      <pubDate>Tue, 07 Jul 2009 14:38:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-logistic-and-WEIGHT/m-p/47386#M2068</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2009-07-07T14:38:00Z</dc:date>
    </item>
  </channel>
</rss>

