[ADMB Users] glmmADMB-Function maximizer failed Poisson, ZIPoisson, NB1, ZINB1

Rocio Jana rcjp14 at gmail.com
Sun Dec 18 14:36:47 PST 2011


Hello Ben

Thanks for the instructions. I did my homework, and tried to follow
the instructions you sent. So far:
1- latest version downloaded today, reinstalled

2- new code run

pel.mataicl.NBalt<-glmmadmb(mataicl ~ rimuover + kahikover + mataiover
+ miroover + hinauover + tawaover+(year|trapno),
zeroInflation=FALSE,data=pel.3.dat,family =
"nbinom1",admb.opts=admbControl(run=FALSE),debug=TRUE,save.dir="glmmtmp")

Temporary folder created in working directory.

3- I am not sure what you meant with "copy the glmmadmb binary over to
that directory (if necessary -- this only happens on MacOS and Linux,
not on Windows)" as the exe file didn't appear in the temporary
folder, it was only in the new installed version of the package in the
library.

So I copied the glmmadmb.exe file from the downloaded binary file into
the glmmtmp folder. And I ran it. CMD window opened and analysis ran.
Several files were created (can send you the list if you want me to),
including glmmadmb.dat and glmmadmb.pin files.

I don't find any obvious output telling me what command would be run
by glmmADMB to run the model, sorry. Should it be one of the newly
created files in the glmmtmp folder?

4- Step 2

I couldn't make it work. I am sorry, but I don't understand very well
the instructions in this step.

>change to the temporary directory and run the command (which in your
>case would be

>C:\WINDOWS\system32\cmd.exe /c "C:/Program
>Files/R/R-2.14.0/library/glmmADMB/bin/windows32/glmmadmb.exe" -maxfn 500
>-noinit

When you said "change to the temporary directory" you mean change the
working directory within R (File, change dir...)?
and "run the command" in R?
because I tried it, but R didn't recognize it.

And finally, even I haven't got to step 3, once I do it, should I
re-run the whole code from step 1? i.e. re-create the temp folder and
everything? or re-run the code without the extra bit? Will R find the
output files even they were created in this temporary folder? As I
need to run 5 other models with other response variables and same
predictors, will it work automatically or will I need to run the code
from outside of R before every new model?

I apologize if I am asking too much, but I find this package extremely
useful and complete. So I really want to be able to use it well (and I
also need to).

Thank you very much
Rocio



> Rocio C. Jaña Prado PhD candidate
> School of Biological Sciences
> University of Canterbury Te Whare Wananga o Waitaha
>  Private Bag 4800, Christchurch 8020
>  New Zealand
> Phone: +64 3 3643055 or ext 3055 Fax: +64 3 3642590



More information about the Users mailing list