<?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 Heckman's 2-stage least squares in SAS in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63768#M3024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much, BruceBrad, for your insight!&amp;nbsp; Yes, I do have two instruments for CEO options.&amp;nbsp; My understanding is that in PROC SYSLIN, I can asses the validity of my instrument by (1) checking the F or R2 in the first stage, and (2) conducting an overidentifying restriction test.&amp;nbsp; Question: (1) Do you know if both of these tests are available in PROC MODEL?&amp;nbsp; I've read some materials on PROC MODEL but I can't seem to find stuff on how this procedure tests for validity of instrumental variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re heteroskedasticity - I've looked at PROC MODEL and PROC SYSLIN in the SAS manual.&amp;nbsp; According to the manual, "The MODEL procedure analyzes models in which the relationships among the variables comprise a system of one or more nonlinear equations."&amp;nbsp; My understanding is that PROC SYSLIN analyzes linear equations. I am analyzing linear equations in my models, so it seems that PROC SYSLIN would be the appropriate procedure.&amp;nbsp; However, as indicated in my response to Tom, someone has told me that PROC MODEL and PROC SYSLIN are not designed for panel data. I have unbalanced panel data. So here are my questions: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) Is there a way for me to use PROC MODEL or PROC SYSLIN to run my unbalanced panel data?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming the answer to (2) is yes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) I have linear equations in my model. Can I use PROC MODEL instead of PROC SYSLIN? &lt;/P&gt;&lt;P&gt;(4) Is there something similar akin to the White test in PROC SYSLIN?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2011 00:08:25 GMT</pubDate>
    <dc:creator>sasuser2011</dc:creator>
    <dc:date>2011-09-16T00:08:25Z</dc:date>
    <item>
      <title>2-stage least squares in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63764#M3020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a longitudinal unbalanced panel dataset (i.e., some variables have missing data), consisting of x year-observations per firm for a sample of firms across a large number of industries.&amp;nbsp; The substantive explanatory variables are all continuous variables. The dependent variable (Y) is also a continuous variable.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The unbalanced panel data structure looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gvkey&amp;nbsp;&amp;nbsp;&amp;nbsp; Company&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X2&lt;/P&gt;&lt;P&gt;1997&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 599902 ABC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2835&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0336&amp;nbsp;&amp;nbsp; 0.4038&amp;nbsp;&amp;nbsp; 114.1900 &lt;/P&gt;&lt;P&gt;1998&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 599902 ABC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2835&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.3493&amp;nbsp;&amp;nbsp; 510.3800 &lt;/P&gt;&lt;P&gt;1999&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 599902 ABC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2835&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.0544&amp;nbsp;&amp;nbsp; 0.3503&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 599902 ABC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2835&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.1056&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 400.5750 &lt;/P&gt;&lt;P&gt;2001&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 599902 ABC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2835&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -0.0807&amp;nbsp;&amp;nbsp; 0.0942&amp;nbsp;&amp;nbsp; 579.5100&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;1997&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 92276HDEF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2840&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.1164&amp;nbsp;&amp;nbsp; 0.6682&amp;nbsp;&amp;nbsp; 7.9570 &lt;/P&gt;&lt;P&gt;1998&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 92276HDEF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2840&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.1554&amp;nbsp;&amp;nbsp; 0.1705&amp;nbsp;&amp;nbsp; 7.0780 &lt;/P&gt;&lt;P&gt;1999&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 92276HDEF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2840&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0172&amp;nbsp;&amp;nbsp; 0.2500&amp;nbsp;&amp;nbsp; 11.1160 &lt;/P&gt;&lt;P&gt;2000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 92276HDEF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2840&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0544&amp;nbsp;&amp;nbsp; 14.9290&lt;/P&gt;&lt;P&gt;2001&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 92276HDEF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2840&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0994&amp;nbsp;&amp;nbsp; 0.0258&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my questions:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) I would like to run the 2SLS test to control for endogeneity problem related to one of the explanatory variables.&amp;nbsp; Could anyone please provide the appropriate SAS codes to run the 2SLS procedure in the context of this study?&lt;/P&gt;&lt;P&gt;(2) How do I know whether I have a strong or weak instrument?&amp;nbsp; What sensitivity test do I use to check for the validity of the instruments?&amp;nbsp; I would appreciate having the SAS codes to test for instrumental validity.&lt;/P&gt;&lt;P&gt;(3) Given the nature of my panel data, how do I obtain robust or heteroscedasticity corrected standard errors? What SAS codes do I use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much in advance for any help you can offer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 00:23:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63764#M3020</guid>
      <dc:creator>sasuser2011</dc:creator>
      <dc:date>2011-09-13T00:23:07Z</dc:date>
    </item>
    <item>
      <title>Heckman's 2-stage least squares in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63765#M3021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have SAS/ETS?&amp;nbsp; Try PROC SYSLIN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 01:58:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63765#M3021</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-09-13T01:58:11Z</dc:date>
    </item>
    <item>
      <title>Heckman's 2-stage least squares in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63766#M3022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Several ETS modules can do 2SLS - search for 2SLS in help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But do you have a suitable instrument? You cannot test the validity of an instrument - this must come from theory. (If you have more than on instrument you can do a test that can reject the hypothesis that they are all valid instruments, but this is only a limited test of validity). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A valid instrument must&lt;/P&gt;&lt;P&gt;- be correlated with CEO stock options (the F or R2 of this equation is a simple test of the instrument strength), and&lt;/P&gt;&lt;P&gt;- not have any causal association with risk-taking, except via this association with CEO stock options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second requirement is usually quite challenging. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re heteroscedasticity, there are a few options. This excerpt from the proc model help might help get you started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Note that White’s test in the MODEL procedure is different than White’s test in the REG procedure requested by the SPEC option. The SPEC option produces the test from Theorem 2 on page 823 of White (1980). The WHITE option, on the other hand, produces the statistic discussed in Greene (1993). "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 06:54:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63766#M3022</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2011-09-14T06:54:02Z</dc:date>
    </item>
    <item>
      <title>Heckman's 2-stage least squares in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63767#M3023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Tom, for your suggestion.&amp;nbsp; I did think about using either PROC SYSLIN or PROC MODEL.&amp;nbsp; However, I was told by someone well-versed in SAS that both of these procedures are not designed for panel data.&amp;nbsp; Mine is an unbalanced panel data. Do you know of any way to get around this problem?&amp;nbsp; Additionally, do you know if PROC SYSLIN could generate heteroscedasticity corrected standard errors?&amp;nbsp; If so, how?&amp;nbsp; Thanks so much in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 23:39:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63767#M3023</guid>
      <dc:creator>sasuser2011</dc:creator>
      <dc:date>2011-09-15T23:39:52Z</dc:date>
    </item>
    <item>
      <title>Heckman's 2-stage least squares in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63768#M3024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much, BruceBrad, for your insight!&amp;nbsp; Yes, I do have two instruments for CEO options.&amp;nbsp; My understanding is that in PROC SYSLIN, I can asses the validity of my instrument by (1) checking the F or R2 in the first stage, and (2) conducting an overidentifying restriction test.&amp;nbsp; Question: (1) Do you know if both of these tests are available in PROC MODEL?&amp;nbsp; I've read some materials on PROC MODEL but I can't seem to find stuff on how this procedure tests for validity of instrumental variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re heteroskedasticity - I've looked at PROC MODEL and PROC SYSLIN in the SAS manual.&amp;nbsp; According to the manual, "The MODEL procedure analyzes models in which the relationships among the variables comprise a system of one or more nonlinear equations."&amp;nbsp; My understanding is that PROC SYSLIN analyzes linear equations. I am analyzing linear equations in my models, so it seems that PROC SYSLIN would be the appropriate procedure.&amp;nbsp; However, as indicated in my response to Tom, someone has told me that PROC MODEL and PROC SYSLIN are not designed for panel data. I have unbalanced panel data. So here are my questions: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) Is there a way for me to use PROC MODEL or PROC SYSLIN to run my unbalanced panel data?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming the answer to (2) is yes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) I have linear equations in my model. Can I use PROC MODEL instead of PROC SYSLIN? &lt;/P&gt;&lt;P&gt;(4) Is there something similar akin to the White test in PROC SYSLIN?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 00:08:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63768#M3024</guid>
      <dc:creator>sasuser2011</dc:creator>
      <dc:date>2011-09-16T00:08:25Z</dc:date>
    </item>
    <item>
      <title>Heckman's 2-stage least squares in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63769#M3025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't answer all your questions, but the following might help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Proc model can do just about everything that syslin can (ie it does non-linear models as well as linear models). The main difference is that Syslin has simpler syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I think your panel data model is a fixed effects model. These can be calculated in several ways (other than using proc panel or glm absorb). Eg by actually including a dummy variable for each fixed effect (eg firm) or by transforming the data so they are deviations from within-firm means. You should look at textbook like Wooldridge's "﻿﻿Econometric Analysis of Cross Sectional and Panel data" for an explanation of this (I just googled it, there seems to be a PDF available via google scholar). The first of these methods (maybe both) will work with unbalanced panel data, and then you use proc model or syslin to do the 2sls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Overidentifying test. I've never done this (finding one valid instrument is hard enough, let alone two). The idea is that it tests whether both instruments give the same result. You might be able to test it by similtaneously estimating two equations (with differrent instruments in each) and then testing for equality of coefficients - but I'm just speculating here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Wooldridge refers to a method by Arellano to calculate robust standard errors for panel data, but I don't think is available in any canned routine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 01:15:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-in-SAS/m-p/63769#M3025</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2011-09-16T01:15:22Z</dc:date>
    </item>
  </channel>
</rss>

