- Plot cumulative distribution function (CDF)
> Y = simlist$V1 # or just use random data Y = rnorm ( 100)
> str ( Y) # structure of value Y
num [1:229920] 0 0.01837 0 0.00955 0.01 ...
> P = ecdf ( Y)
> plot( P)
> P( 0.05)
[1] 0.993663
No comments:
Post a Comment