Manuj
Your approach in (2) would work, looking at the source (just type
ks.test) your function will be called with a sorted vector of data
values, i.e. HED(sort(x), ...) where x is a a numeric vector of data
values and ... is the parameters as passed to ks.test
This means your function needs to be
I have fitted Hyperexponential distribution (HED) and Hypoexponential
distribution (HoED) to two different data sets (of size 1000 numeric values
each) using a software package called EMpht.
I want to use R to perform goodness-of-fit test for the fitted distribution
with respect to the empirical
2 matches
Mail list logo