Aintmap creates an A matrix and associated intmap
from left and right intervals (L and R) which may not may not include the boundary
of the interval (using Lin or Rin).
The matrix intmap denotes the intervals of the potential jumps in the distribution of the
NPMLE,
and its attribute LRin denotes whether to include each of the intervals
or not. Called by icfit.Aintmap(L,R,Lin=NULL,Rin=NULL)Lin and Rin specify whether or not to include the ends of the intervals.
They may be length 1 (and apply to all n values) or length n. The function automatically
only returns the innermost intervals (also called the Turnbull intervals [see Turnbull, 1976], or the regions of the maximal cliques
[see Gentleman and Vandal, 2002]).
The innermost intervals give the "primary reduction" of Aragon and Eberly (1992).icfit and ictestAintmap(c(2,3,3,7),c(3,5,5,8),Lin=c(FALSE,TRUE,FALSE,FALSE),Rin=c(TRUE,FALSE,TRUE,FALSE))Run the code above in your browser using DataLab