funsMuVarPEend.int | R Documentation |
Two functions: muPEend.int
and asy.varPEend.int
.
muPEend.int
returns the mean of the arc density of PE-PCD
and asy.varPEend.int
returns the asymptotic variance of the arc density of PE-PCD
for a given expansion parameter r \ge 1
for 1D uniform data in the left and right end-intervals
for the interval (a,b)
.
See also (\insertCiteceyhan:metrika-2012;textualpcds).
muPEend.int(r)
asy.varPEend.int(r)
r |
A positive real number which serves as the expansion parameter in PE proximity region;
must be |
muPEend.int
returns the mean and asy.varPEend.int
returns the asymptotic variance of the
arc density of PE-PCD for uniform data in end-intervals
Elvan Ceyhan
muCSend.int
and asy.varCSend.int
#Examples for muPEend.int
muPEend.int(1.2)
rseq<-seq(1.01,5,by=.1)
lrseq<-length(rseq)
mu.end<-vector()
for (i in 1:lrseq)
{
mu.end<-c(mu.end,muPEend.int(rseq[i]))
}
plot(rseq, mu.end,type="l",
ylab=expression(paste(mu,"(r)")),xlab="r",lty=1,xlim=range(rseq),ylim=c(0,1))
#Examples for asy.varPEend.int
asy.varPEend.int(1.2)
rseq<-seq(1.01,5,by=.1)
lrseq<-length(rseq)
var.end<-vector()
for (i in 1:lrseq)
{
var.end<-c(var.end,asy.varPEend.int(rseq[i]))
}
oldpar <- par(mar=c(5,5,4,2))
plot(rseq, var.end,type="l",
xlab="r",ylab=expression(paste(sigma^2,"(r)")),lty=1,xlim=range(rseq))
par(oldpar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.