SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
dsriggs11
Fluorite | Level 6

Is there a way to use proc expand to interpolate a time series from quarterly to monthly frequency without taking the number of days into account?  Treating all quarters/months as if they have the same number of days?

1 REPLY 1
ghosh
Barite | Level 11
proc expand data=qtr_series out=mth_series from=qtr to=month;
   convert analysis_var / observed=average;
   id date_var;
run;

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 679 views
  • 0 likes
  • 2 in conversation