Displaying 20 results from an estimated 100 matches similar to: "Trend.spatial function in geoR"
2008 Jun 26
0
geoR : Passing arguments to "optim" when using "likfit"]
Mzabalazo Ngwenya wrote:
> Hi everyone !
>
> I'm am trying to fit a kriging model to a set of data. When I just run
> the "likfit" command I can obtain the results. However when I try to
> pass additional arguements to the optimization function "optim" I get
> errors. That is I want to obtain the hessian matrix so matrix
> (hessian=TRUE).
>
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
2010 Aug 04
1
geoR - likfit failure
Hi
I'm using geoR package to perform linear spatial interpolation(OK).
The function likfit() fails to compute REML.
The error meassage is : Error in solve.default(v$varcov, xmat);
How I can find out that likfit() is failed to process and retrieving the error message ?
Thank you so much for your help.
2008 Jun 26
0
geoR : Passing arguments to "optim" when using "likfit"
Hi everyone !
I'm am trying to fit a kriging model to a set of data. When I just run the "likfit" command I can obtain the results. However when I try to pass additional arguements to the optimization function "optim" I get errors. That is I want to obtain the hessian matrix so matrix (hessian=TRUE).
Heres a little example( 1-D). Can anyone shed some light? Where am I
2012 Nov 07
2
pseudo R-squared with likfit (geoR)
We want to compute a pseudo R-squared for a model whose parameter
estimation was based on maximum likelihood (function likfit, package geoR).
I tried to compute the R2 proposed by Maddala (1983) which compare the
maximized likelihood for the model without any predictor and the
maximized likelihood for the model with all predictors.
I got a really low value (0,01%). Did I miss something? Are
2011 Feb 24
2
if statements on vectors
I have two vectors: both have possible values of 1,-1, or 0
trend1 <- c(1,1,1,1,1,1,-1,-1,-1,-1,-1,-1)
trend2 <- c(1,1,1,1,1,1,1,1,1,1,1,1,1,1,)
i want to create a third vector that is conditional upon these two vectors:
if (trend2 == 1 && trend1 == 1) {position <- 1}
elseif (trend2 == -1 && trend1== -1) {position <- 1}
else {position <- 0}
based on this two
2007 Jul 24
0
geoR/likfit: variance explained by model
I have been modelling spatial data using function likfit in package geoR. Now that I have the spatial regression models, I would like to calculate the amount of variance explained by both the trend and the spatial parts of the model. Any advice on how to do this would be much appreciated.
Cheers,
Ailsa
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
2006 Jan 13
1
help with gepRglm::likfit.glsm
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch [SMTP:r-help-bounces at stat.math.ethz.ch] On Behalf Of ernesto
> Sent: Friday, January 13, 2006 9:25 AM
> To: Mailing List R
> Subject: [R] help with gepRglm::likfit.glsm
>
> Hi,
>
> I'm exploring likfit.glsm and I need some help. I have to say that I'm
> not an MCMC expert ...
>
2003 Jan 21
1
(v2) quadratic trends and changes in slopes (R-help digest, Vol 1 #52 - 16 msgs)
-----Original Message-----
Message: 6
Date: Mon, 20 Jan 2003 01:11:24 +0100
From: Martin Michlmayr <tbm at cyrius.com>
To: r-help at stat.math.ethz.ch
Subject: [R] quadratic trends and changes in slopes
I'd like to use linear and quadratic trend analysis in order to find
out a change in slope. Basically, I need to solve a similar problem as
discussed in
2002 Aug 30
2
syntax for push to remote rsync server
Hi,
I have set up two servers as rsync servers with ssh, they sync
agianst each other. I can pull data down from either remote node when logged
into one of them, using a module defined on both servers. However I don't
seem to be able to push from the localhost to the remote rsync server. I
think I'm using the incorrect syntax. If someone could highlight where I'm
going wrong it would
2016 Apr 06
1
Extracting windows from time series
Dear R Users
Thanks for the help in advance and lets get straight to the problem:
I have a 400 year long temperature time series and I am looking for decades that show a linear trend decrease of approximately -0.1 Kelvin or degrees. --> What I would like to program: A loop/function / command line that prints the values of all the trends (can also be overlapping) into a matrix that could have
2012 Oct 04
1
geoRglm with factor variable as covariable
Dear R users.
I'm trying to fit a generalised linear spatial mode using the geoRglm
package. To do so, I'm preparing my data (geodata) as follow:
geoData9093 = as.geodata(data9093, coords.col= 17:18, data.col=15,*
covar.col=16*)
where covar.col is a factor variable (years in this case 90-91-92-93)).
Then I run the model as follow:
/
model.5 = list(cov.pars=c(1,1),
2007 Aug 20
0
Covariance of beta and lambda in geoR likfit
Greetings comRades:
Has anyone worked out a procedure to calculate the estimated covariance
between the beta and lambda estimates in the likelihood-based
geostatistical model implemented in package geoR? If so, please help me
out by letting me know.
Do I have reasons to expect that this covariance term would be big or
perhaps more happily, that it could be discarded without much effect?
2003 Jan 20
0
quadratic trends and changes in slopes (R-help digest, Vol 1 #52 - 16 msgs)
-----Original Message-----
Message: 6
Date: Mon, 20 Jan 2003 01:11:24 +0100
From: Martin Michlmayr <tbm at cyrius.com>
To: r-help at stat.math.ethz.ch
Subject: [R] quadratic trends and changes in slopes
I'd like to use linear and quadratic trend analysis in order to find
out a change in slope. Basically, I need to solve a similar problem as
discussed in
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
2011 Oct 28
0
problem with glsm.krige: trendd and trend l must have similar specifications error
Hello,
I used glsm.mcmc and likfit.glsm to create model. Now I want to predict at different locations, but I can't get glsm.krige to work. I keep getting the error that trend.d and trend.l must have similar specifications. I have tried numerous ways to include the covariates in the glsm.krige model, and I keep getting the same error message. The bolded part is the part that doesn't work.
2003 Jan 20
1
quadratic trends and changes in slopes
I'd like to use linear and quadratic trend analysis in order to find
out a change in slope. Basically, I need to solve a similar problem as
discussed in http://www.gseis.ucla.edu/courses/ed230bc1/cnotes4/trend1.html
My subjects have counted dots: one dot, two dots, etc. up to 9 dots.
The reaction time increases with increasing dots. The theory is that
1 up to 3 or 4 points can be counted
2004 Oct 05
1
Bug in optim - way to solve problem?
Hi,
I want to automatically fit variograms to a large number of different
sample data sets, and call the funtion "likfit" (in package geoR) from
within a for-loop. "likfit" does again call "optim". After ssuccessfully
fitting variograms to some of the data sets, the procedure crashes and I
get the error message:
Error in optim(par = ini, fn = negloglik.GRF,
2008 Aug 18
1
GeoR model.control - defining covariates at prediction locations
Hi,
Im using geoR and I'm trying to do some predictions, based on an external
trend.
I'm having some problems specifying my model.control, specifically how do I
define my model, and also the source of the covariate data at the prediction
locations?
I am assuming that the covariate data at the prediction locations should be
imported to a geodata object along with the prediction location