<?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: How to estimate a selection model with a binary dependent variable? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-a-selection-model-with-a-binary-dependent/m-p/212878#M11479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one more problem -&amp;nbsp; a technical one this time. When I run a probit model with an endogenous variable and test for endogeneity, although there is no error, SAS prints only a description of variables and class level information, but no parameter estimates. Do you know how to fix it? I have no problems of this nature with other models. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Aleksandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Aug 2015 13:47:16 GMT</pubDate>
    <dc:creator>Alexandra22</dc:creator>
    <dc:date>2015-08-09T13:47:16Z</dc:date>
    <item>
      <title>How to estimate a selection model with a binary dependent variable?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-a-selection-model-with-a-binary-dependent/m-p/212876#M11477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to estimate a selection model where my dependent variable of interest is binary. &lt;/P&gt;&lt;P&gt;Is this a proper code?&lt;/P&gt;&lt;P&gt;proc qlim data=a;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model y1 = x1 x2 z1 z2 / discrete;&amp;nbsp; where z1 and z2 are instrumental variables&lt;/P&gt;&lt;P&gt;&amp;nbsp; model y2 = x1 x2 / select (y1 = 1) discrete;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, one of the variables in my equation of interest is endogenous and I would like to add an instrument.&lt;/P&gt;&lt;P&gt;I&amp;nbsp; would&amp;nbsp; be very grateful for help with a code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Aleksandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 20:30:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-a-selection-model-with-a-binary-dependent/m-p/212876#M11477</guid>
      <dc:creator>Alexandra22</dc:creator>
      <dc:date>2015-07-28T20:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate a selection model with a binary dependent variable?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-a-selection-model-with-a-binary-dependent/m-p/212877#M11478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexandra, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the developer's help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have the selection portion of the code correct. You need to add a third equation for the endogeneity.&amp;nbsp; Try this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;proc qlim data=a;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;&amp;nbsp; model y1 = x1 x2 z1 z2 / discrete;&amp;nbsp; where z1 and z2 are instrumental variables&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;&amp;nbsp; model y2 = x1 x2 / select (y1 = 1) discrete;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;model x1 = x2 z1 z2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;Now, the consistency properties of this estimator, I can't comment on, but you should be able to estimate this thing.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;Best-Ken &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 17:56:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-a-selection-model-with-a-binary-dependent/m-p/212877#M11478</guid>
      <dc:creator>ets_kps</dc:creator>
      <dc:date>2015-08-07T17:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate a selection model with a binary dependent variable?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-a-selection-model-with-a-binary-dependent/m-p/212878#M11479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one more problem -&amp;nbsp; a technical one this time. When I run a probit model with an endogenous variable and test for endogeneity, although there is no error, SAS prints only a description of variables and class level information, but no parameter estimates. Do you know how to fix it? I have no problems of this nature with other models. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Aleksandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Aug 2015 13:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-a-selection-model-with-a-binary-dependent/m-p/212878#M11479</guid>
      <dc:creator>Alexandra22</dc:creator>
      <dc:date>2015-08-09T13:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate a selection model with a binary dependent variable?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-a-selection-model-with-a-binary-dependent/m-p/212879#M11480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aleksandra, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Verify for me that you are are one SAS/ETS 13.1 or higher by running &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc product_status; run;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and look at the output.&amp;nbsp; If you are on an earlier edition then perhaps you want to give SAS Cloud Edition a shot here. &lt;A href="https://odamid.oda.sas.com/SASLogon/login?service=https%3A%2F%2Fodamid.oda.sas.com%2FSASODAControlCenter%2Fj_spring_cas_security_check" title="https://odamid.oda.sas.com/SASLogon/login?service=https%3A%2F%2Fodamid.oda.sas.com%2FSASODAControlCenter%2Fj_spring_cas_security_check"&gt; SAS&amp;amp;reg; Logon Manager &lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any trouble.&amp;nbsp; You should be able to create an account and log on.&amp;nbsp; -Ken &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 13:48:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-a-selection-model-with-a-binary-dependent/m-p/212879#M11480</guid>
      <dc:creator>ets_kps</dc:creator>
      <dc:date>2015-08-10T13:48:36Z</dc:date>
    </item>
  </channel>
</rss>

