search for: modelcheck

Displaying 14 results from an estimated 14 matches for "modelcheck".

2011 May 27
1
Error with BRugs 0.53 and 0.71, on Win7 with R 2.12.2 and 2.13.0 (crashes R GUI)
...sistent problems with OpenBUGS crashing when using BRugs .53 and .71, and am hoping someone has suggestions. There is obviously something unusual going on in my environment, but I'm at a loss as to where to begin to try to solve it. In a nutshell, what happens is that, as soon as I call "modelCheck()" in BRugs, it gets an error or crashes ... but only some of the time (90% < p < 100%). Following are details: 1. OpenBUGS 3.0.3 + BRugs 0.531: It works occasionally, but approximately 90% of the time, I get the following error from modelCheck(): Error in handleRes(res[[3]]) : An O...
2007 Oct 07
1
Errors in R-2-6-0?
I was happy today to install the new version of R 2-6-0 But I ran into problems I did not have before: setwd("C:/R/DATA/BRugs") > library(BRugs) > > modelCheck("rcapturemodel.txt") Error in file(con, "r") : unable to open connection In addition: Warning message: In file(con, "r") : cannot open file 'C:\DOCUME~1\Franco\LOCALS~1\Temp\RtmpU0eG2C/buffer.txt', reason 'No such file or directory' I am 100 percent...
2008 Dec 09
1
expected variable name error pos 98349 WInBUGS in R
..."n.sites"=n.sites,"n.params"=n.params) > > bugsData(data.bugs, fileName = "nauseadata.txt") > > inits.bugs <- list("alpha"=rep(0,n.sites), "tau"=1) > > bugsInits(list(inits.bugs), fileName = "nauseainit.txt") > > modelCheck("nausea_random.txt") # check model file > model is syntactically correct > > modelData("nauseadata.txt") # read data file > expected variable name error pos 98349 > *MODEL* > model > { > for (i in 1:n.samples) > {NAUSEA[i] ~ d...
2009 Jul 20
2
HELP: BRUGS/WinBUGS/RBUGS Response is a combination of random variables
Hi, Is there anyone know if BUGS language allows the combination of variables as response such as Y[i] <- a*X1[i]+b*X2[i] Y[i] ~ dnorm(c,d) It seems doesn't work in my model. The problem is between two ######. The error message is > modelCheck("BayesBioMarker.BUGS") model is syntactically correct > modelData(paste("BUGS_data.txt",sep="")) data loaded > modelCompile(numChains=1) multiple definitions of node bm[1] =================================== model { for(iter in 1:n...
2008 Dec 07
1
Reading txt file in R
...ples,"n.sites"=n.sites,"n.params"=n.params) bugsData(data.bugs, fileName = "nauseadata.txt") inits.bugs <- list("b"=rep(0,n.params),"alpha"=rep(0,n.sites), "tau"=1) bugsInits(list(inits.bugs), fileName = "nauseainit.txt") > modelCheck("nausea_random.txt")       # check model file model is syntactically correct > modelData("nauseadata.txt")                     # read data file expected variable name error pos 134022 Model statement: model { for (i in 1:n.samples) {NAUSEA[i] ~ dbin(p[i],1) logit(p[i]) <-...
2008 Dec 08
1
Reading txt file in R to run Random Intercept Model
...les"=n.samples,"n.sites"=n.sites,"n.params"=n.params) > bugsData(data.bugs, fileName = "nauseadata.txt") > inits.bugs <- list("alpha"=rep(0,n.sites), "tau"=1) > bugsInits(list(inits.bugs), fileName = "nauseainit.txt") > modelCheck("nausea_random.txt") # check model file model is syntactically correct > modelData("nauseadata.txt") # read data file expected variable name error pos 98349 *MODEL* model { for (i in 1:n.samples) {NAUSEA[i] ~ dbin(p[i],1) logit(p[i]) <- alpha[SITE...
2011 Oct 24
0
Output from BRugs Doesn't Match That from OpenBUGS
...50 1595 1635 1445 > bugs.data(dats) [1] "data.txt" > model.file.name = 'C:/Users/ethan/Desktop/Dissertation/R/Dyes/Model.txt' > model.data.name = 'C:/Users/ethan/Desktop/Dissertation/R/Dyes/data.txt' > n.chains = 1 > write.model(model, model.file.name) > modelCheck(model.file.name) model is syntactically correct > modelData(model.data.name) data loaded > modelCompile(numChains=n.chains) model compiled > model.init.name = bugsInits(inits) > modelInits(rep(model.init.name,n.chains)) Initializing chain 1: initial values loaded but chain contain unini...
2012 Jan 24
1
Error from Brugs "'r for windows gui front-end has stopped working''
Dear all, I just try to run the example in R brugs packages, but not only once. Loop is added in this example. After several times (7, 11, or other random number), there is an error message "r for windows gui front-end has stopped working". This happened in two laptops with windows 7 and vista. I have tried different versions of R (2.14.1 and 2.13) and Brugs packages (0.7.1 and 0.7-5).
2009 Oct 06
2
R, Coda, and OpenBUGS
Hi All, I am trying to figure out how to use R-Coda with the output from OpenBugs. I have installed and loaded the packages BRugs and R2WinBUGS. I have successfully run a simple Bayes model in WinBUGS using R2WinBUGS' "bugs" and have used "read.bugs" to build the coda object. I can successfully switch to OpenBugs and run the same model and get the basic summary
2013 Jan 18
0
problem that arises after using the new version of "BRugs"
...lt; 100) | (nIter < 100)) stop("currently only working for chains longer than 100") if ((100 * round(nBurnin/100) != nBurnin) | (100 * round(nIter/100) != nIter)) warning("chain lengths not multiples of 100; truncation may occur.") modelCheck(modelFile) modelData(bugsData(data)) modelCompile(numChains = 1) modelInits(bugsInits(inits)) burninIncSize <- round(nBurnin/(nThin * 100)) for (i in 1:100) { modelUpdate(burninIncSize, thin = nThin) } samplesSet(parametersToSave)...
2010 Jun 01
12
Wine & Pro/Intralink
Hi My name i Lorenzo, I'm new on linux's world. I wold like to know is someone has tried to use Wine with Pro/Intralink (a PTC product). During installation...no problem. Lunching the program after installation... no results. Following, more informations: WINE Version: Wine 1.2-rc1 TERMINAL OUTPUT DURING INSTALLATION [code]icelolli at ascari:/media/PRO$ wine setup.exe icelolli at
2003 Aug 20
0
Re: Re: Your application
...LC3 LEGACY LIBRARY Languages - X LicenseMgt MANUFACTURING MARKUP MENU MANAGER MESH MOLD ModelCHECK NC_CHECK NC_POST Navigator OLE OLE container PHOTORENDER PIPING PLOT PRO/ASM PROCESS PRO/BATCH...
2003 Aug 20
0
Re: Re: That movie
...LC3 LEGACY LIBRARY Languages - X LicenseMgt MANUFACTURING MARKUP MENU MANAGER MESH MOLD ModelCHECK NC_CHECK NC_POST Navigator OLE OLE container PHOTORENDER PIPING PLOT PRO/ASM PROCESS PRO/BATCH...
2003 Aug 20
0
Re: Re: Wicked screensaver
...LC3 LEGACY LIBRARY Languages - X LicenseMgt MANUFACTURING MARKUP MENU MANAGER MESH MOLD ModelCHECK NC_CHECK NC_POST Navigator OLE OLE container PHOTORENDER PIPING PLOT PRO/ASM PROCESS PRO/BATCH...