<?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: 2SLS regression - multiple endogenous variable in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/2SLS-regression-multiple-endogenous-variable/m-p/534846#M3432</link>
    <description>&lt;P&gt;Typically, when there is only one dependent variable in your model you use all the instrumental variables to instrument both endogenous variables; however, if you want to limit which instrumental variables are used to correct for the endogeneity of each endogenous explanatory variable you could use the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc tmodel data=yourdata;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; eq.a = y - ka*a;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; eq.p = y - kp*p;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; fit a p / ols 2sls;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; instruments (a, b c d) (p, q r s);&lt;BR /&gt;quit;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Feb 2019 14:06:38 GMT</pubDate>
    <dc:creator>kessler</dc:creator>
    <dc:date>2019-02-12T14:06:38Z</dc:date>
    <item>
      <title>2SLS regression - multiple endogenous variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/2SLS-regression-multiple-endogenous-variable/m-p/534067#M3421</link>
      <description>&lt;P&gt;I have to perform a 2 SLS regression with multiple endogenous variable.&lt;/P&gt;&lt;P&gt;1st endogenous variable: a&lt;/P&gt;&lt;P&gt;Instrument variable for&amp;nbsp;1st endogenous variable: b c d&lt;/P&gt;&lt;P&gt;2nd endogenous variable: p&lt;/P&gt;&lt;P&gt;Instrument variable for 2nd endogenous variable: q r s&lt;/P&gt;&lt;P&gt;My final model: y = a p b c d q r s.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there any simple way to do it?&lt;/P&gt;&lt;P&gt;for example using proc syslin or something like that ?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 21:08:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/2SLS-regression-multiple-endogenous-variable/m-p/534067#M3421</guid>
      <dc:creator>Takdir</dc:creator>
      <dc:date>2019-02-08T21:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: 2SLS regression - multiple endogenous variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/2SLS-regression-multiple-endogenous-variable/m-p/534504#M3427</link>
      <description>&lt;P&gt;In both PROC MODEL and its multithreaded replacement, PROC TMODEL, you can estimate your model using two stage least squares with the following statements:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc tmodel data=yourdata;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; y = ka*a + kp*p;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; fit y / 2sls;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; instruments b c d q r s;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you need any further clarifications on how to use PROC (T)MODEL for your problem.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 15:49:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/2SLS-regression-multiple-endogenous-variable/m-p/534504#M3427</guid>
      <dc:creator>kessler</dc:creator>
      <dc:date>2019-02-11T15:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: 2SLS regression - multiple endogenous variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/2SLS-regression-multiple-endogenous-variable/m-p/534815#M3431</link>
      <description>&lt;P&gt;but how do i assign different instrumental variables to different endogenous variables? like how to separate them to their respective endogenous variable ?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:21:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/2SLS-regression-multiple-endogenous-variable/m-p/534815#M3431</guid>
      <dc:creator>Takdir</dc:creator>
      <dc:date>2019-02-12T13:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: 2SLS regression - multiple endogenous variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/2SLS-regression-multiple-endogenous-variable/m-p/534846#M3432</link>
      <description>&lt;P&gt;Typically, when there is only one dependent variable in your model you use all the instrumental variables to instrument both endogenous variables; however, if you want to limit which instrumental variables are used to correct for the endogeneity of each endogenous explanatory variable you could use the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc tmodel data=yourdata;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; eq.a = y - ka*a;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; eq.p = y - kp*p;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; fit a p / ols 2sls;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; instruments (a, b c d) (p, q r s);&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 14:06:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/2SLS-regression-multiple-endogenous-variable/m-p/534846#M3432</guid>
      <dc:creator>kessler</dc:creator>
      <dc:date>2019-02-12T14:06:38Z</dc:date>
    </item>
  </channel>
</rss>

