Displaying 20 results from an estimated 8000 matches similar to: "predicting values from model function"
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
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
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
2011 Mar 20
4
predicting values from multiple regression
Hey List,
I did a multiple regression and my final model looks as follows:
model9<-lm(calP ~ nsP + I(st^2) + distPr + I(distPr^2))
Now I tried to predict the values for calP from this model using the
following function:
xv<-seq(0,89,by=1)
yv<-predict(model9,list(distPr=xv,st=xv,nsP=xv))
The predicted values are however strange. Now I do not know weather
just the model does not fit
2003 Oct 02
1
Are package maintainers responsible for name-mangling class names?
The following came up when Roger Bivand and I discussed
R's name spaces and overlap in packages, in the bus to the
field trip during StatGIS, last Tuesday:
If two packages create the same class, say "variogram", and both
are loaded, then using a method for an object of class "variogram"
cannot discriminate between them and will call the method in the
package loaded last.
2005 Jun 11
1
R-help Digest, Vol 28, Issue 11
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of dwfu
> Sent: 11 June 2005 13:59
> To: r-help at stat.math.ethz.ch
> Subject: Re: [R] R-help Digest, Vol 28, Issue 11
>
>
> Dear all,
> I'm new using R and in (geo)statistics. I have a problem with solving
> my homework questions.
2008 Aug 20
1
pdf filenames in while loop
Dear R users,
I am a remote sensing researcher currently studying the use of LiDAR data for quantifying tree height, in particular I would like to determine the sample size needed to capture and quantify canopy height variability. To do this I have employed the use of automap(), which automatically calculates variograms including reporting the range of the variogram. The program is easy to use
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
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?
2005 Nov 09
2
Variograms and large distances
Hello R list,
I need to compute empirical variograms using data from a large
geographic area (~10^6 km2). Although I could not find a specific
reference, I assume that both geoR and gstat calculate distances among
data points assuming points are on a flat surface (using the Pythagorean
Theorem). Because the location of my data is large and located near the
pole, assuming that latitude and
2002 Oct 16
0
Ordinary and simple kriging
I'm performing ordinary and simple kriging from a set of non-negative
values:
>krige.control.sk<-krige.control(type.krige="sk",obj.model=my.variogram.model,beta=my.variogram.model$beta)
>sk<-krige.conv(cadiz.geo,data=amostragem.cadiz$dia1.std,locations=as.matrix(cadiz.polygrid[,c(1,2)]),krige=krige.control.sk)
krige.conv: model with constant mean
krige.conv: Kriging
2002 Oct 16
0
[Fwd: Ordinary and simple kriging]
Juan Zwolinski wrote:
>
> I'm performing ordinary and simple kriging from a set of non-negative
> values:
>
>
> >krige.control.sk<-krige.control(type.krige="sk",obj.model=my.variogram.model,beta=my.variogram.model$beta)
>
>
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
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
2004 Jun 16
0
gstat 0.9-12: cokriging cross validation and class name incompatibilities
I uploaded gstat 0.9-12 to CRAN, which has a few important changes:
1. Cokriging cross validation
Cokriging cross validation is now possible with the function gstat.cv:
you simply pass a multivariable gstat object, and cross validation is done
for the first variable in the object. Optionally, secondary variable
records
at locations coinciding with the validation locations are removed.
2. Class
2004 Jun 16
0
gstat 0.9-12: cokriging cross validation and class name incompatibilities
I uploaded gstat 0.9-12 to CRAN, which has a few important changes:
1. Cokriging cross validation
Cokriging cross validation is now possible with the function gstat.cv:
you simply pass a multivariable gstat object, and cross validation is done
for the first variable in the object. Optionally, secondary variable
records
at locations coinciding with the validation locations are removed.
2. Class
2011 Mar 16
5
R² for non-linear model
Dear List,
how can I obtain the value of r suqared for a non-linear model? For
linear models it can be found in the summary() of the model but for
non-linear models I just don't know. Please help!
Anna
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
2004 Sep 16
1
geoR/variog4() not returning all directions
Mac OS 10.3.5, R 2.0.0
latest version of geoR
I have an incomplete 5 x 20 spatial array of samples (60 out of 100
possible locations) for which I would like to calculate directional
variograms using variog4(). Unfortunately, I can't get it to return all
4 directions. It returns variograms for 45, 90, and 135 degrees,
omitting 0 degrees (pi/4, pi/2, 3pi/4, omitting 0). If I specify 0
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,