Nothing
gnedenko.exp.test<-function(x, R=length(x)/2, simulate.p.value=FALSE, nrepl=2000)
{
DNAME <- deparse(substitute(x))
R<-round(R)
n<-length(x)
x<-sort(x)
x<-c(0,x)
D<-(n:1)*(x[2:(n+1)]-x[1:n])
t<-(sum(D[1:R])/R)/(sum(D[(R+1):n])/(n-R))
l<-0
if(simulate.p.value)
{
for(i in 1:nrepl)
{
z<-rexp(n)
z<-sort(z)
z<-c(0,z)
D<-(n:1)*(z[2:(n+1)]-z[1:n])
T<-(sum(D[1:R])/R)/(sum(D[(R+1):n])/(n-R))
if(abs(T)>abs(t)) l=l+1
}
p.value<-l/nrepl
}
else
{
p.value<-2*min(pf(t,2*R,2*(n-R)),1-pf(t,2*R,2*(n-R)))
}
RVAL<-list(statistic=c(Q=t), p.value=p.value, method="Gnedenko's F-test of exponentiality",data.name = DNAME)
class(RVAL)<-"htest"
return(RVAL)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.