funsMuVarCSend.int: Returns the mean and (asymptotic) variance of arc density of...

funsMuVarCSend.intR Documentation

Returns the mean and (asymptotic) variance of arc density of Central Similarity Proximity Catch Digraph (CS-PCD) for 1D data - end interval case

Description

Two functions: muCSend.int and asyvarCSend.int.

muCSend.int returns the mean of the arc density of CS-PCD and asyvarCSend.int returns the asymptotic variance of the arc density of CS-PCD for a given expansion parameter t>0 for 1D uniform data in the left and right end intervals for the interval (a,b).

See also (\insertCiteceyhan:revstat-2016;textualpcds).

Usage

muCSend.int(t)

asyvarCSend.int(t)

Arguments

t

A positive real number which serves as the expansion parameter in CS proximity region.

Details

funsMuVarCSend.int

Value

muCSend.int returns the mean and asyvarCSend.int returns the asymptotic variance of the arc density of CS-PCD for uniform data in end intervals

Author(s)

Elvan Ceyhan

References

\insertAllCited

See Also

muPEend.int and asyvarPEend.int

Examples

#Examples for muCSend.int
muCSend.int(1.2)

tseq<-seq(0.01,5,by=.05)
ltseq<-length(tseq)

mu.end<-vector()
for (i in 1:ltseq)
{
  mu.end<-c(mu.end,muCSend.int(tseq[i]))
}

oldpar <- par(no.readonly = TRUE)
par(mar = c(5,4,4,2) + 0.1)
plot(tseq, mu.end,type="l",
ylab=expression(paste(mu,"(t)")),xlab="t",lty=1,xlim=range(tseq),ylim=c(0,1))
par(oldpar)

#Examples for asyvarCSend.int
asyvarCSend.int(1.2)

tseq<-seq(.01,5,by=.05)
ltseq<-length(tseq)

var.end<-vector()
for (i in 1:ltseq)
{
  var.end<-c(var.end,asyvarCSend.int(tseq[i]))
}

oldpar <- par(no.readonly = TRUE)
par(mar=c(5,5,4,2))
plot(tseq, var.end,type="l",xlab="t",ylab=expression(paste(sigma^2,"(t)")),lty=1,xlim=range(tseq))
par(oldpar)


elvanceyhan/pcds documentation built on June 29, 2023, 8:12 a.m.