<?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: Inverse mills ratio when the dependent variable is not binary in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881826#M4696</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will further check on Friday (23/06) but I don't think that's possible.&lt;/P&gt;
&lt;P&gt;Your 0, 1 &amp;amp; 2 response is neither belonging to&amp;nbsp;&lt;SPAN&gt;censored or truncated continuous responses, nor to binary discrete responses.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is your&amp;nbsp;0, 1 &amp;amp; 2 response on a nominal scale or on an ordinal scale?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And does inverse Mills ratio exist for multinomial or ordinal response?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Maybe you need a&amp;nbsp;One-vs-Rest or One-vs-One approach (resulting in multiple&amp;nbsp;inverse Mills ratio's).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://machinelearningmastery.com/one-vs-rest-and-one-vs-one-for-multi-class-classification" target="_blank"&gt;https://machinelearningmastery.com/one-vs-rest-and-one-vs-one-for-multi-class-classification&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2023 22:25:01 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2023-06-21T22:25:01Z</dc:date>
    <item>
      <title>Inverse mills ratio when the dependent variable is not binary</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881742#M4693</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your help with the SAS codes. I need to use a Heckman selection model to correct for endogeneity. In the first stage of my Heckman model, the dependent variable is CEO expertise. Since there are three categories of CEO expertise in my context, the dependent variable (CEO_Expert) takes value either 0,1, or 2 (0 if the CEO is an accounting expert; 1 if a finance expert; and 2 if a sales expert). I don’t know how to obtain inverse mills ratio when the dependent variable is ternary. In the past instances when my dependent variable was a 1/0 dummy, I used proc qlim to obtain inverse mills ratio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC QLIM data = First_Stage;&lt;/P&gt;&lt;P&gt;model Y1 = X1 X2 / DISCRETE;&lt;/P&gt;&lt;P&gt;OUTPUT out=Have mills;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen only examples of using inverse Mills ratio involving binary probit selection equation. I would really appreciate it if someone shared the code to obtain inverse mills ratio when the dependent variable is not binary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 16:08:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881742#M4693</guid>
      <dc:creator>GokulK</dc:creator>
      <dc:date>2023-06-21T16:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Inverse mills ratio when the dependent variable is not binary</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881765#M4694</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Mills ratio&lt;BR /&gt;&lt;/STRONG&gt;The inverse Mills ratio can be computed for censored or truncated continuous responses, binary discrete responses, and endogenous selection variables via the MILLS option in the OUTPUT statement of SAS/ETS PROC QLIM and SAS Viya&amp;nbsp;PROC CQLIM.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 18:57:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881765#M4694</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-06-21T18:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Inverse mills ratio when the dependent variable is not binary</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881815#M4695</link>
      <description>&lt;P&gt;Thank you for replying to my post. Will you please share the code that I can use to get the inverse mills ratio when my dependent variable takes values 0,1, &amp;amp; 2? I am a novice and know only basic SAS codes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 21:37:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881815#M4695</guid>
      <dc:creator>GokulK</dc:creator>
      <dc:date>2023-06-21T21:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Inverse mills ratio when the dependent variable is not binary</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881826#M4696</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will further check on Friday (23/06) but I don't think that's possible.&lt;/P&gt;
&lt;P&gt;Your 0, 1 &amp;amp; 2 response is neither belonging to&amp;nbsp;&lt;SPAN&gt;censored or truncated continuous responses, nor to binary discrete responses.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is your&amp;nbsp;0, 1 &amp;amp; 2 response on a nominal scale or on an ordinal scale?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And does inverse Mills ratio exist for multinomial or ordinal response?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Maybe you need a&amp;nbsp;One-vs-Rest or One-vs-One approach (resulting in multiple&amp;nbsp;inverse Mills ratio's).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://machinelearningmastery.com/one-vs-rest-and-one-vs-one-for-multi-class-classification" target="_blank"&gt;https://machinelearningmastery.com/one-vs-rest-and-one-vs-one-for-multi-class-classification&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 22:25:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881826#M4696</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-06-21T22:25:01Z</dc:date>
    </item>
  </channel>
</rss>

