Displaying 20 results from an estimated 400 matches similar to: "Very slow optim()"
2007 Apr 05
2
Likelihood returning inf values to optim(L-BFGS-B) other options?
Dear R-help list,
I am working on an optimization with R by evaluating a likelihood
function that contains lots of Gamma calculations (BGNBD: Hardie Fader
Lee 2005 Management Science). Since I am forced to implement lower
bounds for the four parameters included in the model, I chose the
optim() function mith L-BFGS-B as method. But the likelihood often
returns inf-values which L-BFGS-B
2010 Jun 16
4
an alternative to R for nonlinear stat models
Hi
I implemented the age-structure model in Gove et al (2002) in R, which is a
nonlinear statistical model. However running the model in R was very slow.
So Dave Fournier suggested to use the AD Model Builder Software package and
helped me implement the model there.
ADMB was incredibly fast in running the model:
While running the model in R took 5-10 minutes, depending on the
2011 Nov 17
2
RV: Reporting a conflict between ADMB and Rtools on Windows systems
De: Rubén Roa
Enviado el: jueves, 17 de noviembre de 2011 9:53
Para: 'Users@admb-project.org'
Asunto: Reporting a conflict between ADMB and Rtools on Windows systems
Hi,
I have to work under Windows, it's a company policy.
I've just found that there is a conflict between tools used to build R packages (Rtools) and ADMB due to the need to put Rtools compiler's
2023 Mar 31
1
Query: Could documentation include modernized references?
>>>>> Duncan Murdoch
>>>>> on Sun, 26 Mar 2023 12:41:03 -0400 writes:
> On 26/03/2023 11:54 a.m., J C Nash wrote:
>> A tangential email discussion with Simon U. has
>> highlighted a long-standing matter that some tools in the
>> base R distribution are outdated, but that so many
>> examples and other tools may use
2009 Jan 27
3
Microsoft Access MDB database on Samba share
I'm having problems using Microsoft Access 2000 mdb files on a Samba share.
The same database worked very well on a Windows server.
I had hoped Samba would be a drop in replacement for a Windows server
but apparently Access needs special Samba configuration.
In Access I sometimes get Run-time error '3035': System resource exceeded.
I don't see any errors in the log file when
2010 May 31
1
running admb from R using system()
Hi
I'm trying to run an admb model from R by using the system () command.
The admb model runs fine when running it from the admb command line or
when using emacs. However when I try it with system() then R crashes
every time.
And I tried using the R command line and RGui and in both it crashes. I
also tried it from different computers.
What I do is I first set the directory where I keep
2006 Dec 19
2
Problem with glmmADMB
library(glmmADMB)
#Example for glmm.admb
data(epil2)
glmm.admb(y~Base*trt+Age
+Visit,random=~Visit,group="subject",data=epil2,family="nbinom")
Gives:
Error in glmm.admb(y ~ Base * trt + Age + Visit, random = ~Visit,
group = "subject", :
The function maximizer failed
******************
R version 2.4.1 RC (2006-12-14 r40181)
powerpc-apple-darwin8.8.0
locale:
C
2005 May 24
1
couldn't find service %u
Hello,
after upgrading from 3.0.8 to 3.0.14a I started have problems in my network.
Environment:
- clients with W2KSP4
- Linux Debian Sarge server with Samba acting as PDC.
There was no other changes on server configuration.
Problems:
1) Only some users cannot reach their home share automatically after login. I am using "login drive = J:" to auto-setup connection after login.
2) Only
2006 Feb 24
1
SE of parameter estimates in glmm.admb
Dear R users,
Does anyone know how to get standard errors of the
parameter estimates in glmm.admb?
Thanks,
Istvan
2009 Sep 22
1
Question about zero-inflated poisson with REML.
Dear All,
As you know, glmmADMB package use ML method for estimation.
Is it possible to use REML estimation method for zero-inflated Poisson
distribution?
For ML method,
poi_ML <- glmm.admb(los ~ psihigh + trt.mod + trt.high + psihigh*trt.mod +
psihigh*trt.high + 1, random = ~1, group="site", family="poisson",
data=edcap)
summary(poi_ML)
How can I control to use REML
2006 Feb 08
1
nested random effects in glmm.admb
Hello all,
In a previous posting regarding glmm.admb it is stated that glmm.admb
can handle 2 nested random effects. I can only fit a single random
term at the moment, and wondered if anyone could provide me with some
information on how to specify a model with 2 (nested or
cross-classified) random terms?
Thanks,
Jarrod.
2008 Nov 25
1
AD Model Builder now freely available
Hi All,
Following Mike Praeger's posting on this list,
I'm happy to pass on that AD Model Builder is now freely available from
the ADMB Foundation.
http://admb-foundation.org/
Two areas where AD Model builder would be especially useful to R users
are multi-parmater smooth optimization as in larg scale maximum
likelihood estimation and the analysis of general nonlinear random
2011 Sep 03
1
help with glmm.admb
R glmmADMB question
I am trying to use glmm.admb (the latest alpha version
from the R forge website 0.6.4) to model my count data
that is overdispersed using a negative binomial family but
keep getting the following error message:
Error in glmm.admb(data$total_bites_rounded ~
age_class_back, random = ~food.dif.id, :
Argument "group" must be a character string specifying
the
2005 Dec 14
3
glmmADMB: Generalized Linear Mixed Models using AD Model Builder
Dear R-users,
Half a year ago we put out the R package "glmmADMB" for fitting
overdispersed count data.
http://otter-rsch.com/admbre/examples/glmmadmb/glmmADMB.html
Several people who used this package have requested
additional features. We now have a new version ready.
The major new feature is that glmmADMB allows Bernoulli responses
with logistic and probit links. In addition there
2006 Feb 09
1
glmm.admb - bug and possible solution??
Dear Dr Skaug and R users,
just discovered glmm.admb in R, and it seems a very useful tool.
However, I ran into a problem when I compare two models:
m1<-glmm.admb(survival~light*species*damage, random=~1, group="table",
data=bm, family="binomial", link="logit")
m1.1<-glmm.admb(survival~(light+species+damage)^2, random=~1,
group="table", data=bm,
2006 May 23
2
glmmADMB and the GPL -- formerly-- How to buy R.
Dear List,
Some of you have been following the discussion of the GPL and its inclusion
in the glmmADMB package we created for R users. I would like to provide
a bit of background and include an email we received from
Prof. Ripley so that everyone can be aware of how some might use the
GPL to try to force access to proprietary software. I think this is
interesting because many have voiced the
2005 Mar 23
1
Negative binomial GLMMs in R
Dear R-users,
A recent post (Feb 16) to R-help inquired about fitting
a glmm with a negative binomial distribution.
Professor Ripley responded that this was a difficult problem with the
simpler Poisson model already being a difficult case:
https://stat.ethz.ch/pipermail/r-help/2005-February/064708.html
Since we are developing software for fitting general nonlinear random
effects models we
2008 Apr 02
2
restrictions for attribute access <Watchdog: Virus checked>
Hello everybody,
I have a problem with accessing class attributes. I think it might be
due to namespace access restrictions or something similar, but I'm
unable to figure it out, maybe someone knows the trick how to do
it ...
I'm trying to extract some information from the summary object for a
model fitted using the lmer function from the lme4 package:
smry <- summary(lmer(foo
2012 Mar 29
3
r-forge build failure bafflement
I am attempting to build a package on r-forge and running into a
weird error. I have been in correspondence with the R-forge admins
and am turning to r-devel on the remote chance that someone might have
a guess as to what is going wrong or a suggestion about further
diagnostics/experiments I could try ...
The package seems to build fine on my system(s) with
R CMD build --compact-vignettes
2008 Feb 01
1
Mixed models
Hello Folks,
I'm after some help regarding mixed models.
Basically I have sampled a number of different animals at 10 independent sites and am trying to create a mixed model to account for the variation between sites my current model looks like this:
mm<-glmm.admb(Hep~Sex+Mass, random=~Mouse, group=Location, data=alan, family="binomial", link="logit")
I numbered each