Description Usage Arguments Details Value References See Also Examples
The function ks.gompertz()
gives the values for the KS test assuming a Gompertz with shape
parameter alpha and scale parameter theta. In addition, optionally, this function
allows one to show a comparative graph between the empirical and theoretical cdfs for a specified data set.
1 2 | ks.gompertz(x, alpha.est, theta.est,
alternative = c("less", "two.sided", "greater"), plot = FALSE, ...)
|
x |
vector of observations. |
alpha.est |
estimate of the parameter alpha |
theta.est |
estimate of the parameter theta |
alternative |
indicates the alternative hypothesis and must be one of |
plot |
Logical; if TRUE, the cdf plot is provided. |
... |
additional arguments to be passed to the underlying plot function. |
The Kolmogorov-Smirnov test is a goodness-of-fit technique based on the maximum distance between the empirical and theoretical cdfs.
The function ks.gompertz()
carries out the KS test for the Gompertz
Marshall, A. W., Olkin, I. (2007). Life Distributions: Structure of Nonparametric, Semiparametric, and Parametric Families, Springer, New York.
pp.gompertz
for PP
plot and qq.gompertz
for QQ
plot
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.