search for: lianasprich

Displaying 1 result from an estimated 1 matches for "lianasprich".

2007 Oct 26
1
Help needed on calculation of Moran's I
...is the same as the expected value and a P-value of 1. I have used the following code: >attach(lowland) >coords <- as.matrix(cbind(long, $lat)) >coord.nb <- dnearneigh(coords, 0, 10000 longlat=TRUE) >coord.list <- nb2listw(coord.nb, style="W") >lianasp.lm <- lm(lianasprich ~ log(averdist) + dsl + lianadens + wooddens) >lm.morantest(lianasp.lm, coord.list, alternative="two.sided") And get the following result Global Moran's I for regression residuals data: model: lm(formula = lianasprich ~ log(averdist) + dsl + lianadens + wooddens) weigh...