Displaying 20 results from an estimated 4000 matches similar to: "problem with BRugs"
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)
I've run into persistent 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
2010 Apr 19
1
BRugs
Hi. I am new here, and I am writing this Winbugs code with BRugs.
n=length(bi.bmi)
Lagegp=13
Lgen=2
Lrace=5
Lstra=15
Lpsu=2
#model gen x race
bi.bmi.model=function(){
# likelihood
for (i in 1:n){
bi.bmi[i]~ dbern(p[i])
logit(p[i])<- a0 + a1[agegp[i]]+a2[gen[i]]+a3[race[i]]
+ a12[agegp[i], gen[i]]
+ gam[stra[i]]+ u[psu[i],stra[i]] }
# constraints for a1, a2, a3, a12
a1[1]<-0.0
2011 Oct 24
0
Output from BRugs Doesn't Match That from OpenBUGS
Hi.
I am trying to analyze with BRugs the Box-Tiao variance components example
in WinBUGS. The output from BRugs,
mean sd MC_error val2.5pc median val97.5pc start sample
sigma2.btw 681.9 1161 10.89 0.7016 253.8 4232 25001 100000
sigma2.with 4266.0 1246 4.92 2480.0000 4057.0 7262 25001 100000
doesn't match the output from WinBUGS,
node mean
2012 Apr 04
1
BRugs crash, question
(Using BRugs 0.7-5, R 2.14.2 32-bit on 64-bit Windows 7, OpenBUGS 3.2.1)
1. BRugs crashes R for me as follows. Sorry about the lack of detail; please let
me know if / how to supply a more useful bug report on this issue.
fit <- BRugsFit(...)
# BRugs and OpenBUGS runs fine, the parameter estimates are reasonable
# across 3 chains
samplesBgr("beta") # crash
2005 Apr 08
1
new R package BRugs
Hi,
this is the first announcement of a *developer version* of the R package
BRugs, which is based on OpenBUGS 2.1.0.
OpenBUGS 2.1.0 has been released earlier this week
(http://mathstat.helsinki.fi/openbugs/).
BRugs contains a complete OpenBUGS installation as well as R code to
access OpenBUGS functionality from R. Simply install the package, load
it and say ?BRugs and ?BRugsFit
2012 Sep 21
1
BRugs has a bug to use "OpenBUGS_PATH"
Hi,
When I used BRugs (Version 0.8.0), I found a bug about the
findOpenBUGS way using "OpenBUGS_PATH". I don't know how to contact
the developer, so I think someone here may help me.
The issue is: I want to use OpenBUGS/BRugs in a portable way in
windows, so I set the environment variable "OpenBUGS_PATH" to tell
BRugs the path to OpenBugs. But the R library BRugs is still
2013 Feb 10
1
BRugs Error
I installed XCode, XQuartz and OpenBUGS on my Mac using WINE. When I tried to test my installation I received the following error.
If correct, BRugs does not exist for R 2.15.1.
Is there a means to get arrange this problem?
Thanks
Paul
The following code is an example from R Help bugs:
> schools.sim <- bugs(data, inits,
+ parameters, model.file, n.chains=3,
+ n.iter=1000,
+
2010 May 17
1
BRugs under Linux?
Hello.
In this post:
http://finzi.psych.upenn.edu/Rhelp10/2010-March/233815.html
Uwe Ligges suggests using BRugs rather than R2WinBUGS under windows. He
also notes that it is not in the main CRAN repository, but it is in
"extras" which is a default repository under windows.
I have OpenBUGS 3.1.0 (the latest that has a native Linux version which
is no longer called linBUGS)
2007 Sep 21
1
BRugs package question
Hi there,
I installed the latest OpenBUGS version (3.0.3) in program files folder but it seems that bugs use its own version of OpenBUGS.
here is part of the message bugs returns
.....
Welcome to BRugs running on OpenBUGS version 2.2.0 beta
how can i configure BRugs to use the mine version of OpenBUGS?
Cheers, SK
---------------------------------
[[alternative
2012 Jun 05
1
load coda in BRugs to perfor diagnostics
Dear all,
I just wrote a script to have each of my three mcmc chins running on a
different computer core to improve computation speed. To do it I use the
function sfLapply from the package snowfall.
Before using parallell computation, I did my diagnostic analyses just after
the model updating, but now I have to save the coda before.
Using the CODA package, it is possible to load the outputs in a
2008 May 22
6
Where to download BRugs
Hi all, I tried to follow an online tutorial to run openBUgs but the package
BRugs has been removed from R repository.
Could someone provide a link for where to download BRugs?
Thanks a lot!
--
View this message in context: http://www.nabble.com/Where-to-download-BRugs-tp17411410p17411410.html
Sent from the R help mailing list archive at Nabble.com.
2012 May 27
5
Help Brugs
Hola;
estoy intentando utilizar el paquete BRugs
y cuando entra el comando:
library(BRugs)
me da el siguiente error:
Error: .onLoad failed in loadNamespace () for ''Brugs''
Alguien puede ayudarme?
Saludos
-
Jose Ramón Alameda Bailén
Área de Psicología Básica
Universidad de Huelva
[[alternative HTML version deleted]]
2007 May 14
1
Hierarchical models in R
Is there a way to do hierarchical (bayesian) logistic regression in R, the
way we do it in BUGS? For example in BUGS we can have this model:
model
{for(i in 1:N) {
y[i] ~ dbin(p[i],n[i])
logit(p[i]) <- beta0+beta1*x1[i]+beta2*x2[i]+beta3*x3[i]
}
sd ~ dunif(0,10)
tau <- pow(sd, -2)
beta0 ~ dnorm(0,0.1)
beta1 ~ dnorm(0,tau)
beta2 ~ dnorm(0,tau)
beta3 ~
2013 Jan 09
1
problems regarding the latest version of the package "BRugs"
Respected Sir/Madam,
I am a research scholar of Department
of Statistics, University Of Calcutta. I had downloaded the latest version
of "BRugs", and installed it in R 2.15.1 both in 32 and 64 bits with the
help of openBUGS 3.2.2. My problem is that one of the programmes which
requires the package "BRugs" is giving me an error given below:
2005 Jul 19
1
Using BRugs, in FUN: .C(..) 'type' not "real"
To All,
I am using the BRugs package. In running the meta file BRugsFit() with a
syntactically correct model .txt file, I see the message:
Error in FUN(X[[1]], ...) : .C(..): 'type' must be "real" for this format
I haven't found information on this kind of error either here or on the
OpenBUGS/WinBUGS/BRugs bulletin boards. If there is a better place to post
this
2010 Oct 15
1
Problem using BRugs
Hi R users,
I am trying to call openbugs from R. And I got the following error message:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
model is syntactically correct
expected the collection operator c error pos 8 (error on line 1)
variable ww is not defined in model or in data set
[1] "C:\\DOCUME~1\\maomao\\LOCALS~1\\Temp\\RtmpqJk9R3/inits1.txt"
2010 May 06
1
BRugs dwwinn.exe error
Hi,
I have a strange behaviour of openBUGS and WinBUGS when I start them
from R.
Version:
R: 2.10.1
openBUGS: 3.07
WinBUGS: 1.43
R2WinBUGS: 2.1-16
BRugs: 0.5-3
I have a model and data without initial start values. If I use the stand
alone versions of openBUGS and WinBUGS I don't have any problems and I
get what I want.
If I use function bugs() from R2WinBUGS- resp. BRugs-Library then
2011 Jan 27
1
Issue with installing BRugs
Hello, all. When I try to install the most recent BRugs package (the one
that uses version 3.1.2), found here:
http://www.openbugs.info/w/UserContributedCode
I get the following error:
> utils:::menuInstallLocal()
Error in gzfile(file, "r") : cannot open the connection
In addition: Warning message:
In gzfile(file, "r") :
cannot open compressed file
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
2011 Jan 30
1
Where does R look for library packages - there is no package called 'BRugs'
I am have installed R on Windows 7 machine. R got installed in the directory
C:\Program Files\R\R-2.12.0. Then I installed the package BRugs using the
install.packages command. I did not get an option during the installation as
to what directory I wanted BRugs installed in. It ended up in
C:\myusername\Documents as C:\myusername\Documents\R\win-library\2.12\BRugs.
When I open and R and run the