Search Results

121 résultats trouvés Page 12 / 13
Code SAS
Voir

Distributional Analysis and Empirical Cumulative Distribution Function (ECDF)

%macro ecdf2(data,var); data tmp (keep=&var); set &data.; run; proc sort data=tmp; by &var.; run; data tmp; set tmp nobs=obs; nv = _N_; p = nv/obs; ecdf = int(p*100); call symput("nbvalue",compress(nv)); run; proc sort data=tmp; by nv; run; /* title "Cumu...

Code SAS
Voir

Dynamic Graph Generation by Stock

%do I = 1 %to &NUM_STOCKS; ods pdf file= "%scan(&STOCK_LIST,&I,~).pdf"; proc sgplot data=sashelp.stocks; where stock = "%scan(&STOCK_LIST,&I,~)_quoted_string_literal_; highlow x=date high=high low=low; run; ods pdf close; %end;

Code SAS
Voir

Dynamic Graph Generation by Stock

%macro graph_stocks; * Create the horizontal macro variable list.; proc sql noprint; select distinct stock into :STOCK_LIST separated by '~' from sashelp.stocks; %let NUM_STOCKS = &sqlobs; quit; %do I = 1 %to &NUM_STOCKS; ods pdf file= "%scan(&STOCK_LIST,&...

Code SAS
Voir

Creating an ODS document with multiple outputs

ODS PROCLABEL="Figure 1: Class graphic"; PROC SGPLOT DATA = sashelp.class; VBAR age / GROUP = sex; TITLE 'Figure 1: Class overview by sex and age'; RUN;

Code SAS
Voir

SAS PROC GLM Guide: Mastering the Transition from ANOVA to ANCOVA

proc sgplot data=medicine; scatter x=x y=y / group=trt; run;

Code SAS
Voir

The Ultimate Signal Smoothing Hack: Recovering the Bumps Function using PROC GLMSELECT

proc sgplot data=DoJoBumps; yaxis display=(nolabel); series x=x y=bumpsWithNoise/lineattrs=(color=black); series x=x y=bumps/lineattrs=(color=red); run;

Code SAS
Voir

The Ultimate Signal Smoothing Hack: Recovering the Bumps Function using PROC GLMSELECT

proc sgplot data=DoJoBumps; yaxis display=(nolabel); series x=x y=bumps; loess x=x y=bumpsWithNoise / lineattrs=(color=red) nomarkers; run;

Code SAS
Voir

The Ultimate Signal Smoothing Hack: Recovering the Bumps Function using PROC GLMSELECT

proc sgplot data=DoJoBumps; yaxis display=(nolabel); series x=x y=bumps; pbspline x=x y=bumpsWithNoise / lineattrs=(color=red) nomarkers; run;

Code SAS
Voir

The Ultimate Signal Smoothing Hack: Recovering the Bumps Function using PROC GLMSELECT

proc sgplot data=out1; yaxis display=(nolabel); series x=x y=bumps; series x=x y=pBumps / lineattrs=(color=red); run;

Code SAS
Voir

Bayesian Breakpoint Analysis: Detecting Structural Changes in SAS with PROC MCMC

proc sgplot data=stagnant; scatter x=x y=y; run;