Description Usage Arguments Details Value Author(s) References See Also Examples
Return the approximate critical values of the test statistics given level alfa
1 2 3 4 | Sn.alfa(alfa,n,d,model=c("parametric","semiparametric"),
tol = .Machine$double.eps^0.25, maxiter = 1000)
CV.Epidemic.Vn(alfa, d, tol = 1e-10)
CV.Epidemic.Wn(alfa, tol = 1e-07)
|
alfa |
significance level |
n |
sample size |
model |
a character string specifying the model,
must be one of |
d |
dimension of the data value |
tol |
the desired accuracy (convergence). |
maxiter |
the maximum number of iterations for |
Function Sn.alfa
returns the critical value
of Sn
for one-change alternative. The functions CV.Epidemic.Vn
and CV.Epidemic.Wn
calculate critical values
for Vn
and Wn
.
Critical values
Zhong Guan zguan@iusb.edu
Csorgo, M. and Horvath, L. (1997), Limit Theorems in Change-Point Analysis, New York: John Wiley
1 2 3 4 5 6 7 | require(sac) #load the package
alpha<-0.05
n<-20
d<-1
Sn.alfa(alpha, n, d, model="semiparametric")
CV.Epidemic.Vn(alpha, d)
CV.Epidemic.Wn(alpha)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.