inci.matCSint {pcds} | R Documentation |
Incidence matrix for Central Similarity Proximity Catch Digraphs (CS-PCDs) for 1D data - one interval case
Description
Returns the incidence matrix for the CS-PCD for a given 1D numerical data set, Xp
,
as the vertices of the digraph and int
determines the end points of the interval (in the one interval case).
Loops are allowed, so the diagonal entries are all equal to 1.
CS proximity region is constructed
with an expansion parameter t > 0
and a centrality parameter c \in (0,1)
.
See also (Ceyhan (2016)).
Usage
inci.matCSint(Xp, int, t, c = 0.5)
Arguments
Xp |
a set of 1D points which constitutes the vertices of the digraph. |
int |
A |
t |
A positive real number which serves as the expansion parameter in CS proximity region. |
c |
A positive real number in |
Value
Incidence matrix for the CS-PCD with vertices being 1D data set, Xp
,
and int
determines the end points of the intervals (in the one interval case)
Author(s)
Elvan Ceyhan
References
Ceyhan E (2016). “Density of a Random Interval Catch Digraph Family and its Use for Testing Uniformity.” REVSTAT, 14(4), 349-394.
See Also
inci.matCS1D
, inci.matPE1D
,
inci.matPEtri
, and inci.matPE
Examples
c<-.4
t<-1
a<-0; b<-10; int<-c(a,b)
xf<-(int[2]-int[1])*.1
set.seed(123)
n<-10
Xp<-runif(n,a-xf,b+xf)
IM<-inci.matCSint(Xp,int,t,c)
IM
dom.num.greedy(IM)
Idom.num.up.bnd(IM,3)
dom.num.exact(IM)
inci.matCSint(Xp,int+10,t,c)