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

Zhijiang Wang ivorytower at emails.bjut.edu.cn
Fri Nov 6 08:53:43 CET 2009


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....


why?




'
-- 

Best wishes,
Zhijiang Wang
--------------------------------------------
PHD Student
Room 212, Science buliding,
The International WIC Institute,
College of Computer Science and Technology,
Beijing University of Technology,
Beijing, China.




More information about the R-help mailing list