<?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: combined panel data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764664#M37357</link>
    <description>&lt;P&gt;Thank you for the detailed answer!&lt;/P&gt;&lt;P&gt;It is continuous.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 29 Aug 2021 09:06:55 GMT</pubDate>
    <dc:creator>margalits1</dc:creator>
    <dc:date>2021-08-29T09:06:55Z</dc:date>
    <item>
      <title>combined panel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764606#M37341</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I have data of the following structure:&lt;/P&gt;&lt;P&gt;It is a panel data that is aggregated from multiple panels.&lt;/P&gt;&lt;P&gt;I test how a certain variable (calculated for each year separately and is defined for this year and remains constant for the 3 years prior and after the event)&amp;nbsp; influences the performance 3 years before and after using Diff-In-Diff method (post and treatment dummies also appear here, not relevant for the discussion...).&lt;/P&gt;&lt;P&gt;The data is of the following structure:&lt;/P&gt;&lt;P&gt;year_variable&amp;nbsp; &amp;nbsp; &amp;nbsp;gvkey&amp;nbsp; &amp;nbsp; &amp;nbsp;year_data&amp;nbsp; &amp;nbsp; variable&amp;nbsp; &amp;nbsp;sales&lt;/P&gt;&lt;P&gt;1993&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; 1990&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;1993&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; 1991&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;0.5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;1993&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; 1992&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;0.5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/P&gt;&lt;P&gt;1993&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; 1993&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;0.5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;/P&gt;&lt;P&gt;1993&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; 1994&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5&lt;/P&gt;&lt;P&gt;1993&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; 1995&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6&lt;/P&gt;&lt;P&gt;1993&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; 1996&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;7&lt;/P&gt;&lt;P&gt;1993&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; 1990&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; 11&lt;/P&gt;&lt;P&gt;1993&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; 1991&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; 12&lt;/P&gt;&lt;P&gt;1993&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; 1992&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; 13&lt;/P&gt;&lt;P&gt;1993&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; 1993&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; 14&lt;/P&gt;&lt;P&gt;1993&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; 1994&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; 15&lt;/P&gt;&lt;P&gt;1993&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; 1995&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; 16&lt;/P&gt;&lt;P&gt;1993&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; 1996&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; 17&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;1994&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; 1991&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;1994&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; 1992&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/P&gt;&lt;P&gt;1994&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; 1993&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&lt;/P&gt;&lt;P&gt;1994&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; 1994&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;/P&gt;&lt;P&gt;1994&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; 1995&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 6&lt;/P&gt;&lt;P&gt;1994&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; 1996&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 7&lt;/P&gt;&lt;P&gt;1994&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; 1997&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Meaning, the data line for a certain year appears multiple times in this sample (7 times). For example, see that gvkey 1 year 1994 apperas multiple times.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to run a regression with year and gvkey (firm) fixed effects but not sure how to define them in this panel structure.&lt;/P&gt;&lt;P&gt;When I did the following command it only analyzed part of the data (5000 observations out of 115,000)&lt;/P&gt;&lt;P&gt;proc sort data=&amp;amp;data_name;&lt;BR /&gt;BY year_variable gvkey year_data;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then:&lt;/P&gt;&lt;P&gt;proc glm data=&amp;amp;data_name;&lt;BR /&gt;CLASS gvkey year_data;&lt;BR /&gt;MODEL &amp;amp;var_name=**variables*.... gvkey year_data /SOLUTION;&lt;BR /&gt;ods output ParameterEstimates=&amp;amp;var_name._&amp;amp;data_name;&lt;BR /&gt;RUN;&lt;BR /&gt;ods trace off;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 07:16:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764606#M37341</guid>
      <dc:creator>margalits1</dc:creator>
      <dc:date>2021-08-28T07:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: combined panel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764613#M37342</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;When I did the following command it only analyzed part of the data (5000 observations out of 115,000)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;How do you know that?&lt;/P&gt;
&lt;P&gt;Can you provide us with the LOG?&lt;BR /&gt;Please use the "Insert Code" ( &amp;lt;/&amp;gt; ) icon in the toolbar and paste the LOG in the pop-up window that appears. This way the LOG does not lose formatting and structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also if you have panel data (time series cross sectional data) with YEAR and FIRM I think you should use PROC TSCSREG (SAS/ETS) or PROC PANEL (SAS/ETS) or PROC CPANEL (SAS VIYA Econometrics) or PROC GLIMMIX (SAS/STAT).&lt;BR /&gt;Have you considered using one of these 4 procedures?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 11:41:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764613#M37342</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-08-28T11:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: combined panel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764620#M37345</link>
      <description>&lt;PRE&gt;Class        Levels  Values

year_data        28  1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001
                     2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013
                     2014 2015 2016 2017


                    Number of Observations Read      115205
                    Number of Observations Used        5629&lt;/PRE&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60547"&gt;@sbxkoenk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; understand it from the number of observations compared to read,&lt;/P&gt;&lt;P&gt;Regarding the commands you mentioned- I will check. But, not sure how it mitigates my problem?&lt;/P&gt;&lt;P&gt;What is their advantage compared to proc GLM? I want a regression with time and firm fixed effects, and later on to add two-way cluster.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 13:00:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764620#M37345</guid>
      <dc:creator>margalits1</dc:creator>
      <dc:date>2021-08-28T13:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: combined panel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764621#M37346</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the n° of observations used &amp;lt;&amp;lt; n° of observations read:&lt;/P&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV id="statug.glm.glmmv" class="aa-section"&gt;
&lt;P class="xisDoc-paragraph"&gt;For an analysis involving one dependent variable, PROC GLM uses an observation if values are non-missing for that dependent variable and ALL the independent variables.&lt;BR /&gt;Hence: Check for missing values in your observations.&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;On the suitability of PROC GLM:&lt;/P&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV id="statug.reg.regatsd" class="aa-section"&gt;
&lt;P class="xisDoc-paragraph"&gt;When regression is performed on time series data, the errors might not be independent. Often errors are autocorrelated; that is, each error is correlated with the error immediately before it.&lt;BR /&gt;You violate the assumption of independent observations in PROC GLM. The estimation methods in SAS/ETS and SAS Econometrics (VIYA) are made to "correct" for this.&lt;BR /&gt;You absolutely need to use PROC PANEL (or PROC TSCSREG) or PROC CPANEL, also for the&amp;nbsp;cluster-robust standard errors in your panel&amp;nbsp; data analysis ?&lt;BR /&gt;If you do not have SAS/ETS, nor SAS Econometrics, you can do PROC GLIMMIX (SAS/STAT) for panel data analysis.&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;Cheers,&lt;BR /&gt;Koen&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 28 Aug 2021 13:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764621#M37346</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-08-28T13:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: combined panel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764622#M37347</link>
      <description>Thanks for the quick answer!&lt;BR /&gt;Regarding its first part, there are indeed missing values for some of the independent variables.&lt;BR /&gt;I don't wish to remove these observations.&lt;BR /&gt;Does one of the other procedures take these observations into account?</description>
      <pubDate>Sat, 28 Aug 2021 13:37:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764622#M37347</guid>
      <dc:creator>margalits1</dc:creator>
      <dc:date>2021-08-28T13:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: combined panel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764627#M37349</link>
      <description>&lt;P&gt;And another important question,&lt;/P&gt;&lt;P&gt;this data structure (where each year and gvkey appears more than 1 time: meaning an "appended" panel data, but these are not duplicates,&lt;/P&gt;&lt;P&gt;but rather independent observations in my perspective),&lt;/P&gt;&lt;P&gt;does it require additional settings in these commands?&lt;/P&gt;&lt;P&gt;T&lt;STRONG&gt;o illustrate refer to these lines:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;year_variable&amp;nbsp; &amp;nbsp; &amp;nbsp;gvkey&amp;nbsp; &amp;nbsp; &amp;nbsp;year_data&amp;nbsp; &amp;nbsp; variable&amp;nbsp; &amp;nbsp;sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1993&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; 1991&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;0.5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1994&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; 1991&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is the way I sorted the dataset beforehand is ok?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc sort data=&amp;amp;data_name;&lt;BR /&gt;BY year_variable gvkey year_data;&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or, should I&amp;nbsp; rather sort it by:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc sort data=&amp;amp;data_name; by gvkey year_data;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 13:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764627#M37349</guid>
      <dc:creator>margalits1</dc:creator>
      <dc:date>2021-08-28T13:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: combined panel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764631#M37350</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Almost) every (statistical) SAS procedure has documentation on how it handles missing values:&lt;/P&gt;
&lt;P&gt;The PANEL Procedure &amp;gt; Details &amp;gt; Missing Values&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/etsug/etsug_panel_details03.htm?homeOnFail" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/etsug/etsug_panel_details03.htm?homeOnFail&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The CPANEL Procedure &amp;gt; Details &amp;gt; Missing Values&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/casecon/casecon_cpanel_details03.htm?homeOnFail" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/casecon/casecon_cpanel_details03.htm?homeOnFail&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The COUNTREG procedure &amp;gt;&amp;nbsp;Details &amp;gt; Missing Values&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/etsug/etsug_countreg_details04.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/etsug/etsug_countreg_details04.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I mention the COUNTREG procedure as it supports:&lt;/P&gt;
&lt;UL class="xisDoc-listUnordered" type="disc"&gt;
&lt;LI class="xisDoc-item"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;fixed-effects and random-effects Poisson models for panel data&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;fixed-effects and random-effects negative binomial models for panel data&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I don't know what is the nature of your dependent variable / outcome variable(?). What is the measurement scale of your dependent variable? Is it binary, nominal (&amp;gt;2 categories), ordinal, interval, ratio, proportion [0,1], count?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 15:16:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764631#M37350</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-08-28T15:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: combined panel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764632#M37351</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have read your Original Post again:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt; I test how a certain variable (calculated for each year separately and is defined for this year and remains constant for the 3 years prior and after the event)&amp;nbsp; influences the performance 3 years before and after using Diff-In-Diff method (post and treatment dummies also appear here, not relevant for the discussion...).&lt;BR /&gt;&lt;BR /&gt;How is performance (your dependent variable) expressed? Is it a continuous measure (interval-scaled)?&lt;BR /&gt;&lt;BR /&gt;I see now better what you want to do.&lt;BR /&gt;I have to think about this on a free moment (later this weekend).&amp;nbsp;&lt;BR /&gt;Will come back to you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Still I think you will have to turn to Econometrics instead of the SAS/STAT procedures.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 15:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764632#M37351</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-08-28T15:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: combined panel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764663#M37356</link>
      <description>&lt;P&gt;Thank you. The outcome is nominal variable (continuous) .&lt;/P&gt;</description>
      <pubDate>Sun, 29 Aug 2021 09:05:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764663#M37356</guid>
      <dc:creator>margalits1</dc:creator>
      <dc:date>2021-08-29T09:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: combined panel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764664#M37357</link>
      <description>&lt;P&gt;Thank you for the detailed answer!&lt;/P&gt;&lt;P&gt;It is continuous.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Aug 2021 09:06:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/combined-panel-data/m-p/764664#M37357</guid>
      <dc:creator>margalits1</dc:creator>
      <dc:date>2021-08-29T09:06:55Z</dc:date>
    </item>
  </channel>
</rss>

