[R] Distribution class

Christof Naumzik C.Naumzik at gmx.net
Thu Jun 30 15:11:06 CEST 2011


Hi everyone,

I am pretty new to R and facing some trouble with the distribution 
class, which is provided in the package "distr".
I have calculated a certain c.d.f. which depends upon a certain 
parameter. Now I need to calculate the Kolmogorff-Smirnoff(KS)- distance 
between this c.d.f. and another distribution.
The problem is that I the only KS-distance, which I found requires two 
objects from the distribution class.
If there isn't any way to generate an distribution-class object from my 
c.d.f. can anyone give me some advice on how to implement the 
KS-distance in an efficient way?

Thanks in advance for any help.

C. Naumzik



More information about the R-help mailing list