fc_test {failCompare}R Documentation

Simulated Kolmogorov-Smirnov Test

Description

Simulated Kolmogorov-Smirnov Test

Usage

fc_test(times, iters = 50000, model = "gompertz", label = "", plot = FALSE)

Arguments

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

Details

performs a a simulation-based Kolmogorov-Smirnov test.

Value

p-value and optionallyhistogram of based on a Monte Carlo estimate of the sampling distribution of the D statistic.

See Also

ks.test. rweibull.


[Package failCompare version 1.0.0 Index]