Search the Community
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
228 results
Sorted by:
3 weeks ago
data temp(drop=i j);
do i=1 to 3;
do j=0 to 100;
byvar=i;
ind=j;
x1=sin(j/10)+i;
y1=cos(j/10)+i;
output;
end;
end;
run;quit;
/*proc sgplot data=temp;
by byv...
03-22-2017
11:39 AM
I want to do a special rolling window.
I want to estimate a variable X every quarter using the 60 past observations of variable Y. This is an example the variable X of december 2015 is estimed u...
08-27-2020
07:13 PM
I have 5000 daily time series ( var0001-var5000 ) from 01/01/2019 to 12/31/2019 and want to compute their rolling skewness each month. This post introduces proc summary for the rolling skewness....
05-24-2017
04:14 PM
Hello all, I need your help please because I am having some troubles with the sas script to estimate rolling window betas . I want to estimate for each cusip code in each month , the b...
10-17-2019
01:12 PM
2 Likes
...dded a few List Table objects to aggregate Day of Year and applied a filter for date to match the appropriate 30 day rolling window. I added a custom title to each List Table for clarification and h...
- Find more articles tagged with:
- GEL
11-19-2014
08:24 AM
I am working on a research project and have trouble come up with a way to conduct a rolling window regression. In my proc model I include this macro to do my rolling window. %do fen = %eval(&d...
11-19-2014
10:09 AM
I am working on a research project and have trouble come up with a way to conduct a rolling window regression. In my proc model I include this macro to do my rolling window. %do fen = %eval(&d...
04-11-2020
03:33 PM
Hi, I have a question regarding how to calculate three year moving or rolling sum for each ID in a panel dataset. The variables of interest are as follows: Year ID N...
01-16-2017
04:07 AM
...egression of "Weight" on "Wheelbase" and "Length", including the intercept (using 10-rolling windows for each "Make"). I know some normal SAS macro that can do the work. But I want to learn how SAS/IML c...
10-14-2020
07:17 AM
Hi everyone I'm using this array (thanks to Kurt for helping me out with this): data avg_1;
set avg;
by Date;
array window{0:379} _temporary_;
array window1{0:379} _temporary_;
if f...