<?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: The data set WORK._CLSS_ is not sorted in ascending sequence with respect to the time series ID. in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/The-data-set-WORK-CLSS-is-not-sorted-in-ascending-sequence-with/m-p/406901#M21189</link>
    <description>&lt;P&gt;The regressors have to be unique, see &lt;A href="http://support.sas.com/documentation/cdl/en/etsug/63939/HTML/default/viewer.htm#etsug_panel_sect040.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/etsug/63939/HTML/default/viewer.htm#etsug_panel_sect040.htm&lt;/A&gt;. Run a PROC MEANS to aggregate the values.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Oct 2017 11:09:10 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-10-24T11:09:10Z</dc:date>
    <item>
      <title>The data set WORK._CLSS_ is not sorted in ascending sequence with respect to the time series ID.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-data-set-WORK-CLSS-is-not-sorted-in-ascending-sequence-with/m-p/406885#M21186</link>
      <description>&lt;P&gt;Hello everybody;&lt;/P&gt;&lt;P&gt;I want to run panel regression with fix effect. So, I run the program below, but it doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=Sampledata_adjvol out=Sampledata_adjvol2;
	by TRD_STCK_CD TRD_EVENT_ROUFOR;
run;

proc panel data = Sampledata_adjvol2;
	model adjusted_volume_5 = TRD_EVENT_ROUFOR / fixone;
	id TRD_STCK_CD TRD_EVENT_ROUFOR;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The error is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: The data set WORK.SAMPLEDATA_ADJVOL2 is not sorted in ascending sequence with respect to the time series ID. The current time period has TRD_EVENT_ROUFOR=9:30:00 and the previous time period has
       TRD_EVENT_ROUFOR=9:30:00 in cross section TRD_STCK_CD=ABAD1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here is a sample of my data:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data WORK.SAMPLEDATA_ADJVOL;
  infile datalines dsd truncover;
  input TRD_STCK_CD:$15. TRD_EVENT_DT:DATE9. TRD_EVENT_ROUFOR:TIME8. adjusted_volume_5:32.;
  format TRD_EVENT_DT DATE9. TRD_EVENT_ROUFOR TIME8.;
  datalines4;
ABAD1,20MAY2008,9:30:00,
ABAD1,20MAY2008,9:30:00,
ABAD1,20MAY2008,9:30:00,0.1236593933
ABAD1,21MAY2008,9:30:00,0.5277625684
ABAD1,09JUL2008,9:30:00,0.0061432698
ABAD1,21JUL2008,10:30:00,2.4368321201
ABAD1,15OCT2008,10:30:00,
ABAD1,15OCT2008,10:30:00,
ABAD1,15OCT2008,11:00:00,0.1097571838
ABAD1,29APR2009,11:00:00,0.0274242661
SDFA1,20MAY2008,9:30:00,
SDFA1,20MAY2008,9:30:00,
SDFA1,20MAY2008,9:30:00,0.0236593933
SDFA1,21MAY2008,9:30:00,0.3277625684
SDFA1,09JUL2008,9:30:00,0.0061432698
SDFA1,21JUL2008,10:30:00,1.4368321201
SDFA1,15OCT2008,10:30:00,
SDFA1,15OCT2008,11:00:00,0.2097571838
SDFA1,29APR2009,11:00:00,0.0174242661
VAED2,20MAY2008,9:30:00,
VAED2,20MAY2008,9:30:00,0.0236593933
VAED2,21MAY2008,9:30:00,0.3277625684
VAED2,15OCT2008,11:00:00,0.2097571838
VAED2,29APR2009,11:00:00,0.0174242661
;;;;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;How can I fix that?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 10:46:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-data-set-WORK-CLSS-is-not-sorted-in-ascending-sequence-with/m-p/406885#M21186</guid>
      <dc:creator>aminkarimid</dc:creator>
      <dc:date>2017-10-24T10:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: The data set WORK._CLSS_ is not sorted in ascending sequence with respect to the time series ID.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-data-set-WORK-CLSS-is-not-sorted-in-ascending-sequence-with/m-p/406901#M21189</link>
      <description>&lt;P&gt;The regressors have to be unique, see &lt;A href="http://support.sas.com/documentation/cdl/en/etsug/63939/HTML/default/viewer.htm#etsug_panel_sect040.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/etsug/63939/HTML/default/viewer.htm#etsug_panel_sect040.htm&lt;/A&gt;. Run a PROC MEANS to aggregate the values.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 11:09:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-data-set-WORK-CLSS-is-not-sorted-in-ascending-sequence-with/m-p/406901#M21189</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-10-24T11:09:10Z</dc:date>
    </item>
  </channel>
</rss>

