[R] How to test user-defined distribution using ks.test in R?
David Winsemius
dwinsemius at comcast.net
Fri Nov 6 14:13:11 CET 2009
On Nov 6, 2009, at 1:53 AM, 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....
>
>
> why?
>
Without the error message? or the function definition? or str(y)?
I would ask "why" you think intelligent commentary should be possible.
--
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
More information about the R-help
mailing list