<?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: Panel data regression in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Panel-data-regression/m-p/442090#M282666</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply.&lt;/P&gt;&lt;P&gt;It worked "where not year" and I can see differences in results, but not&amp;nbsp; for "where not country". While time series length is reduced for "where not year", cross section numbers remain the same (I put: where not(country = "arg"). arg for Argentina. Random effect works better for my model. (diagnostics done to check for multicolliniarity).&lt;/P&gt;&lt;P&gt;Related to year, what if I want to restrict the model to a particular period, say GFC period 2007-08 and check the results for a series of periods: 2000-07; 2007-08 and 2008-17 etc.&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Sohel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 03 Mar 2018 20:40:53 GMT</pubDate>
    <dc:creator>sazad</dc:creator>
    <dc:date>2018-03-03T20:40:53Z</dc:date>
    <item>
      <title>Panel data regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Panel-data-regression/m-p/442025#M282664</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am new to SAS, have a panel data of 36 cross sections (i.e., country) and 18 period/year.&lt;/P&gt;&lt;P&gt;I would like to check the results on different panel estimations by dropping 1-2 cross sections or year.&lt;/P&gt;&lt;P&gt;How can I do that, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;proc panel data = mydata;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;id country year;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;model my model / pooled HAC fixone fixonetime fixtwo ranone rantwo vcomp=fb bp bfn;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Mar 2018 05:29:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Panel-data-regression/m-p/442025#M282664</guid>
      <dc:creator>sazad</dc:creator>
      <dc:date>2018-03-03T05:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Panel data regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Panel-data-regression/m-p/442079#M282665</link>
      <description>&lt;P&gt;Do I understand correctly that you want to run PROC PANEL on a subset of your data, by excluding user-selected COUNTRY and/or YEAR?&amp;nbsp; If it is really that simple a request, you could use a WHERE statement in the proc, as in&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc panel data=mydata;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; where not(2004&amp;lt;=year&amp;lt;=2005);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; ID ...;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;MODEL .... ;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;or&lt;/P&gt;
&lt;P&gt;&amp;nbsp; where not (country='US');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also am aware that proc panel has a suite of tests for cross-sectional effects, which I suppose could also be of value to you.&amp;nbsp; I am totally ignorant of their usage - you'd need more experienced advice on that subject.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Mar 2018 18:42:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Panel-data-regression/m-p/442079#M282665</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-03-03T18:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Panel data regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Panel-data-regression/m-p/442090#M282666</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply.&lt;/P&gt;&lt;P&gt;It worked "where not year" and I can see differences in results, but not&amp;nbsp; for "where not country". While time series length is reduced for "where not year", cross section numbers remain the same (I put: where not(country = "arg"). arg for Argentina. Random effect works better for my model. (diagnostics done to check for multicolliniarity).&lt;/P&gt;&lt;P&gt;Related to year, what if I want to restrict the model to a particular period, say GFC period 2007-08 and check the results for a series of periods: 2000-07; 2007-08 and 2008-17 etc.&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Sohel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Mar 2018 20:40:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Panel-data-regression/m-p/442090#M282666</guid>
      <dc:creator>sazad</dc:creator>
      <dc:date>2018-03-03T20:40:53Z</dc:date>
    </item>
  </channel>
</rss>

