Displaying 20 results from an estimated 1000 matches similar to: "how to find observed Moran's I value using moran.test(spdep)"
2008 Apr 18
1
spdep question - Moran's I
Dear all,
I would like to calculate a Moran's I statistic using the moran function in the spdep package. The problem I'm having deals with how to create the listw object.
My data stems from the area of social network analysis. I have list of poeple and for each pair of them I have a measure of their relationship strength. So my dataset looks like: Jim; Bob; 0.5
This measure of
2008 Jul 14
0
Moran's I- Ordinal Logistic Regression
Hi,
I am trying to do a Moran's I test on an ordinal logistic regression model.
I have a simple spatial weights matrix listed below I would like to use.
Y=
1
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
1
0
1
1
0
0
0
0
1
1
0
0
0
1
1
1
1
0
0
0
0
0
1
1
1
1
0
0
0
0
0
1
1
1
1
0
0
0
0
0
1
1
1
1
0
0
0
1
1
0
0
0
0
1
1
0
0
1
0
0
0
0
1
1
I try to run the test as follows-
moran.test(order$resid,
2009 Aug 17
0
Question spdep package - Moran's I
Dear all,
I have a question regarding the spdep package:
Assume that each person within my dataset is characterized by a continuous variable y. In order to test for spatial autocorrelation in y I calculated a Moran's I statistic. The problem is that y is also likely to be influenced by a series of other variables x that are unique to each person in my dataset. To test to which extent the
2007 Feb 06
2
How to do "moran's I test"?
I want to do "moran's I test" in R language. I try to use "gearymoran" in
Package "ade4","moran" in Package "spdep", and Moran.I in Package "ape". But
I do not know how to do it because data format is different.
My data:
x y dbh
111.03 10.7 7
118.11 0.28 1.2
165.36 0.36 8.4
2009 Jun 06
1
large numbers of observations using ME() of spdep
Dear All,
We aim to remove the spatial structure of our data using Moran Eigen
Vectors and spdep package . Our data has 3694 samples and 13
variables.
The computer stop working after almost 4 days of processing (we found
it emitting a sharp sound and with all colors on the screen. No
wories, it was restared without problem!). And we are left with
nothing: no result file was produced since the
2011 Jan 19
0
Error Moran's test : reconsider test arguments
Dear
R-users,
I was
wondering if someone could give me some advices on the following problem.
I tried to
apply moran’s test to a small dataset and couldn’t succeed, here is the error
message:
mor <- moran.test(x, res2)
Avis dans
moran.test(x, res2) :
Out-of-range p-value: reconsider test arguments
mor
Moran's I test under randomization
data: x
weights: res2
2011 Apr 19
1
SPDEP Package, neighbours list for Moran's I on large grid dataset
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20110419/a3438017/attachment.pl>
2005 Jan 30
1
New user...tips for spdep?
Hello List,
I'm a very new user to the R system. I'm only beginning to learn the
basics, but so far I've been able to do little more than try a few examples,
and of course begin reading the documentation.
My primary motivation for exploring R is the availability of tools like the
'spdep' package for calculating spatial statistics such as Geary's C and
Moran's
2005 Mar 29
0
Plot Moran's I
Hello all,
I'm a new user of R and I have used the spdep package to calculate Moran's I estimates. I used the dnearneigh() function and moran.test() function and obtained what I wanted, but now I want to plot my results with the p-values. I regrouped my results for the Moran's I like
>m=c(m1$e,m2$e...) #m1 contain the results of the moran.test for lag1
2003 Jul 01
0
RE: question about spatial correlation with Xs and Ys
-----Original Message-----
From: r-help-request at stat.math.ethz.ch
[mailto:r-help-request at stat.math.ethz.ch]
Sent: Tuesday, July 01, 2003 3:09 AM
To: r-help at stat.math.ethz.ch
Subject: R-help Digest, Vol 5, Issue 1
At 18:48 30/06/2003, Martin Wegmann wrote:
>hello,
>
>I want to do a test for spatial correlation.
>I tried it with geary.test() but I don't understand the
2008 Mar 31
1
GeoDa spdep
My question is in regard to the spdep and GeoDa packages. Do you know how
to extract a neighborhood/adjacency matrix from R? I need a matrix that has
all the neighborhoods on the X and Y axis, and then a r=1 when the
neighborhoods touch, and a r=0 when neighborhoods don't touch. I
think the Moran's I functions use a matrix like this when they estimate
Moran's I. I can estimate
2012 Jul 12
0
How to handle NA-values in raster-based Geary´s C test?
Hi,
I have a question on testing spatial autocorrelation on raster data
including NA-values. In particular, I like to calculate Moran?s I and
Geary?s C indices by using inverse distance weighting matrices.
Calculating Moran?s I with moran.test works fine, because the function
contains the option "na.action=na.pass". Unfortunately, the function
geary.test does not contain this
2007 Oct 15
1
Distance matrix in SpDep-package
Hello everybody,
I would like to use the SpDep-package (especially the Local Moran index
analysis and the Getis-Ord statistics) in R for analysing my data. However,
I don't have x-y coordinates, but my data is in a distance matrix format. Is
it possible to use the SpDep package with predefined distances as well
instead of letting the program determining the distance itself by the
function
2012 Dec 19
1
Using PCNM() in Vegan and calculating Moran's I
Hello-
I am using the vegan package PCMN() because I need to use option of row
weights (I am using CCA following the selection of the significant/positive
PCNM variables). In the library PCNM (PCNM function), the Moran's I is
calculated for you as part of the function. I see that I need to calculate
Moran's I separately in order to retain the eigenfunctions with positive
spatial
2003 Jun 06
2
Moran's index
Hi,
I am looking for some code for Moran's I. Has anyone previously done this?
I have been unable to find it in the search engines.
James
2008 Oct 08
1
Error in spdep: system is computationally singular
Hi all,
I am trying to run an autologistic model using the function errorsarlm from spdep package.
**I built an XY matrix extracting the two colums from matriz**
coords1<-matriz[matriz$casos1==1, c(4,5)]
coords1<-as.matrix(coords1)
**I identify neighbours of region points**
nb20<-dnearneigh(coords1,0,20,longlat=TRUE)
** I build a neighbours list with spatial weights**
2003 Apr 14
1
How to do the significant test on Local Moran's I
Dear list:
I've tried professor Roger Bivand's spdep package
for a while, and found it is quite useful. However,
when considering the significance test of the local
moran's index under the assumption of both normality
and randomization, I just can't get a clue from the
package's calculating results. I also read professor
Luc Anselin's 1995 LISA paper (geographical
2006 Mar 14
1
help on moran's I index of point pattern, not areal pattern
hi,friends,
we all know that moran's I index and Geary'C index can be used to test
spatial autocorrelation in both the area data and point data, but i only can
find something on how to calculate on the data of area, and can't find the
methods to perform it on the point data, could anybody give me some
information, thanks in advance!
--
Kind Regards,
Zhi Jie,Zhang ,PHD
Department of
2003 Aug 07
0
spdep error message
Hello,
I have been using the package "spdep" to run spatial regressions on a data set
with about 2500 observations. It has performed well up until now, but the
following code resulted in an error:
> load("Panel.90s.ok.R")
> attach(Panel.90s.ok)
> neighs<-dnearneigh(cbind(x,y),0,50000)
> help(nbdists)
> dists<-nbdists(neighs,cbind(x,y))
>