There are three possibilities: Case1: Left end
P-------------- Q-------------------------------------- Case2: Right end P -------------- Q-------------------------------------- Case3: At mid position P ------------- A-------------------------------------- My question is how far my data falls on the all the three cases. Is it biased towards case1 or case2 or case3. I have to consider the length of Q in the data. Example: start2-start1 =2 and end2-end1 = 3 does not make much difference if length of Q is 150000. I do not hypothesize, i want to know how my data goes on. Thanks and regards On Thu, Jul 1, 2010 at 4:05 PM, Jonathan Christensen <dzhona...@gmail.com>wrote: > Hi, > > You need to define what you want more exactly--what are the possible > conclusions (hypotheses) you want to reach? Based on what you've said, I can > think of several different approaches you might want, but I'm not sure which > one of them you're actually after. For example: > > Hypothesis A: The distance between the left endpoints of P and Q is less > than (or equal to) the distance between the right endpoints. > Hypothesis B: The distance between the right endpoints is smaller. > > This is a simple binomial test, as David Winsemius suggested. In your most > recent email, though, it sounds like you want to take into account how much > smaller one distance is than the other. This is more complicated. > > Another option occurred to me: maybe you don't care which end P is close > to, you just want to know whether it's close to one of the ends, or > somewhere in the middle. > > Without knowing what exactly you are trying to test, it's very hard for us > to help you. > > Jonathan > > > On Thu, Jul 1, 2010 at 7:45 AM, ravikumar sukumar < > ravikumarsuku...@gmail.com> wrote: > >> 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: >> >> >> 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]] >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.