Displaying 20 results from an estimated 3000 matches similar to: "nonlinear (especially logistic) regression accounting for spatially correlated errors"
2012 Aug 17
0
spatial auto-correlation structure in nlme
Dear R users,
I'm estimating a mixed effects model in which the spatial correlation is
controlled for by the "corGaus" structure. I'm wondering if there is a
document or paper that explains how the spatial correlation structure (such
as "corExp" or "corGaus") works.
Let me use the example and data posted on UCLA's R FAQ webpage to explain
my problems.
2005 Jul 15
1
nlme and spatially correlated errors
Dear R users,
I am using lme and nlme to account for spatially correlated errors as
random effects. My basic question is about being able to correct F, p, R2
and parameters of models that do not take into account the nature of such
errors using gls, glm or nlm and replace them for new F, p, R2 and
parameters using lme and nlme as random effects.
I am studying distribution patterns of 50 tree
2010 Feb 12
1
nlme w/no groups and spatially correlated residuals
Hi,
I would like to specify a spherical correlation structure for spatially
autocorrelated residuals in a model based upon the logistic function of a
response that is a proportion (0 to 1) (so usual binary logistic regression
is not an option). There is no need for a g-side random effect with
grouping in this model. Am I correct that nlme requires this (meaning a
correlated error structure only
2012 Jan 22
2
Calculating & plotting a linear regression between two correlated variables
Hi,
I have a Community (COM) composed of 6 species: A, B, C, D, E & F.
The density of my Community is thus (Eq.1): dCOM = dA + dB + dC + dE + dF
I would like to calculate and plot a linear regression between the density
of each of my species and the density of the whole community (illustrating
how the density of each species varies with variations of the whole
community).
For example, I would
2012 Oct 10
1
glmmPQL and spatial correlation
Hi all,
I'm running into some computer issues when trying to run a binomial model
for spatially correlated data using glmmPQL and was wondering if anyone
could help me out.
My whole dataset consists of about 300,000 points for which I have a suite
of environmental variables (I'm trying to come up with a habitat model for
a species of seal, using real (presence) and simulated dives
2011 Nov 16
0
calculating variograms (gstat) with large data sets
Dear all,
I am aiming to calculate variograms using variogram() from gstat.
The problem is that some of my data-sets are very large (> 400000 points).
Running the command takes some hours of time and does not give any
error-message.
Nevertheless the result seem not to be appropriate - the first few bins
are ok (up to a distance of about 300) but then it gains lags which are
much larger than
2008 Mar 19
1
analyzing binomial data with spatially correlated errors
Dear R users,
I want to explain binomial data by a serie of fixed effects. My problem is
that my binomial data are spatially correlated. Naively, I thought I could
found something similar to gls to analyze such data. After some reading, I
decided that lmer is probably to tool I need. The model I want to fit would
look like
lmer ( cbind(n.success,n.failure) ~ (x1 + x2 + ... + xn)^2 ,
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
2009 Mar 09
1
Zero distance error in corSpatial - correlation structure using lme
Hello,
I am having a problem specifying the correlation structure in lme which
leads to the error: Error in getCovariate.corSpatial(object, data =
data) : Cannot have zero distances in "corSpatial". I have specified a
grouping variable which is the only fix I could find by searching this
error on R-help.
ISee the below example. When my samples (tran) - which are transects
2012 Nov 12
0
Adding Spatial Correlation Strucutre to Logistic Regression / Contingency Analysis
>From what I can tell by reading forum posts etc., this is not a trivial
issue. An answer in 2008 indicated some directions, but I'm curious whether
any developments have been made since then.
In my data set I have 182 observations with a binomial response, a 2-level
explanatory factor, and x and y coordinates. By visually inspecting the
spatial distribution of standardized residual error
2005 Jun 07
0
user-defined spatial correlation structure in geeglm/geese
Dear all,
We have got data (response and predictor variables) for each country of the
world; I started by fitting standard GLM and tested for spatial correlation
using variogram models (geoR) fitted to the residuals of the GLM. Spatial
autocorrelation is significant. Therefore, I think about using general
estimation equations (geeglm or geese in geepack) allowing for residual
spatial
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
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
2010 Jan 23
1
(nlme, lme, glmmML, or glmmPQL)mixed effect models with large spatial data sets
Hi,
I have a spatial data set with many observations (~50,000) and would like to
keep as much data as possible. There is spatial dependence, so I am
attempting a mixed model in R with a spherical variogram defining the
correlation as a function of distance between points. I have tried nlme,
lme, glmmML, and glmmPQL. In all case the matrix needed (seems to be
(N^2)/2 - N) is too large for my
2005 Nov 08
2
Variogram
Dear All,
Is there anybody has the experience in using variogram(gstat) ? Please kindly give me some hints about the results.
I used variogram() to build a semivariogram plot as:
tr.var=variogram(Incr~1,loc=~X+Y,data=TRI2TU,width=5)
then fir the variogram to get the parameters as:
v.fit = fit.variogram(tr.var,vgm(0.5,"Exp",300,1))
v.fit
model psill range
1 Nug 1.484879
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.
2009 Mar 03
1
spatial markov chain methods
Hello,
can any one point me to R-packages (if available) which include spatial
Markov Chain methods?
My second question is more general but hopefully not OT: Currently we
are using the software TPROGS, which let people simulate property
distributions in space by some Markov Chain approaches. We face some
problems due to the lack of information between distances of samples
along borehole path
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 Feb 18
2
using names() as a variable in a formula
Greetings List,
I'm having some trouble with the use of the names function in a formula. Below is an example of something that works (i.e first line), and the second line is the same formula which doesn't. I want to be able to reference the column of the dataC table so I can run the variogram iteratively with a loop.
> v<-variogram(A1~1,loc=~x+y, dataC)
>