<?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: 2-stage least squares regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-regression/m-p/197126#M10572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ballardw,&amp;nbsp;&amp;nbsp; Thank you. Yes, this is a two-stage sampling design. However,&amp;nbsp; we are looking at a model where the dependent variable and independent variable is possibly bidirectional. So we would like to use an instrumental variable in the model which does not correlate with the dependent variable but correlates with the independent variable.&amp;nbsp; And thus the reason for performing a 2-stage least squares regression. So I'm wondering whether there is any code available to run a 2-SLS regression with a data set that comes from a two-stage sampling design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2015 18:22:14 GMT</pubDate>
    <dc:creator>mt_santos</dc:creator>
    <dc:date>2015-08-13T18:22:14Z</dc:date>
    <item>
      <title>2-stage least squares regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-regression/m-p/197122#M10568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&amp;nbsp; does anyone know how to run a 2-stage least squares regression using a survey dataset with a complex survey design?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 19:18:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-regression/m-p/197122#M10568</guid>
      <dc:creator>mt_santos</dc:creator>
      <dc:date>2015-08-11T19:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: 2-stage least squares regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-regression/m-p/197123#M10569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maria, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell us a bit more about your "complex survey design"?&amp;nbsp; We have a portfolio of "SURVEY*" procedures but none address 2sls specifically though I am sure they could be cobbled together.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ken &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 15:56:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-regression/m-p/197123#M10569</guid>
      <dc:creator>ets_kps</dc:creator>
      <dc:date>2015-08-13T15:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: 2-stage least squares regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-regression/m-p/197124#M10570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken- Here is a description&amp;nbsp; of the sample design.&amp;nbsp; If you need more information, let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-CA" style="font-family: 'Times New Roman','serif';"&gt;The sample design incorporated a two stage sampling strategy; the first stage involved the selection of communities to participate in the survey. First Nations communities were stratified by region, sub-region, and community size [large (1500+ people), medium (300-1499 people), and small (&amp;lt;300 people)]. Large communities were automatically included, while medium and small communities were randomly selected with equal probability within their respective strata. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-CA" style="font-family: 'Times New Roman','serif';"&gt;The second stage of sampling pertained to the selection of individuals within each community sampled. Community members were identified using band membership lists. Data were gathered to represent eight categories of the community population (gender by four age-groups). The sampling rate within each community was determined as a function of the overall sub-region probability (within regions) and the probability of selection of the community (within sub-region).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-CA" style="font-family: 'Times New Roman','serif';"&gt;Individual responses were weighted, using INAC registry counts, to reflect, with greater accuracy, the representation of the population by the sample. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-CA" style="font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-CA" style="font-family: 'Times New Roman','serif';"&gt;So typically we would use PROC SURVEYMEANS/SURVEYFREQ OR SURVEYREG when analyzing complex sample data.&amp;nbsp; For- 2sls -is it possible to run 2 separate regressions? And how would that work?&amp;nbsp; I guess that is what you mean by cobbling together the "SURVEY" procedures.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-CA" style="font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-CA" style="font-family: 'Times New Roman','serif';"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-CA" style="font-family: 'Times New Roman','serif';"&gt;Maria&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 16:16:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-regression/m-p/197124#M10570</guid>
      <dc:creator>mt_santos</dc:creator>
      <dc:date>2015-08-13T16:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: 2-stage least squares regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-regression/m-p/197125#M10571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This description is two-stage SAMPLING and it looks like the community size variable would be a STRATA variable .&lt;/P&gt;&lt;P&gt;If I understand correctly it looks like your code should include a strata statement something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STRATA Region CommunitySize;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and should be good to go.&lt;/P&gt;&lt;P&gt;There may be some syntax issues if you want to do Domain analysis on a strata variable. If so a second variable identical to the strata may be needed for the DOMAIN statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 17:54:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-regression/m-p/197125#M10571</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-13T17:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: 2-stage least squares regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-regression/m-p/197126#M10572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ballardw,&amp;nbsp;&amp;nbsp; Thank you. Yes, this is a two-stage sampling design. However,&amp;nbsp; we are looking at a model where the dependent variable and independent variable is possibly bidirectional. So we would like to use an instrumental variable in the model which does not correlate with the dependent variable but correlates with the independent variable.&amp;nbsp; And thus the reason for performing a 2-stage least squares regression. So I'm wondering whether there is any code available to run a 2-SLS regression with a data set that comes from a two-stage sampling design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 18:22:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-stage-least-squares-regression/m-p/197126#M10572</guid>
      <dc:creator>mt_santos</dc:creator>
      <dc:date>2015-08-13T18:22:14Z</dc:date>
    </item>
  </channel>
</rss>

