Dear list,

I'm trying to fit a glmmadmb, but I'm always getting the following error
message:

*mod <- glmmadmb(anzahl_round~wea1*seg + offset(log(flaeche)) + (1|day_ID)
+ (1|seg), zeroInflation=TRUE, family="poisson", data=dat1)  *

*Parameters were estimated, but not standard errors were not: the most
likely problem is that the curvature at MLE was zero or negative
Error in glmmadmb(anzahl_round ~ wea1 * seg + offset(log(flaeche)) + (1 |
:
  The function maximizer failed (couldn't find STD file) Troubleshooting
steps include (1) run with 'save.dir' set and inspect output files; (2)
change run parameters: see '?admbControl'
In addition: Warning message:
running command 'C:\Windows\system32\cmd.exe /c
"C:/Users/Hawksbill/Documents/R/win-library/3.0/glmmADMB/bin/windows32/glmmadmb.exe"
-maxfn 500 -maxph 5 -noinit -shess' had status 1 *


Previous posts suggested to run "..., save.dir="tmp",
admb.opts=admbControl(run=FALSE), ...".  However, when I run this example
provided in an older post (see old post below), I get another error
message 'run=FALSE'
specified, STD file not found: stopping

> data(bacteria,package="MASS")
> bacteria$present <- as.numeric(bacteria$y)-1
> ## run to generate files
> glmmadmb(present ~ trt + I(week > 2), random = ~ 1 | ID,
+                      family = "binomial", data = bacteria,
+          save.dir="tmp",admb.opts=
+
+     admbControl(run=FALSE),
+              debug=TRUE)
platform: windows 32
executable name: glmmadmb.exe
bin_loc:
C:/Users/Hawksbill/Documents/R/win-library/3.0/glmmADMB/bin/windows32/glmmadmb.exe

changed working directory to c:/Windkraft Analyse May 2013/Windkraft
Analyse Daten/Seetaucher/tmp
Command line:
"C:/Users/Hawksbill/Documents/R/win-library/3.0/glmmADMB/bin/windows32/glmmadmb.exe"
-maxfn 500 -maxph 5 -noinit -shess
'run=FALSE' specified, STD file not found: stopping
changed working directory to c:/Windkraft Analyse May 2013/Windkraft
Analyse Daten/Seetaucher
NULL
>     ## now run glmmadmb outside of R ...
>     ## ./glmmadmb -maxfn 500 -maxph 5 -noinit -shess
>     ## run to read in data
>     result <- glmmadmb(present ~ trt + I(week > 2), random = ~ 1 | ID,
+                          family = "binomial", data = bacteria,
+              save.dir="tmp",admb.opts=admbControl(run=FALSE))
'run=FALSE' specified, STD file not found: stopping

Does anyone have a solution to this problem?

Many thanks in advance,

Julia















2012/1/13 Ben Bolker <bbolker@gmail.com>

> dave fournier <davef@...> writes:
>
> >
> > When you run glmmadmb in R, R writes ADMB's files and runs the glmmadmb
> > program
> > via system(). There is an option to keep these files and then to run
> > glmmadmb from outside
> > R. You can then read the results back into R. Doing it this way (i.e.
> > exiting R before
> > running glmmadmb) will give you a bit more memory. It may be enough.
> > That is the simplest first thing to try I think.
> >
> >
>   specifically, you should be able to specify
>
> ..., save.dir="tmp", admb.opts=admbControl(run=FALSE), ...
>
> which will create the temp directory with everything you need in it.
> Then run ADMB from the terminal/command window.
>
>   Here's an example:
>
> data(bacteria,package="MASS")
> bacteria$present <- as.numeric(bacteria$y)-1
> ## run to generate files
> glmmadmb(present ~ trt + I(week > 2), random = ~ 1 | ID,
>                      family = "binomial", data = bacteria,
>          save.dir="tmp",admb.opts=admbControl(run=FALSE),
>          debug=TRUE)
> ## now run glmmadmb outside of R ...
> ## ./glmmadmb -maxfn 500 -maxph 5 -noinit -shess
> ## run to read in data
> result <- glmmadmb(present ~ trt + I(week > 2), random = ~ 1 | ID,
>                      family = "binomial", data = bacteria,
>          save.dir="tmp",admb.opts=admbControl(run=FALSE))
>
> _______________________________________________
> R-sig-mixed-models@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>

	[[alternative HTML version deleted]]

