Re: [R] Getting empirical percentiles for data

2005-01-07 Thread Christoph Buser
Dear Mike Mike Cheung writes: Dear List, I have some discrete data and want to calculate the percentiles and the percentile ranks for each of the unique scores. I can calculate the percentiles with quantile(). I know that ecdf can be used to calculate the empirical cumulative

Re: [R] Getting empirical percentiles for data

2005-01-07 Thread Peter Dalgaard
Mike Cheung [EMAIL PROTECTED] writes: I know that ecdf can be used to calculate the empirical cumulative distribution. However, I don't know how to exact the cumulative probabilities for each unique element. The requirement is similar to the FREQUENCIES in SPSS. Could someone help me in

[R] Getting empirical percentiles for data

2005-01-06 Thread Mike Cheung
Dear List, I have some discrete data and want to calculate the percentiles and the percentile ranks for each of the unique scores. I can calculate the percentiles with quantile(). I know that ecdf can be used to calculate the empirical cumulative distribution. However, I don't know how to