fc_test {failCompare} | R Documentation |
Simulated Kolmogorov-Smirnov Test
fc_test(times, iters = 50000, model = "gompertz", label = "", plot = FALSE)
times |
numeric vector of failure times |
iters |
replicates for bootstrap (default to 50k) |
model |
distribution |
label |
optional argument for labeling plots |
plot |
optional argument for creating histogram |
performs a a simulation-based Kolmogorov-Smirnov test.
p-value and optionallyhistogram of based on a Monte Carlo estimate of the sampling distribution of the D statistic.