[R] left end or right end
David Winsemius
dwinsemius at comcast.net
Thu Jul 1 17:18:02 CEST 2010
On Jul 1, 2010, at 10:24 AM, ravikumar sukumar wrote:
> 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,
You may not hypothesize, but neither do you pose a clear question. At
what point do the lengths go from being case 1 to case 3?
> P --------------
> Q--------------------------------------
> P--------------
> Q--------------------------------------
> P --------------
> Q--------------------------------------
> P--------------
> Q--------------------------------------
Your answer should be expressed in mathematical terms and you should
present test cases constructed in R.
--
David
> i want to know how my data goes on.
>
> Thanks and regards
>
>
>
>
>
>
>
> On Thu, Jul 1, 2010 at 4:05 PM, Jonathan Christensen <dzhonatan at 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 <
>> ravikumarsukumar at 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 at 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 at 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.
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list