<?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 Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881743#M348414</link>
    <description>&lt;P&gt;Thank you Ksharp. I will post my question &lt;SPAN&gt;at Forecasting Forum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&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:11:28 GMT</pubDate>
    <dc:creator>GokulK</dc:creator>
    <dc:date>2023-06-21T16:11:28Z</dc:date>
    <item>
      <title>Inverse mills ratio when the dependent variable is not binary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881628#M348343</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 &lt;STRONG&gt;proc qlim&lt;/STRONG&gt; 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;&amp;nbsp;OUTPUT out=Have mills;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RUN;&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;Thanks,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 00:21:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881628#M348343</guid>
      <dc:creator>GokulK</dc:creator>
      <dc:date>2023-06-21T00:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inverse mills ratio when the dependent variable is not binary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881637#M348351</link>
      <description>PROC QLIM is under SAS/ETS ,better post it at Forecasting Forum.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/bd-p/forecasting_econometrics" target="_blank"&gt;https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/bd-p/forecasting_econometrics&lt;/A&gt;</description>
      <pubDate>Wed, 21 Jun 2023 05:13:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881637#M348351</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-06-21T05:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Inverse mills ratio when the dependent variable is not binary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881743#M348414</link>
      <description>&lt;P&gt;Thank you Ksharp. I will post my question &lt;SPAN&gt;at Forecasting Forum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&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:11:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Inverse-mills-ratio-when-the-dependent-variable-is-not-binary/m-p/881743#M348414</guid>
      <dc:creator>GokulK</dc:creator>
      <dc:date>2023-06-21T16:11:28Z</dc:date>
    </item>
  </channel>
</rss>

