Sorry for posting to the R list.

P                  Q
12, 28       10, 42
2, 5           1, 55
32, 50       22, 63
..... there are 10000 points of P and Q.
The number of points of P and Q are equal (i,e 10000).

The interval P always overlaps with Q. i,e start1<start2 and end1<end2.

mere calculating whether points have this condition will not be
significant start1<start2 and end1<end2 and the length of P that is
length(end1-start1) and Q ie length(end2-start1) differs.

Example
Case A:
start2-start1 =2
end2-end1 = 3

Case B:
start2 - start1 =100
end2-end1 = 2

In the above two cases, P is falling on the right end of Q in case B. But it
depends on the length(end2-start2). If the length(end2-start2) =15000 in
case of B, then it is almost on the middle point.

Is there any test or function in R to bring a statistically
significant conclusion that midpoint of P or P itself is falling on the left
end or right end of Q.

sorry once again for posting in this list.

Regards

	[[alternative HTML version deleted]]

