search for: morans

Displaying 20 results from an estimated 287 matches for "morans".

Did you mean: moran
2004 Jun 18
1
how to store estimates results as scalars of a matrix?
Dear R users, I've written a loop to generate Moran's test (spdep package) on serval subsamples of a large dataset. See below a short example. My loop is working fine, however I would like to be able to store the test results as lines of a matrix, that I would latter be able to export as a dataset. My problem is that I'm not sure how I could do this using R. Any help will be much
2010 Jun 21
0
how to find observed Moran's I value using moran.test(spdep)
Dear , This is Elaine. I am computing moran's I using moran.test for a generalized linear model (multiregression). The following contents are the results, and I cannot find the observed Moran's I mentioned as estimate in the manual. Please kindly help indicate if there is observed Moran's I did not notice or other method for calculation. Thanks Elaine data: residuals(modg1)
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 Jan 07
1
troubles performing Moran.I test
dear R users, I have troubles performing Moran.I test as suggested on http://www.ats.ucla.edu/stat/r/faq/morans_i.htm my spatial data are longitude and lattitide of communities. The calculation of the inverse distance matrix according to the homepage (using my data) datAL <- read.csv2("C:\\Konvergenz AL.csv", header=T) ALdist <- as.matrix(dist(cbind(datAL$L?nge, datAL$Breite))) ALdist....
2011 Aug 04
1
Running a column loop through the Moran.I function.
Dear R users, I have two data frames that consist of statistical information for most countries around the world. One dataframe consists of the latitude and longitude ("coord.csv") of each country, while the other consists of 100's of different attributes ("countryattri.csv") for each country (like, GDP, Population, etc.). The data is organized with a header and then
2007 Oct 26
1
Help needed on calculation of Moran's I
Hi, I am trying to calculate Moran's I test for the residuals for a regression equation, but I have trouble converting my coordinates into nb format. I have used the dnearneigh() funtion now with an arbitrarily high upper distance to make it include all plots. However, when I do the lm.morantest() I get a Moran's I value which is the same as the expected value and a P-value of 1. I
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
2005 Nov 17
1
Morans I for Spatial Surveillance
Hello, I am interested in using Morans I for different time intervals to detect disease clusters. Ultimately I would like to use CUSUM - or similar monitoring statistic to monitor the results of Morans I - similar to the work by Rogerson (2005) Spatial Surveillance and Cummulative Sum Methods in Spatial and Syndromic Surveillance for...
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
2007 Sep 27
3
moran's i
i would like to perform moran's analysis with r... thanks duccio
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 
2010 Nov 29
1
Moran I for very large data set
Hi Are there any more efficient ways of calculating the neighbourhood object for large datasets? I am trying to compute Moran I statistics for a very large data set (over 14,000 points). I have been using moran.test from the spdep package and everything works fine for a small data set (200 points). However, applying the same script to the whole dataset is taking days to compute (it so far has
2005 Mar 04
1
R: Moran's I
Hi- I would like to assign distance classes (lags) to the moran''s I test in R. I don¹t have equally spaced points since I was mapping shrubs across a landscape (vs. an experiment or survey in a grid). I somehow need to select points based on the distances in the distance matrix (i.e., I need to select all pairs of points that occur 0-25 m from each other, 25-50 m, etc...). Does
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
2004 May 07
7
WI FI IP phones??
Are there any other wireless IP phones out there other then the Cisco 7920?? -- James Moran <jmoran@potentialtech.com> Potential Technologies
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
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
2000 Jun 29
2
Local Moran's I / Getis and Ord and Rousseauw Cluster Algorithms
Sorry for the repetition, unless I've got bad deja vu this questions been asked before but I couldn't turn up an answer on CRAN. Is there already any code in existence for local dependence measures such as Moran's I or Getis and Ord G? Also, S-Plus has a number of interstingly named Cluster Algorithms based on some previous stand-alone fortran algorithms (agnes, daisy etc.) which
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