BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,
I have three series of data for the same variable for different years which I would like to overlay in a plot so that they can be compared. Series1 is a forecast from Jan09 through Dec09. Series2 is actual data from Jan08 through Dec08 and Series3 is actual data from Jan07 through Dec07. I think that it would be easiest to plot the individual series against month so that they can be overlayed using the same horizontal axis; however, using the month() function will result in a numeric variable 1 through 12 for the extracted months - is there anyway of formatting this variable so that it shows Jan, Feb, Mar,...Dec in the plot x-axis? Or is there a better way to do this that I am missing? You input would be appreciated.
regards,
xander
1 REPLY 1
deleted_user
Not applicable
Just figured it out - I am going to use a custom format. Duh!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 774 views
  • 0 likes
  • 1 in conversation