Thanks a lot. That's very helpful
Best regards.
Youba.
Roger Bivand a écrit :
> On Wed, 20 Apr 2016, Youba Ndiaye wrote:
>
>> Dear all,
>>
>> I'm a Ph.D student and I'm working on spatial econometrics approach.
>>
>> I want to implement a static spatial durbin model in
Thanks Marcelino, Rolf and Tiago for your quick responses.
I think that the suggested method by Rolf and Tiago, which is also found in
the link provided by Marcelino works fine with my data. Yes, Rolf, it was
as simple as that :)
So, I multiplied the X_i and Y_i coordinates of each of the 2000
Hi Diego,
A perhaps dumb yet straightforward way of doing it is to replicate each
point the number of times of its corresponding count, this will get you
the right unbiased centroid, essentially a weighted average as
Marcelino suggests, assuming that the weight you use is proportional to
On Wed, 20 Apr 2016, Youba Ndiaye wrote:
Dear all,
I'm a Ph.D student and I'm working on spatial econometrics approach.
I want to implement a static spatial durbin model in R with "splm"
function. But the particular case of my model is that my durbin model is
partial such as:
y = rho.Wy
Maybe I'm being naive, or missing the point, or something. But I would
presume that your data are something like:
x_1, x_2, ..., x_n # x-coordinates of the locations --- say, stored as x
y_1, y_2, ..., y_n # y-coordinates of the locations --- say, stored as y
k_1, k_2, ..., k_n # counts at the
Hi Diego,
it seems to me that what you want to compute are weighted centroids.
Here some advice is given (it is for polygons but you can get the idea):
https://stat.ethz.ch/pipermail/r-sig-geo/2016-February/024107.html
Cheers,
Marcelino
El 20/04/2016 a las 8:45, Diego Pavon escribió:
Dear all,
I'm a Ph.D student and I'm working on spatial econometrics approach.
I want to implement a static spatial durbin model in R with "splm"
function. But the particular case of my model is that my durbin model is
partial such as:
y = rho.Wy + X.beta + WZ.theta + epsilon
X and Z
Dear all
I am working with count data and I want to assess whether the centre of
gravity of the population (centroid or mean latitude?) has change over
time, indicating some redistribution or shift ongoing. To simplify, let's
say that I have ca. 2000 sites censused in two consecutive years (same