Displaying 20 results from an estimated 1000 matches similar to: "Problems with R2WinBUGS"
2012 Mar 01
2
Robust ARMA Fitting in R?
Hello, BODY { font-family:Arial, Helvetica,
sans-serif;font-size:12px; }
Does any one know if there are any functions/packages available in R
for robust fitting of ARMA time series models (e.g., similar to the
function arima.rob() in S-PLUS)?
Many thanks and kind regards,
Isabella
Isabella R. Ghement, Ph.D.
Ghement Statistical Consulting Company
301-7031 Blundell Road,
2017 Sep 04
0
JSM 2018 Invited Session Proposals on Statistical Graphics and Data Visualization Due by September 7, 2017
Dear Colleagues,
If you work in the statistical graphics and/or data visualization fields, please consider organizing an invited session for the JSM 2018 conference in Vancouver, whose
theme is ?#LeadWithStatistics.?
ASA's Section on Statistical Graphics will sponsor 3 invited sessions at JSM 2018, with a further 1-2 proposals having the potential to be included in the JSM 2018
conference
2009 Apr 08
0
Comparing Proportions Among Groups
Hi everyone,
I am trying to compare proportions among groups using the logistic
regression
approach as follows:
1) Fit the model log(p_i/(1-p_i)) = M + G_i, where p_i is the probability
of success in group i and G_i is the effect of group i, i=1,..,I.
2) Test the hypotheses:
Ho: G_1 = G_2 = ... = G_I (the probability of success is the same for all
groups)
versus
Ha: at least two
2009 Nov 11
1
Unexpected behaviour for as.date()
Hi everyone,
I am trying to use the function as.date() from the "dates" package in R
2.10.0 to convert a character date to a Julian date, as follows:
> as.date("02-MAY-01", order="mdy") # convert May 2, 2001 to a Julian date
[1] 2May1
However, when trying to convert a character date from the year 2000 to a
Julian date, I get an <NA> instead of the
desired
2007 Jul 26
2
error in using R2WinBUGS on Ubuntu 6.10 Linux
I am trying to run WinBUGS 1.4 from the Ubuntu 6.10 Linux distribution. I am using the R2WinBUGS packages with the source file listed below. WinBUGS appears to run properly, but I get the following message after WinBUGS starts in WINE. Does anyone know what may be causing this error and what the correction may be?
Thanks
ERROR MESSAGE:
fixme:ole:GetHGlobalFromILockBytes cbSize is 13824
2011 Jul 11
1
R2WinBUGS problem: bugs - storage.mode error
I have successfully used R2WinBUGS in the past and an trying to use basically
the same code with some different data but I'm getting the following error:
> out <- bugs(data=win.data, inits=inits, parameters.to.save=params,
> model.file = "PoissonGLMM.txt", n.chains=nc, n.iter=ni, n.burn=nb,
> n.thin=nt, debug=TRUE, DIC=TRUE, working.directory=getwd())
*Error in
2008 Jan 04
2
R2WinBUGS sending variables as factors
Hello R and BUGS users,
I am writing a heirarchical model in R to send to BUGS via R2WinBUGS and
I am finding it difficult to get the model to run. I seem to be having
two problems.
1) I can't seem to send variables classed as factors (Month), is there a
way do this?
2) Checking the Log in WinBUGS I can see that the model is Syntactically
correct, but Bugs is not able to recognise the the
2010 Jun 23
1
A question about R2Winbugs
Dear R users:
I was trying to fit a HMM with mixture of Gaussian into the dataset, and I
tried to implement it by R2Winbugs. But I got the following errer.
*
Error in FUN(X[[1L]], ...) :
.C(..): 'type' must be "real" for this format*
Does anybody know what's the problem? Does R2Winbugs accept some matrix as
inits? I would really appreciate your help. Thank you very much.
2008 Jan 31
1
R2WinBUGS is broken
Dear R-users,
I am trying to use the following code to reproduce results from Prof.
Gelman's book, but have the listed error for R2WinBUGS version (the openbugs
version is good). I am using R-2.6.1 on windows XP, and all the R packages
are most current ones. schools.bug can be found at
http://www.stat.columbia.edu/~gelman/bugsR/runningbugs.html . Can anyone
help me to figure out what's
2009 Dec 03
2
Help R2WinBUGS
Hello,
I have problem running WinBUGS from R.
The following example works in WinBUGS but it does not work in R through
package R2WinBUGS.
Does anyone know what the problem is?
x <- c(0.2, 1.1, 1, 2.2, 2.5, 2.9, 2.9, 3.6, 3.8, 0.6, 1, 2, 2.4, 2.6, 2.8,
3.2, 3.9, 3.5)
y <- c(0.5, 1.3, 0.1, 0.7, -0.4, 0.5, -0.9, -0.3, -0.3, 0.6, 0.4, 0.9, -0.1,
-0.4, -0.5, -0.2, 0.3, -1.5)
eco <- c(1, 3,
2005 Jul 27
1
error message running R2WinBUGS
*Dear R-user,
*
I try to run Winbugs from R using bugs function in R2WinBUGS.My model works
well in Winbugs except that I can't get DIC. Since I don't need DIC, when I
try to run Winbugs from R , I set "DIC=FALSE". My model is as following:
model {
for (i in 1:N) {
for(j in 1 : T ) {
x[i, j] ~ dbin(p[i, j],n[i])
#Hier.prior
p[i, j] ~ dbeta(alpha[i, j], beta[i, j])
alpha[i, j]
2007 Nov 24
1
R2winBUGS | option to turn off GUI?
Greetings -
I run a multi-pro server box (GNU/Linux), on which I've installed
winBUGS under wine. Works fine, and plays nice with r2WinBUGS, provided
everything is done through a graphical front-end (either by working from
console, or using a virtual desktop via VNC or equivalent).
However, I'm wondering if there is a way to use R2winBUGS and winBUGS
such that winBUGS does not spawn
2008 Feb 29
1
bugs.seed= and summary.only= option in R2WinBUGS
Dear R user:
I am using R2WinBUGs to call WinBUGS from R. But I have some problems in
using either the option bugs.seed and summary.only in the function bugs.
Here are the programs and error messages. It appears that if I don't use
either option, the program runs fine. I am using R2.5.1 and WinBUGs14.
The program is not running:
> schools.sim <- bugs(data, inits,
2011 Oct 20
1
Are they fully identical: WinBUGS and OpenBUGS; R2WinBUGS and R2OpenBUGS
Hello ALL!
I am running Linux, Fedora 15 64-bits, and R on it. I need to use
WinBUGS and R2WinBUGS, but as far as I read, WinBUGS is closed project,
to be continued with/as OpenBUGS. Thus, I have found R2OpenBUGS on
OpenBUGS Contributed Code (http://openbugs.info/w/UserContributedCode),
not on CRAN. Author(s) states that it is equivalent for R2WinBUGS. I
tried briefly, and realized few minor
2007 Sep 25
6
R2Winbugs problem
Just while I use R2Winbugs, the following error will be presented. Please
tell me how to cope with.
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'codaIndex.txt', reason 'No such file or directory' in:
file(file, "r")
--
View this message in context:
2009 Aug 16
2
Question regarding finding credible interval using r2winbugs
Dear
I am trying to find a 90% credible interval. I am using the following
code.
fit<-bugs(
model.file=BUGScode,
data=data,
inits = list(geninits1,geninits2),
parameters.to.save=keepers,
n.chains=nchains,
n.iter=runs,
n.burnin=burn,
n.thin=nthin,
DIC= TRUE,
bugs.directory="C:/Program Files/WINBUGS.14",
\
)
But this is only giving 95%
2006 Apr 22
1
Monitor() in R2WinBUGS
I have an array from an mcmc simulation and I'd like to try and use the
monitor function in R2WinBUGS. The R2WinBUGS package is in the search
path and when I try help(monitor) the help page appears for the
function. But, when I try and use it the following happens:
> monitor(sims)
Error: couldn't find function "monitor"
I've searched the archives but have not seen any
2009 Nov 03
2
R2WinBUGS not working?
This weekend I noticed that my R2WinBUGS connection was no longer working on
my Windows computer at work AND my Ubuntu linux computer at home. As soon
as WinBUGS opens, the message reads Index Out Of Range. I have un-installed
and re-installed R on both computers and the problem remains the same. At
first I thought it was the new version of R, but I was able to overcome the
problem (on Windows
2006 Apr 05
2
R2WinBUGS error
Dear R-help,
I'm using the R2WinBUGS package and getting an error message:
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'codaIndex.txt', reason 'No such file or
directory'
I'm using R 2.2.1 and WinBUGS 1.4.1 on a windows machine (XP). My R code
and WinBUGS code is given below.
2009 May 30
1
Help for running R2WINBUGS in VISTA
Dear,
I am running the following R code using the R2WINBUGS package.
fit<-bugs(
model.file=BUGScode,
data=data,
inits = list(geninits1,geninits2),
parameters.to.save=keepers,
n.chains=nchains,
n.iter=runs,
n.burnin=burn,
n.thin=nthin,
bugs.directory="C:/Program Files/WinBUGS14"
)
I put this code and the corresponding WINBUGS code "BUGScode" in the same
folder