BookmarkSubscribeRSS Feed
ccherrub
Fluorite | Level 6

Hi so I keep trying to do a first difference approach and end it with the code:

 

proc panel Data=MM6 plots=none;
   ID Statefips Year;
   Model ND = treatment / FIXONE noint HCCME=2 Cluster;
run;

 

However I keep recieving this error:

 

The data set WORK.MM6 is not sorted in ascending sequence with respect to the time series ID. The current time period has
year=2009 and the previous time period has year=2009 in cross section statefips=1.

 

How would I go about to fix this? Thanks for the help!

1 REPLY 1
Patrick
Opal | Level 21

I believe this forum discussion should provide all the guidance you need.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

From SAS Users blog
Want more? Visit our blog for more articles like these.
5 Steps to Your First Analytics Project Using SAS

For SAS newbies, this video is a great way to get started. James Harroun walks through the process using SAS Studio for SAS OnDemand for Academics, but the same steps apply to any analytics project.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 195 views
  • 0 likes
  • 2 in conversation