Wednesday, April 26, 2017

SAS: Crosscorrelations over time in PROC ARIMA

proc sort data=sashelp.pricedata out=test;
    by productname regionname;
run;


proc arima data=test ;
  by productname regionname;
  identify var=sale crosscorr=price;
  ods output AutoCorrGraph=correlations;
run;



Friday, March 17, 2017

SAS: put   in html



How to include an   in HTML written by SAS.

Declaration:

    * Source: http://marc.info/?l=sas-l&m=116624302014032&w=2 ;
    %let nbsp=%nrstr(&nbsp);


Use:

    put "Part Number: ";
    put "" PART_NUMBER "";
    put " (" PART_DESCRIPTION +(-1) ")";



("mark" tag creates yellow-highlighted text)

Result: