Closed bright1993ff66 closed 1 year ago
Hello @bright1993ff66 ,
There are two ways in spNetwork to use adaptive bandwidth for TNKDE : separated and simultaneous.
In the first case, for each event, a local temporal bandwidth is calculated for each event location (Uei) based on the densities calculated in time with h0 the reference bandwidth in time. Then the same thing is done with the spatial (network) dimension. In this case, you consider that space and time are not interacting (weak spatio-temporal autocorrelation)
In the second case, the spatio-temporal density is estimated at each event location using simultaneously the time and network reference bandwidths. Then, the temporal and network bandwidths are obtained by replacing h0 in the above formula.
I have written a paper presenting formally the TNKDE and it was just accepted in the journal Geographical Analysis. I will share with here the submitted manuscript as soon as possible. It gives a detailed description of the method.
@JeremyGelb Thanks! And Congrats on your paper acceptance!
Looking forward to reading your paper 👍
The paper is now published and open access here : https://onlinelibrary.wiley.com/doi/10.1111/gean.12368
Dear @JeremyGelb , Thanks again for creating such a great package for GIS analysis!
I am using tnkde to analyze the kernel densities of collision records in the city. However, I am not sure if I understand the adaptive bandwidth in this case clearly. In the nkde function, the adaptive bandwidth is computed as the following:
My question is in the tnkde case, does $h_0$ become a vector of reference bandwidth in space and time ($h0 = [h{0, space}, h{0, time}]$)? Since both $\gamma{f}$ and $\tilde{f}h_0(e_i)$ are still float numbers, the $h(ei)$ now also becomes a vector of bandwidth $[h{ei, space}, h{e_i, time}]$ for event $e_i$?
Thank you for your time!