<?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: Help - Weighted Logistic regression for continuous variable in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102139#M5394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not understanding your ultimate goal.&amp;nbsp; Here's how I use PROC LOGISTIC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I build a logistic model. For a given value of LGD, the model predicts the probability of The Event happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use the model, I do not need to create a new data set with weights equal to probabilities. Instead, I use the OUTMODEL= option to save the model to a data set. Then when I want to score new data, I use&amp;nbsp; the INMODEL= option and the SCORE statement.&amp;nbsp; For each new observation, the model will give the probability of The Event.&amp;nbsp; I might set a cutoff value such as "if the probability of The Event happening is less than 0.8, then don't take action."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick Wicklin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2012 18:14:19 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2012-05-03T18:14:19Z</dc:date>
    <item>
      <title>Help - Weighted Logistic regression for continuous variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102138#M5393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Dear SAS Users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I am planning to build a model on a continuous variable (LGD). I would like to use logistic regression and build a scorecard for LGD by using weights. E.g. if LGD for one obligor is 70% I would like to create two observations for this obligor one with Y=0 with weight 30% and one with Y=1 with weight 70%. This way I hope to convert my observed LGD into binary variable with suitable weights for event/non event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;My question is I am confused whether I should use proc logistic with weight statement or proc survey logistic with same weights. From what I have read so far about survey logistic it seems more suitable when data is survey based with complex stratum and cluster structures. Please advise if anyone has come across this problem before. Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 07:54:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102138#M5393</guid>
      <dc:creator>Manivini123</dc:creator>
      <dc:date>2012-05-03T07:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Weighted Logistic regression for continuous variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102139#M5394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not understanding your ultimate goal.&amp;nbsp; Here's how I use PROC LOGISTIC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I build a logistic model. For a given value of LGD, the model predicts the probability of The Event happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use the model, I do not need to create a new data set with weights equal to probabilities. Instead, I use the OUTMODEL= option to save the model to a data set. Then when I want to score new data, I use&amp;nbsp; the INMODEL= option and the SCORE statement.&amp;nbsp; For each new observation, the model will give the probability of The Event.&amp;nbsp; I might set a cutoff value such as "if the probability of The Event happening is less than 0.8, then don't take action."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick Wicklin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 18:14:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102139#M5394</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2012-05-03T18:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Weighted Logistic regression for continuous variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102140#M5395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. Let me clarify a bit more. My observed dependent variable LGD is a continuous variable (values between 0% to 100% approx) and not a binary variable. Therefore the concept of event/non event is not as straightforward as in case of a binary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since my desired outcome variable is a % of amount that cannot be recovered and I want to use logistic regression, I try to modify the LGD variable into a binary variable. Essentially in my sample no observation is totally event 1 or event 0. Each observation is partially good (1-LGD) and partially bad (LGD). Thats why I duplicate each observation into two and apply weights to the 1 and 0. We have our own reasons to favor logistic over simple linear regression or decision tree although the dependent variable is continuous. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 00:45:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102140#M5395</guid>
      <dc:creator>Manivini123</dc:creator>
      <dc:date>2012-05-04T00:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Weighted Logistic regression for continuous variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102141#M5396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see. Here is a series of four blog articles on ways to deal with your problem in SAS:&lt;A href="http://statcompute.wordpress.com/2012/02/25/modeling-rates-and-proportions-in-sas-1/"&gt; Modeling Rates and Proportions in SAS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://statcompute.wordpress.com/2012/02/26/modeling-rates-and-proportions-in-sas-2/"&gt;http://statcompute.wordpress.com/2012/02/26/modeling-rates-and-proportions-in-sas-2/&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 13:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102141#M5396</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2012-05-04T13:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Weighted Logistic regression for continuous variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102142#M5397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ha! You can also try to replace the logit transformation proposed in Rick's very pertinent reference with the classical arcsin(sqrt(LGD)) variance stabilizing transformation, another classic. Compare the residual distributions from each approach to decide on the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 15:11:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102142#M5397</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-05-04T15:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Weighted Logistic regression for continuous variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102143#M5398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. I will explore the options suggested. However, although I am quite eager to try out newer statistical procedures, in a bank, sometimes its easier to sell the idea of logistic based scorecards to the senior management rather than newer procedures. Let me give it a shot. In the meanwhile, if anyone has any inputs to the use of weights in logistic regression vs weights in survey logistic please drop in your comments.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 01:17:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-Weighted-Logistic-regression-for-continuous-variable/m-p/102143#M5398</guid>
      <dc:creator>Manivini123</dc:creator>
      <dc:date>2012-05-07T01:17:27Z</dc:date>
    </item>
  </channel>
</rss>

