[R] How to test user-defined distribution using ks.test in R?

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Nov 6 18:43:08 CET 2009



Zhijiang Wang wrote:
> Dear All,
> 
> I defined a distribution and I want to test it by k-s test?
> How to input parameters for ks.test(.....)?
> E.g.,
> F(x,m) is user-defined function
> x is observation value, m is parameter of F
> 
> y is observation vector value in experiment
> 
>> ks.test(y,"F",m=0.2)
> error....


Well, R did not say "error", did it?
Where is the definition of F?
What is y?

uwe Ligges


> 
> why?
> 
> 
> 
> 
> '




More information about the R-help mailing list