Displaying 20 results from an estimated 2000 matches similar to: "Newbie Question: Spatial Autocorrelation with R Tutorial?"
2003 Nov 14
1
spatial modeling
I am new to R and have a question about spatial econometrics. I have
noticed that you can easily test for spatial autocorrelation with the
spdep package, but was wondering if any code has been written to correct
for spatial autocorrelation? Or if there is any literature on this?
Thanks. -Jill
***************************************************
Jill L. Caviglia-Harris, Ph.D.
Assistant
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
2004 Aug 23
2
Reading GAL file
Greetings:
I am trying to work with spdep (everything is "brand new" downloaded this morning). OS = Windows 2000 (also up to date). The code I am using follows:
#example
gal.county=read.geoda("lnpilnd.GAL", row.names=NULL, skip=0)
summary.nb(gal.county)
Error in summary.nb(gal.county) : Not a neighbours list
#end
The gal file works just fine in GeoDa (also up to date).
2004 Apr 26
2
Spatial Autocorrelation for point data
Hi R helpers,
Is there a function (package?) in R available which tests "spatial
autocorrelation" between points (e.g. vector layer of weather stations)?
(e.g. Moran's I...)
Via the archives we found out that there is a package 'spdep' which uses
grid data for testing spatial autocorrelation.
Thanks a lot,
Jan
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
2007 May 14
1
a question about spatial autocorrelation in R
Dear all,
I am currently facing a problem related to the spatial autocorrelation of
a sample of stations; these stations supply weekly data for a fixed
time-window during the year (namely, 4-6 months per year).
For this reason I'm trying to use the R package 'spdep' (specifically
Moran's I) in order to get rid of it.
Does anyone know how is it possible (if it is...) to
2007 Oct 22
3
Spatial autocorrelation
Hi,
I have collected data on trees from 5 forest plots located within the
same landscape. Data within the plots are spatially autocorrelated
(calculated using Moran's I). I would like to do a ANCOVA type of
analysis combining these five plots, but the assumption that there is no
autocorrelation in the residuals is obviously violated. Does anyone have
any ideas how to incorporate these spatial
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
2006 Mar 24
1
who can tell me the reason why it is different on calculating Moran's I using ARCGIS, Geoda and R?
The attachment is my dataset:
1.ccc.shp (the original data)
2.ccc.gwt, which is computed by Geoda;
Introduction to the variables in my data:
ID: key variable;
N_LATITUDE: latitude measured by GPS;
E_LONGITUD: longitude measured by GPS;
LIVES: attribute data
I get the different result of Moran's between ARCGIS and Geoda, R, why?
ARCGIS:spatial statistics tools:spatial
2005 Oct 28
4
clustering
Hi everybody,
I'm performing a cluster analysis (pkg "cluster") on a
dataset which includes 15 variables: is there a way to
know how much each variable weighs on the final
clustering output?
Thanks
Alessandro
2003 Aug 21
4
Importing data into R
Hello. I have been working with GeoDA, and have created a spatial weights
file for my data. I am now looking to use R to run regressions on this
data. However, I don't know and can't figure out how to get my data into R
to run these regressions.
I have the data in many formats, from a .dbf file to an Excel spreadsheet,
but I'm not sure how to go about importing it into R. Could
2004 Feb 16
2
Data for use in maps()
Dear all,
I am interested in plotting maps visualizing spatial statistics in an
aggregated fashion, according to administrative boundaries.
More specifically, I have fitted a cross-section model on data regarding
Italian "counties" (province, for Italian readers) and I would like to
visualize residual behavior on a map, in order to have a first
assessment of their spatial
2003 Oct 10
1
R(D)-COM stat conenctor for ArcGIS
Hi everybody,
I heard about "R(D)-COM Stat connector" for ArcGIS, but i am not
sure what that is. I did a search in the archive but it seems i am
not getting anything back.
can anybody explain me what that is, and where i can find more
info about it? There is any possibility to run R from inside
ArcGIS?
there is more than RArcInfo and Shapefile which can
2004 Mar 05
1
Interpolation or Kriging
Hello!
Here is my problem, I have got a data set that contains values of
intensity over a regular interval of time.
What I need to do is to resample this data set (or curve) at a
different interval of time x (1000 predictions will be made to
resample the curve).
So in order to perform such an operation I am required to do some
kind of interpolation.
I know that through kriging, the
2001 Sep 23
3
Patch for 2.4.10?
Will there be a patch of the latest version of ext3 for kernel 2.4.10 forthcoming?
--
David Hollister
Driversoft Engineering: http://devicedrivers.com
Digital Audio Resources: http://digitalaudioresources.org
2004 Aug 27
1
selecting unique columns of a matrix/data frame
Hi all,
I have a very high dimensional data and apparently there are several
columns that contain similar information (some columns are equal). I
want to form a matrix/data frame consisting of unique columns. Does
anyone have an efficient way of getting out these columns. A small
section of the data frame is given below.
Thanks for helping.
Stephen.
> newdata
[,1] [,2] [,3] [,4] [,5]
2007 Oct 01
1
Error loading DCluster
When I try to load the DCluster package I get the following error
message (R 2.5.1; PowerBook G4; Mac OS X 10.4.10)
(Load needed package)
Lade nötiges Paket: spdep
(error: package spdep could not been loaded)
Fehler: Paket 'spdep' konnte nicht geladen werden
(additional warning message)
Zusätzlich: Warning message:
(There is no package spdep in:.....)
es gibt kein Paket 'spdep'
2007 Jan 02
6
package dependency tree
Is there a painless way to find the names of all packages on CRAN
that "Depend" on a specified package?
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558 University of Illinois
fax: 217-244-6678 Champaign, IL 61820
2009 Aug 24
1
lme, lmer, gls, and spatial autocorrelation
Hello folks,
I have some data where spatial autocorrelation seems to be a serious
problem, and I'm unclear on how to deal with it in R. I've tried to do my
homework - read through 'The R Book,' use the online help in R, search the
internet, etc. - and I still have some unanswered questions. I'd greatly
appreciate any help you could offer. The super-super short explanation is
2004 Nov 11
3
(no subject)
Hi,
I have a list of numbers. For each of the numbers, I take sum of squares of
the numbers centered on the number chosen. If it is less than a certain
constant, I will take the average of the numbers chosen.
Anyone can give me a sample code. You help will be greatly appreciated.
Peter
[[alternative HTML version deleted]]