Displaying 20 results from an estimated 200 matches similar to: "spatial stats - geoR - variogram - standard deviation"
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?
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
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,
2009 Sep 17
0
geoR, variofit
Hello All!
I calculate a variogram using the function variog (package geoR)
afterwards I use variofit to fit a spherical model (see code below).
Now I just changed the units of the variable (in this case MPa to kPa
just a factor of 1000). If I do so, I get a different fit and
therefore different ranges etc. Why? The semi-variance is of course 6
orders of magnitude higher but the values
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
2006 Jun 03
1
default value for cutoff in gstat variogram()
I wonder what is the default value for the argument 'cutoff' when not
specified in the variogram.formula function of gstat. Computing
variogram envelops within gstat, I am comparing the results obtained
with variog in geoR and variogram in gstat, and it took me a while
before understanding that the cutoff default value is not the maximum
distance.
Can Edzer tell us about it?
All the
2006 Jan 05
1
Memory limitation in GeoR - Windows or R?
Dear Aaron,
I am really a tool user and not a tool maker (actually an ecologist
doing some biostatistics)... so, I take the liberty of sending a copy of
this e-mail to the r-help list where capable computer persons and true
statisticians may provide more relevant information and also to Paulo
Ribeiro and Peter Diggle, the authors of geoR..
I really feel that your huge matrix cannot be
2010 Jun 09
0
Fixed sill in variogram fitting (geoR)
Dear all,
I'm trying to fit a variogram model using variofit function in geoR
package. There is an option to fix the nugget but is there anyway to force
the variogram sill to equal some defined value? I'm working with
standardized longitudinal data so the process variance is 1 and I'd like
to force the sill of the variogram to reach this value (and prevent it
from going
2004 Nov 18
0
implementing a "loop" using by(x,x$factor,FUN)
Hi,
I'm writing some R code that requires a massive amount of looping and would
ideally like to write it so that it avoid the use of "for" loop ... however I'm
having some trouble.
Very briefly, the basic idea is to implement a binary partitioning algorithm to
determine the optimal cutpoint based on deviance measures obtained from
likelihood estiamtes. This is in the
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) :
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
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
2005 May 17
0
Problem in lme longitudinal model
Hi R-masters!
I trying model Heart disease mortality in my country with a lme model like
this:
m1.lme<-lme(log(rdeath)~age*year,random=~age|year,data=dados)
where: rdeath is rate of mortality per 100000 person per age and year
age: age of death (22 27 32 37 42 47 52 57 62 67 72 77 82)
year: year of death (1980:2002)
I don?t have problem to fit the model, but in
2017 Sep 24
1
R version 3.3.2, Windows 10: gstat package: Error in fitting a variogram model using 'fit.variogram' function
Dear Members,
I am trying to fit a variogram model using fit.variogram function from the gstat package. The figure showing my experimental variogram can be seen here: https://i.stack.imgur.com/UZXw4.png
My code line for this operation is:
> c2.vgm.fit<-fit.variogram(c2.vgm.exp,vgm(nugget=0, psill=400,model="Exp",range =40000),fit.method = 7)
The system throws following error
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
2011 Feb 18
0
Bug in the function Variogram (package nlme) ?
Dears UseRs,
In Zuur's book (Mixed effects models and extensions in ecology with R), p
167, it is mentionned that the Variogram function (package nlme) scale the
sill to 1.
Here is the plot of the semi-variogram given by the Variogram function on my
"lme" object. (http://imm.io/3OLe)
Note that the semi-variance exceed 1 !!
It can probably explain why the Gaussian correlation
2011 Feb 18
0
Variogram (nlme) of a lme object - corSpatial element question
Dear Users,
>From previous analysis (semi-variograms using package gstat), I found
spatial autocorrelation in my dataset.
The best fitted model to this spatial correlation structure is the Gaussian
model (Spherical, Exponential, Linear tested and comparison done by Sum of
Square errors).
So I used corGaus function to define this spatial autocorrelation in my lme
model using the option
2009 Jun 11
0
Variogram fitted by Cauchy
Hi
I'm using R(2.9.0) and gstat package under Windows to plot sample variograms.
When I want to fit them, I don't have the possibility to choose Cauchy functions. Under Mathematica for example, we have it and it seems to be the best one to fit the variograms I have
I tested the others functions, they can fit but I would,if possible, use the Cauchy one. If anybody knows something about
2004 Oct 25
1
sample variogram construction
Hi
Im attempting to build a sample variogram for 300 obersvations
of longitudinal data. So what I need to do is compute the half
squared differences between pairs of residuals (for instance
if a subject has 4 obersvations, this is 4 choose 2 paird differences)
for each subject.
Also, then I need the corresponding time differences within each
individual. So the end result will be a 300 by 2
2000 Oct 20
1
Covariace or variogram surface
Hi
I'm interested in doing a anisotropy analysis of some spatial data and I
want to do a contour plot of a covariance or variogram surface to
visualize the directions of maximal and minimal anisotropy.
I know how to do a contour plot :-) but how can I obtain the variogram
surface having a geoeas format dataset (X, Y, Z) ?
Thanks
EJ