Hi Adjan,

I got the same warning message ("The function maximizer failed (couldn't
find STD file)") when I tried to run some of models and I found out in a
previous discussion a suggestion from Ben Bolker to modify some additional
arguments of the 'glmmadmb' function as:

m600 <- glmmadmb(resp ~ treatment * year + (year|site)+
offset(log(bot$area)), data=bot, zeroInflation=TRUE, family = "nbinom1",
admb.opts=admbControl(shess=FALSE,noinit=FALSE))

After that, my models run ok and with no warning messages returning. Maybe
it would be enough.
Best

*Gustavo S. Requena, PhD*
http://requenags.commons.yale.edu/
Post-Doctoral Fellow
Yale University

Department of Ecology and Evolutionary Biology****
Alonzo Lab - OML, office 427
165 Prospect Street, New Haven, CT

06520 USA


On Fri, Feb 8, 2013 at 11:44 AM, Adriaan De Jong <Adriaan.de.Jong@slu.se>wrote:

> Hi,
> I try to evaluate models with various families, with and without zero
> inflation.
> This is the set of models I've tried so far:
>
> m100 <- glmmadmb(resp ~ treatment * year + (year|site)+
> offset(log(bot$area)), data=bot, zeroInflation=FALSE, family = "poisson")
> m200 <- glmmadmb(resp ~ treatment * year + (year|site)+
> offset(log(bot$area)), data=bot, zeroInflation=TRUE, family = "poisson")
> m300 <- glmmadmb(resp ~ treatment * year + (year|site)+
> offset(log(bot$area)), data=bot, zeroInflation=FALSE, family = "nbinom")
> m400 <- glmmadmb(resp ~ treatment * year + (year|site)+
> offset(log(bot$area)), data=bot, zeroInflation=TRUE, family = "nbinom")
> m500 <- glmmadmb(resp ~ treatment * year + (year|site)+
> offset(log(bot$area)), data=bot, zeroInflation=FALSE, family = "nbinom1")
> m600 <- glmmadmb(resp ~ treatment * year + (year|site)+
> offset(log(bot$area)), data=bot, zeroInflation=TRUE, family = "nbinom1")
>
> For species A, m100, m300 and m600 run smoothly, but the others all return
> the same error message:
>
> Error in glmmadmb(resp ~ treatment * year + (year | site) +
> offset(log(bot$area)),  :
>   The function maximizer failed (couldn't find STD file)
>
> although I try to follow the "Getting started with the glmmADMB package"
> as closely as possible.
>
> The error message always comes with an additional warning:
>
> In addition: Warning message:
> running command 'C:\Windows\system32\cmd.exe /c "C:/Program
> Files/R/R-2.15.2/library/glmmADMB/bin/windows64/glmmadmb.exe" -maxfn 500
> -maxph 5 -noinit -shess' had status 1
>
> For other  species, other models produce this error while models not
> working for species A work fine  (each species has the same data-structure,
> but with different amounts and distributions of the zeros, and different
> number of cases).
>
> The glmmADMB package was downloaded today from
> http://glmmadmb.r-forge.r-project.org/ and I run  R x64 2.15.2
> (2012-10-26) under Windows 7 in a university network.
> Grateful for any hints or comments that can lead me out of this trench.
> Have a nice weekend!
> Adjan
>
> Adriaan "Adjan" de Jong
> Wildlife, Fish, and Environmental Studies
> SLU, Umeå, Sweden
>
>         [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-sig-mixed-models@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
>

	[[alternative HTML version deleted]]

