DATA Step, Macro, Functions and more

empirical CDF

Accepted Solution Solved
Reply
Contributor
Posts: 24
Accepted Solution

empirical CDF

I would like to compute the empirical CDF of a variable, but I don't want to gee the plot. this is the code I'm using

DATA data;
      input y ; 
    datalines ; 
    0.1 
    0.5
    1.5 
    3.3 
    1.2
	;
run;
proc univariate data=A noprint;
cdfplot y / vscale=proportion ;
ods output cdfplot=outCDF;
run;

 

how can I modify the code such that doesn't show the plot?


Accepted Solutions
Solution
‎11-19-2016 11:44 AM
Super User
Posts: 10,018

Re: empirical CDF

DATA a;
      input y ; 
    datalines ; 
    0.1 
    0.5
    1.5 
    3.3 
    1.2
	;
run;
ods select none;
proc univariate data=A noprint;
cdfplot y / vscale=proportion ;
ods output cdfplot=outCDF;
run;

View solution in original post


All Replies
Solution
‎11-19-2016 11:44 AM
Super User
Posts: 10,018

Re: empirical CDF

DATA a;
      input y ; 
    datalines ; 
    0.1 
    0.5
    1.5 
    3.3 
    1.2
	;
run;
ods select none;
proc univariate data=A noprint;
cdfplot y / vscale=proportion ;
ods output cdfplot=outCDF;
run;
Contributor
Posts: 24

Re: empirical CDF

Thanks @Ksharp
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 254 views
  • 1 like
  • 2 in conversation