Skip to content
Prev 24708 / 29559 Next

dclf.test output.

Thanks for your response Rolf,
You summarized it correctly.  However, B and D do not necessarily avoid each other. They could and do in fact occur next to each other at times just by coincidence, simply because both categories tend to occur all over the place, while I think A and C are influenced by D. I included the alternative="greater" but I still get the same results.
A sample of my data is provided below( I have more than 800 points).

Longitude        Latitude               Type
1 -113.1923      51.02913       C
2 -113.2013      52.83306       A
3 -113.6834     51.06585        A
4 -113.0295      50.97140       C
5 -113.2366      50.96440       A
6 -113.5849      51.37568       A
7 -113.6877      51.09027       D
8 -113.5371      51.82780       D

 I used the following code and got the results provided earlier:


dclf.test(Data.ppp,Kcross, i = "A", j = "D", alternative="greater" ,correction = "border")
dclf.test(Data.ppp,Kcross, i = "B", j = "D", alternative="greater" ,correction = "border")
dclf.test(Data.ppp,Kcross, i = "C", j = "D", alternative="greater" ,correction = "border")




Thanks,
GAB

-----Original Message-----
From: Rolf Turner [mailto:r.turner at auckland.ac.nz]
Sent: Wednesday, July 27, 2016 3:48 PM
To: Guy Bayegnak
Cc: r-sig-geo at r-project.org
Subject: Re: [R-sig-Geo] dclf.test output.


I gather that your problem is that you expect to reject the null hypothesis of "no clustering" for A vs. D and for C vs. D, but *not* to reject it for B vs. D.

I *think* that your problem might be the fact that you are using a two-sided test, which gives, roughly speaking, a test of "no association" rather than a test of "no clustering".  It could be the case that points of types B and D tend to *avoid* each other, so you get "significant" association between B and D, although the B points do the opposite of clustering around D points.

It's hard to tell for sure without a *reproducible example* (!!!).  We don't have access to Data.ppp.

Try using alternative="greater" in your call to dclf.test() and see if the results are more in keeping with your expectations.

cheers,

Rolf Turner

--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
On 28/07/16 05:48, Guy Bayegnak wrote:

            
This email and any files transmitted with it are confide...{{dropped:7}}