Skip to content

Distribution class

1 message · Christof Naumzik

#
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