gof_stat | R Documentation |
Function to calculate the quantiles of Cramer-von Mise and Kolmogorov-Smirnov statistics.
gof_stat(X, T1, N, p, q)
X |
observations |
T1 |
last time of observation |
N |
number of observations on from on interval (0,T1] |
p |
number of cosine coefficients >=1 |
q |
number of sine coefficients >=0 |
out |
List of statistics (cvm and ks), estimated parameters, and pseudo-observations |
T1=20
N=500
data(X)
out = gof_stat(X,T1,N,2,0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.