<?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: The use of PEVENT= in Proc Logistic in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683508#M32880</link>
    <description>Yes. PEVENT= would affect the prob of being Good or Bad .&lt;BR /&gt;By default, P above 50% is good , PEVENT= would adjust 50% according to its value .</description>
    <pubDate>Sun, 13 Sep 2020 11:02:08 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2020-09-13T11:02:08Z</dc:date>
    <item>
      <title>The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683485#M32878</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am training a binary classification model using Proc Logistic.&amp;nbsp; The classes are imbalanced at about 10% for the event 1 and 90% for the non-event 0.&amp;nbsp; I balanced the training set to about 50:50 using sampling before training.&amp;nbsp; The code used is&lt;/P&gt;
&lt;PRE&gt;proc logistic 
	Data = work.train_stdize 
	outmodel= mydata.Model_1.
	namelen=32;
	class &amp;amp;class_var. / param=ref;
	model responder(event='1') = &amp;amp;class_var. &amp;amp;num_var. / stb lackfit ctable pprob=(0.0 to 1.0 by 0.1) /* pevent=0.1 */;
	weight weight;
	score data=work.train_stdize 	fitstat out=mydata.train_scr	outroc=mydata.troc;

run;&lt;/PRE&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;I included the ctable option&amp;nbsp;to generate the classification table for each decile.&lt;/P&gt;
&lt;PRE&gt;ctable pprob=(0.0 to 1.0 by 0.1)&lt;/PRE&gt;
&lt;P&gt;Do I need to include the pevent option?&amp;nbsp; Yes or No and Why?&lt;/P&gt;
&lt;PRE&gt;pevent=0.1&lt;/PRE&gt;
&lt;P&gt;Thanks and much appreciated,&lt;/P&gt;
&lt;P&gt;Lobbie&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 02:51:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683485#M32878</guid>
      <dc:creator>Lobbie</dc:creator>
      <dc:date>2020-09-13T02:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683502#M32879</link>
      <description>&lt;P&gt;Yes, PEVENT= produces the results as if the data set were still 10% in one category and 90% in the other category, even though you create a model based of 50% in each category.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 08:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683502#M32879</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-13T08:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683508#M32880</link>
      <description>Yes. PEVENT= would affect the prob of being Good or Bad .&lt;BR /&gt;By default, P above 50% is good , PEVENT= would adjust 50% according to its value .</description>
      <pubDate>Sun, 13 Sep 2020 11:02:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683508#M32880</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-09-13T11:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683509#M32881</link>
      <description>&lt;P&gt;Hmmm&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/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Yes. PEVENT= would affect the prob of being Good or Bad .&lt;BR /&gt;By default, P above 50% is good , PEVENT= would adjust 50% according to its value .&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I think you are right, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;, and my response above was not correct. My response above was about the (similarly named) PRIOREVENT= option, not the PEVENT= option (I think).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, where &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/110849"&gt;@Lobbie&lt;/a&gt; says "The classes are imbalanced at about 10% for the event 1 and 90% for the non-event 0. I balanced the training set to about 50:50 using sampling before training", I think he really wants to use the PRIOREVENT= option and not the PEVENT= option, to get proper predictions from a dataset that is 50:50, when the original data is 10:90. But again, I add &lt;STRONG&gt;I THINK&lt;/STRONG&gt;, because I really need to read the documentation a few more times.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or maybe someone else can jump in and straighten all this out, saving me some reading and thinking &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 11:55:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683509#M32881</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-13T11:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683510#M32882</link>
      <description>Paige,&lt;BR /&gt;I think both are the same thing. You don't make a mistake .&lt;BR /&gt;PEVENT= Specifies prior event probabilities&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Sep 2020 11:59:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683510#M32882</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-09-13T11:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683511#M32883</link>
      <description>&lt;P&gt;Ok, thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;, but I'm still going to take some time and read the documentation carefully.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 12:09:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683511#M32883</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-13T12:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683513#M32884</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the documentation, PEVENT is for specifying&amp;nbsp;prior event probabilities and is only applicable under Model statement and where CTABLE option is specified.&amp;nbsp; My query was should I add PEVENT when generating the Classification Table because I trained the model on balanced classes when the proportion of my classes is 10:90.&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;I think the answer is "Yes, I should add PEVENT=0.1 along in the CTABLE option"?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PRIOREVENT on the other hand is used in the Score statement according to the documentation.&amp;nbsp; I found that if I fitted the model using Offset method, I will need to add&amp;nbsp;PRIOREVENT=0.1 in the Score statement when scoring, so that the predicted probabilities will be adjusted with prior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I fitted the model using the Weight method, I do not need to use&amp;nbsp;PRIOREVENT= when scoring.&amp;nbsp; Reason was the adjustments are already reflected in the intercept/coefficients (&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;mentioned this one of his replies, sorry I can't seem to find the thread now).&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 12:43:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683513#M32884</guid>
      <dc:creator>Lobbie</dc:creator>
      <dc:date>2020-09-13T12:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683514#M32885</link>
      <description>&lt;P&gt;Well, that's good to know, and as I said, I still have some thinking to do! Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 12:50:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683514#M32885</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-13T12:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683515#M32886</link>
      <description>&lt;P&gt;No worries&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;, and please do let me know what your thoughts are later. Really appreciate it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My hunch is both you and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;are right in your previous answers, else why would SAS have a PEVENT option to work with the CTABLE option?&amp;nbsp; Because CTABLE does not do prior adjustments by default.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 13:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683515#M32886</guid>
      <dc:creator>Lobbie</dc:creator>
      <dc:date>2020-09-13T13:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683542#M32889</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/110849"&gt;@Lobbie&lt;/a&gt; and &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;. I don't see how PRIOREVENT= and PEVENT= produce the same results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Make up some data, with 10% value of 0 and 90% value of 1 */
data a;
    do i=1 to 1000;
        if i&amp;lt;=100 then y=0;
        else y=1;
        x1=rand('normal');
        x2=rand('normal');
        output;
    end;
run;
/* Perform Logistic Regression */
proc logistic data=a;
	model y(event='1')=x1 x2;
	output out=preds predicted=pred;
run;

/* Oversample to 50-50, PEVENT=0.9 */
proc logistic data=a(where=(i&amp;lt;=200));
    model y(event='1')=x1 x2/pevent=0.9 ctable;
    output out=preds2 predicted=pred2;
run;

/* Oversample to 50-50, PRIOREVENT=0.9 */
proc logistic data=a(where=(i&amp;lt;=200));
    model y(event='1')=x1 x2;
    score out=preds3 priorevent=0.9;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;PRIOREVENT does what I think should be done given my understanding of the original problem. It's not clear to me how PEVENT applies here.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 23:42:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683542#M32889</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-13T23:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683623#M32899</link>
      <description>&lt;P&gt;Paige,&lt;BR /&gt;Very interesting . I also want know .&lt;BR /&gt;It seem that PEVENT= has nothing to do with predicted probability .It is just for Class Table(CTable). &lt;BR /&gt;According to documentation:&lt;/P&gt;
&lt;P&gt;PEVENT=value| (list)&lt;BR /&gt;specifies one prior probability or a list of prior probabilities for the event of interest. The false positive&lt;BR /&gt;and false negative rates are then computed as posterior probabilities by Bayes’ theorem.&lt;/P&gt;
&lt;P&gt;That means OP do not need PEVENT= . Only priorevent=0.9 could adjust predicted probability .&lt;BR /&gt;I mislead OP, I was wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;&amp;nbsp; could take a look ?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 11:49:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683623#M32899</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-09-14T11:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683668#M32916</link>
      <description>&lt;P&gt;Note that the OP's reference to the offset and weight methods suggests that they are using this &lt;A href="http://support.sas.com/kb/22601" target="_self"&gt;note on oversampling&lt;/A&gt;. The PEVENT= option in the MODEL statement just applies the formulas shown in the "Details:&amp;nbsp;Classification Table" section of the LOGISTIC documentation to compute the PPV, NPV, and correct classification rate. It has no effect on the predicted probabilities provided by the OUTPUT or SCORE statements. To do that and obtain posterior probabilities you need to use the PRIOR= or PRIOREVENT= option in the SCORE statement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 14:20:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683668#M32916</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-09-14T14:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683686#M32921</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Note that the OP's reference to the offset and weight methods suggests that they are using this &lt;A href="http://support.sas.com/kb/22601" target="_self"&gt;note on oversampling&lt;/A&gt;. The &lt;FONT color="#FF0000"&gt;PEVENT= option in the MODEL statement just applies the formulas shown in the "Details:&amp;nbsp;Classification Table" section of the LOGISTIC documentation to compute the PPV, NPV, and correct classification rate.&lt;/FONT&gt; It has no effect on the predicted probabilities provided by the OUTPUT or SCORE statements. To do that and obtain posterior probabilities you need to use the PRIOR= or PRIOREVENT= option in the SCORE statement.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I think the red highlighted text clears things up for me. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 15:02:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683686#M32921</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-14T15:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683829#M32930</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;, yes I am following the 22601 note and am using Weight when fitting my model.&amp;nbsp; The&amp;nbsp;&lt;SPAN&gt;"Details:&amp;nbsp;Classification Table" section of the LOGISTIC documentation stated that PEVENT should be used because I have fitted the model using a balanced training set when it was 10:90 in the beginning.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However when I did not specify the PEVENT option during the creation of CTABLE during model training, and I manually calculate PPV &amp;amp; NPV using the scored data, the results matched.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ctable.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/49369i48D136C19E93AE59/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ctable.jpg" alt="ctable.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The only explanation I can think of i.e. as to why I do not need to specify PEVENT option contrary to the recommendation in the documentation is because I fitted the model using Weight statement.&amp;nbsp; All parameters are adjusted accordingly and are used to compute the CTABLE and P_1 probabilities in the scored dataset.&amp;nbsp; This is also the reason why I do not need to specify PRIOREVENT= in the score statement when scoring.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Am I correct?&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 23:26:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/683829#M32930</guid>
      <dc:creator>Lobbie</dc:creator>
      <dc:date>2020-09-15T23:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/684016#M32943</link>
      <description>&lt;P&gt;Yes, I believe that is correct. The PEVENT= option is suggested in the documentation to enable getting these statistics when you aren't using a separate method to adjust for oversampling. So, when you use weights to adjust for the oversampling, PEVENT= wouldn't be needed in addition.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 18:08:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/684016#M32943</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-09-15T18:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/684019#M32944</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/110849"&gt;@Lobbie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The only explanation I can think of i.e. as to why I do not need to specify PEVENT option contrary to the recommendation in the documentation is because I fitted the model using Weight statement.&amp;nbsp; All parameters are adjusted accordingly and are used to compute the CTABLE and P_1 probabilities in the scored dataset.&amp;nbsp; This is also the reason why I do not need to specify PRIOREVENT= in the score statement when scoring.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hello again&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/110849"&gt;@Lobbie&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The WEIGHT statement is not used for oversampling and correction of oversampling, is it? Or is that a use for the WEIGHT statement that I am not aware of?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have always thought of the WEIGHT statement as it exists in every other PROC, if the weight variable equals 2, then this data point impacts the regression the same as if the data set had this data point twice with WEIGHT of 1.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 18:16:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/684019#M32944</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-15T18:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/684048#M32945</link>
      <description>&lt;P&gt;Yes, appropriate weighting based on the sampling is one way to adjust for oversampling as described in &lt;A href="http://support.sas.com/kb/22601" target="_self"&gt;this note&lt;/A&gt;. Of course, the WEIGHT statement can also be used as in other procedures to apply differential weighting of the observations.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 19:52:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/684048#M32945</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-09-15T19:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: The use of PEVENT= in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/684074#M32946</link>
      <description>&lt;P&gt;This definitely cleared the confusion I had in regards to the use of PEVENT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;.&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;, thank you for taking the time to answer this and the discussions.&amp;nbsp; much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 23:33:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-use-of-PEVENT-in-Proc-Logistic/m-p/684074#M32946</guid>
      <dc:creator>Lobbie</dc:creator>
      <dc:date>2020-09-15T23:33:21Z</dc:date>
    </item>
  </channel>
</rss>

