Skip to content

Instantly share code, notes, and snippets.

@ymattu
Created February 28, 2016 14:56
Show Gist options
  • Save ymattu/6f0191d59510a65952d6 to your computer and use it in GitHub Desktop.
Save ymattu/6f0191d59510a65952d6 to your computer and use it in GitHub Desktop.
data cdf;
do x = -3 to 3 by 0.1;
y = cdf("Normal", x);
output;
end;
run;
ods graphics / height=500;
proc sgplot data=cdf noautolegend;
title "Normal Cumulative Probability";
series x=x y=y;
xaxis grid label="x";
yaxis grid label="Normal CDF" values=(0 to 1 by 0.05);
refline 0 1/ axis=y;
run;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment