Displaying 20 results from an estimated 500 matches similar to: "calculating the spacial autocorrelation for poisson data"
2003 Sep 10
1
geoR variogram problem
Dear GeoR-er,
If I use the variog function in the latest release of geoR, the first lag is
always ignored.
For instance, if you read in geodata, calculates the variogram using the
variog function and give in a uvec like uvec=seq(0,max,by=2.44), it only
starts giving results from distance=4.88 and ignores 2.44!
This wasn't the case in former versions of geoR. Is this done on purpose?
Why?
2010 Nov 22
1
What if geoRglm results showed that a non-spacial model fits?
Hi R-people:
Working in geoRglm, it shows me, according to AIC criterion, that the non-spacial model describes the process in a better way. It's the first time that I'm facing up to.
These are my results:
OP2003Seppos.AICnonsp-OP2003Seppos.AICsp
#[1] -4
(OP2003Seppos.lf0.p<-exp(OP2003Seppos.lf0$beta)/(1+exp(OP2003Seppos.lf0$beta))) #P non spatial
#[1] 0.9717596
2003 Jul 24
1
geoR size limit problem
Hi all,
I tried to produce some kriged surfaces with geoR (latest version). The size
of the grid should be around 900 x 650 cells (what I find is not a very big
grid), and the number of points is around 2500. The command krige.conv
stopped after arround 5 min saying it can not allocate a vector with around
1.5 billion units. Sounds reasonable.
Is there a workaround? How would I partition the
2009 Nov 30
3
bug or bizarre feature?
Hello,
I'm running into a very strange problem:
> xrange <- c(-2.5,2.5)
> xdim <- 100
> mobility <- 0.1
> slope <- 1.16
> urange <- slope*xrange
> udim <- max(slope*xdim,5)
> du <- (urange[2]-urange[1])/udim
> uvec <- urange[1]+(1:udim-0.5)*du
> # type dependent weight function
> ckern <-
2011 Mar 25
1
spatial stats - geoR - variogram - standard deviation
Hello,
I am attempting to get the standard deviation in multiple distance bins in
my spatial data.
It appears as though the 'variog' command in the geoR package will do the
trick, as one of the outputs from 'variog' is 'variog$sd', which,
according to the manual, is the "standard deviation of the values in each
bin".
However, when I run this command, the
2005 Jul 13
3
nlme, MASS and geoRglm for spatial autocorrelation?
Hi.
I'm trying to perform what should be a reasonably basic analysis of some
spatial presence/absence data but am somewhat overwhelmed by the options
available and could do with a helpful pointer. My researches so far
indicate that if my data were normal, I would simply use gls() (in nlme)
and one of the various corSpatial functions (eg. corSpher() to be
analagous to similar analysis in SAS)
2013 Apr 04
5
help with kriging interpolation
All,
I am new to using R and know some basics. I wish to use kriging in R to
do the following:
given data Y =f(X1,X2,X3,.....,Xn) --1000+ irregular measured data set.
I would like to be able to get a single value y given sinle input set
(x1,x2,x3,...xn)
A google search on this takes me lierally to the same example on involving
analysis with soil sampling and I cannot figure out how to
2006 Jan 02
1
R crash with complex matrix algebra when using EISPACK=TRUE
Dear subscribers of R-devel
I am experiencing that R crashes (further details are given below) in
some complex matrix calculations when EISPACK=TRUE has been specified in
eigen().
I discovered the behaviour some months ago just after the
release of R-2.2.0, and it has been lying on my desk since.
I apologise for not having nailed the problem down to a simple function
call, but I thought I
2003 Feb 11
2
geoR question from new R user
Hi,
I'm a new R user. My goal is to do a variogram using geoR.
I started by trying to do the example in the geoR Illustrative Session
using my own data.
I am able to read in my Ascii data using: D <- matrix(scan("file.dat",
n=530*3), 530,3, byrow=TRUE).
Then I use: as.geodata(D, coords.col=1:2, data.col=3) to make the
object D geodata.
I check the descriptive statistics,
2005 Sep 15
4
Error in vector("double", length) : vector size specified is too large....VLDs
I have what R seems to consider a very large dataset, a 12MB text file of
lat,long,and height values, 130,000 rows to be exact.
Here's what I get:
Thomas Colson
North Carolina State University
Department of Forestry and Environmental Resources
(919) 673 8023
tom_colson at ncsu.edu
Calendar:
www4.ncsu.edu/~tpcolson
2006 Aug 30
1
Handling realisations in geoRglm
Dear R users:
I want to model mosquito count data based on landcover attributes and
meteorological variables using a Poisson GLSM in the geoRglm package. I
have monthly mosquito counts over more than 20 years with repeated
observations from individual trap sites over time. I have used
as.geodata() to successfully read my dataset into the geodata format
utilized by geoR and geoRglm,
2006 Jun 02
1
geoR, plot of variog4 lines incomplete
I'm using R for Mac OSX version 1.14 (2129) and the geoR package
version 1.6-5 (the current version in the R repository). I'm running
R in OS 10.4.6 on a Mac G4 iBook (933MHz, 640 MB DDR SDRAM). I
searched the R archive and did not find a posting on this issue.
I want to use the variog and variog4 functions of geoR to
characterize the pattern of spatial autocorrelation of tree
2002 Apr 26
2
Can't install packages (PR#1486)
Hello,
I install R under Mandrake Linux 8.2.
R itself work fine, but I had an error to install packages, i.e. fields, geoR
and geoRglm :
$: R CMD INSTALL geoRglm_0.4-3.tar.gz
Installing *source* package `geoRglm' ...
libs
gcc-3.0.1 -I/usr/lib/R/include -I/usr/local/include -mieee-fp
-D__NO_MATH_INLINES -fPIC -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro
-march=i586 -fno-fast-math
2002 Apr 26
2
Can't install packages (PR#1486)
Hello,
I install R under Mandrake Linux 8.2.
R itself work fine, but I had an error to install packages, i.e. fields, geoR
and geoRglm :
$: R CMD INSTALL geoRglm_0.4-3.tar.gz
Installing *source* package `geoRglm' ...
libs
gcc-3.0.1 -I/usr/lib/R/include -I/usr/local/include -mieee-fp
-D__NO_MATH_INLINES -fPIC -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro
-march=i586 -fno-fast-math
2007 Oct 10
11
please help me
dear list
I am student M.S. statistics in department statistics . I am working in the function "nls" in the [R 2.3.1] with 246 data and want to fit the "exp" model to vectors( v and u ) but I have
a problem to use it
u
5.000000e-13 2.179057e+03 6.537171e+03 1.089529e+04 1.525340e+04
1.961151e+04 2.396963e+04 2.832774e+04 3.268586e+04 3.704397e+04
4.140209e+04
2002 Dec 25
2
inv.logit (package boot) (PR#2394)
Full_Name: Ole Christensen
Version: 1.6.1
OS: linux-gnu
Submission from: (NULL) (130.225.18.176)
In package boot :
> inv.logit(800)
[1] NaN
where it should have been 1.
The problem is caused by exp(x) returning Inf when x is large.
One way of fixing the problem [there may be better ways] would be to include the
line
out[x > 709] <- 1
in inv.logit()
Cheers Ole
>
2008 Jul 25
0
Error in vector("double", length)
Please see the code below.
When I try to run the variogram - vg.deft<-variog(rd,uvec=10)
I keep getting this error-
variog: computing omnidirectional variogram
Error in vector("double", length) : vector size specified is too large
Also, when I try to define distance-based neighborhood -
nb.tr=dist.neighbors(tr.locs,2)
I get this error -
Error in vector("double", length) :
2008 Aug 15
1
Strange error message from geoR´s likfit () lik. max. func.
ComRades:
I am geeting the error message
Error in ldots[[which(MET)]] : attempt to select less than one element
when I try to fit the geostatistical model with the likfit() function of
geoR.
I have tried with old data for which likfit() successfully maximised the
likelihood in previous versions of geoR, and yet the current version
fails.
I have tried in Windows Vista and Windows XP (I haven't
2011 Apr 12
1
How to set the dimension of a matrix correctly?
Hi all,
I use kriging to interpolate the precipitation from stations, but the map of this results show lots of stripes. (please see the attachment)I think there's something wrong with the setting of the dimension of this matrix, however, I have no idea how to know or test to see if this setting is correct or not.I've tried to switch the latitude and longitude, but still got the same
2002 Jan 19
1
correlated random effects in GLMMGibbs ?
Dear R-users,
I wondered if anyone has extended GLMMGibbs to include correlated
random effects, and if so, whether they would be willing to let me
use their code?
Jonathan Myles has no plans to extend glmm in this manner within the
foreseeable future.
With thanks,
Patty
--
--------------------------------------------------------------------------------
Assoc Prof Patty Solomon