<?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 Explanation for warning and note in SAS log when using proc panel in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Explanation-for-warning-and-note-in-SAS-log-when-using-proc/m-p/501795#M25841</link>
    <description>&lt;P&gt;Basically, I want to run a panel regression on firm-years using industry and year fixed effects, and also get robust standard errors. I get the following in my SAS log when I use proc panel (sample code provided below):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**********************************************************************************************************************;&lt;/P&gt;&lt;P&gt;NOTE: The transformed regression does not have full rank. Be aware of possible multicollinearity&lt;BR /&gt;and/or identification problems before using the FixOneTm method results.&lt;BR /&gt;WARNING: Unable to scale time series group 2 for variable CSIndex. Values are all missing, or series&lt;BR /&gt;is nearly constant.&lt;BR /&gt;WARNING: Unable to scale time series group 8 for variable CSIndex. Values are all missing, or series&lt;BR /&gt;is nearly constant.&lt;BR /&gt;WARNING: Unable to scale time series group 12 for variable CSIndex. Values are all missing, or&lt;BR /&gt;series is nearly constant.&lt;BR /&gt;&lt;BR /&gt;*********************************************************************************************************************;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The warning keeps getting generated with increasing "time series group" numbers until the results finally come out.&amp;nbsp;My dataset is unbalanced (some firms have more years than others) but I do not think that is causing the problem. What do the note and warnings mean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is some sample code I run:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* "gvkey" is cross-sectional id &amp;amp; "fyear" is time-series id */

proc sort data=a; by gvkey fyear; run;

proc panel data=a;
    id gvkey fyear;
    class x1 x2;&lt;BR /&gt;    model y = x1 x2 x3 ind1-ind40 / fixonetime hccme=1;
run;

/* x1 and x2 are categorical variables so I put them in a class statement */&lt;BR /&gt;/* ind1-ind40 are industry dummies for my data that I generated already*/&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks for you help! [SAS 9.4 on Windows 10]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Oct 2018 09:32:10 GMT</pubDate>
    <dc:creator>Tasneem</dc:creator>
    <dc:date>2018-10-05T09:32:10Z</dc:date>
    <item>
      <title>Explanation for warning and note in SAS log when using proc panel</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Explanation-for-warning-and-note-in-SAS-log-when-using-proc/m-p/501795#M25841</link>
      <description>&lt;P&gt;Basically, I want to run a panel regression on firm-years using industry and year fixed effects, and also get robust standard errors. I get the following in my SAS log when I use proc panel (sample code provided below):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**********************************************************************************************************************;&lt;/P&gt;&lt;P&gt;NOTE: The transformed regression does not have full rank. Be aware of possible multicollinearity&lt;BR /&gt;and/or identification problems before using the FixOneTm method results.&lt;BR /&gt;WARNING: Unable to scale time series group 2 for variable CSIndex. Values are all missing, or series&lt;BR /&gt;is nearly constant.&lt;BR /&gt;WARNING: Unable to scale time series group 8 for variable CSIndex. Values are all missing, or series&lt;BR /&gt;is nearly constant.&lt;BR /&gt;WARNING: Unable to scale time series group 12 for variable CSIndex. Values are all missing, or&lt;BR /&gt;series is nearly constant.&lt;BR /&gt;&lt;BR /&gt;*********************************************************************************************************************;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The warning keeps getting generated with increasing "time series group" numbers until the results finally come out.&amp;nbsp;My dataset is unbalanced (some firms have more years than others) but I do not think that is causing the problem. What do the note and warnings mean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is some sample code I run:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* "gvkey" is cross-sectional id &amp;amp; "fyear" is time-series id */

proc sort data=a; by gvkey fyear; run;

proc panel data=a;
    id gvkey fyear;
    class x1 x2;&lt;BR /&gt;    model y = x1 x2 x3 ind1-ind40 / fixonetime hccme=1;
run;

/* x1 and x2 are categorical variables so I put them in a class statement */&lt;BR /&gt;/* ind1-ind40 are industry dummies for my data that I generated already*/&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks for you help! [SAS 9.4 on Windows 10]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 09:32:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Explanation-for-warning-and-note-in-SAS-log-when-using-proc/m-p/501795#M25841</guid>
      <dc:creator>Tasneem</dc:creator>
      <dc:date>2018-10-05T09:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Explanation for warning and note in SAS log when using proc panel</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Explanation-for-warning-and-note-in-SAS-log-when-using-proc/m-p/506667#M26034</link>
      <description>&lt;P&gt;There are probably variables in the model with data that is similar to other variables,&amp;nbsp;producing multicollinearity. CSIndex values are monotonous or missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;ranking&lt;/U&gt; - sorting numerical or ordinal variables in ascending order&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;U&gt;multicollinearity&lt;/U&gt;&amp;nbsp;- when one predictor&amp;nbsp;variable in multiple regression model can be linearly predicted from the others&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;U&gt;problem of multicollinearity&lt;/U&gt; - the&amp;nbsp;coefficient estimates of the multiple regression may change erratically in response to small changes in the model or the data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;U&gt;some causes of multicollienarity&lt;/U&gt;:&amp;nbsp; &amp;nbsp;inclusion of a variable which is computed from other variables in the data set; the repetition of the same kind of variable.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;U&gt;scaling&lt;/U&gt; - normalizing data to a common range&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See also,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etsug/63939/HTML/default/viewer.htm#etsug_panel_sect005.htm" target="_self"&gt;The Panel procedure: Unbalanced data&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 21:11:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Explanation-for-warning-and-note-in-SAS-log-when-using-proc/m-p/506667#M26034</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2018-10-22T21:11:39Z</dc:date>
    </item>
  </channel>
</rss>

