similar to: First (well second) CODA hurdle problem

Displaying 20 results from an estimated 6000 matches similar to: "First (well second) CODA hurdle problem"

1999 Aug 06
0
FW: RE: First (well second) CODA hurdle problem
My reply seems not to have made it to either list 24 hours after I sent it, so I'm sending it again. Apologies if you get this twice (or 4 times if you're on both lists, or 6 times if you're John) Martyn -----FW: RE: [R] First (well second) CODA hurdle problem----- Date: Thu, 05 Aug 1999 09:40:01 +0200 (CEST) From: Martyn Plummer <plummer at iarc.fr> To: John Logsdon
2007 May 30
1
codamenu() :Error in coda.options....
Dear all, I recently started having some problemd with the coda package. I have also deleted it and then installed the package again. The problem is that I cant access the codamenu. That is ; ********************************************************************************************************************************************* > library(coda) > codamenu() Error in
2005 Sep 27
1
About Coda Package
Dear R users: I am using the package coda (the last verison in CRAN) to analyse the output from a MCMC Bayesian analysis. And I get unconsitented results. I have export the chain using the read.table function and after I have transformed this data frame to an mcmc object using the mcmc function. I am interested in three variables, when I use the function effectiveSize I have these figures:
2007 Jun 03
1
codamenu crash
Dear R users: I am a newby to R, under Windows XP. Sorry if my question is too obvious, but I have not found any answer in the archives. I was using the R-Coda package with R version 2.4.1 and everything was going OK. After upgrading to R v.2.5.0, I receive the following error message when I'm trying to run codamenu(): "Error in coda.options(default = TRUE) : cannot change value of
2010 Sep 09
1
R2WinBugs problem
I'm having difficulty running R2WinBugs on a setup that previously worked for me (Dell Laptop, Windows XP service pack 3, R 2.11.1, WinBugs 1.43) . When I issue the following command smds.sim <- bugs (data, inits, parameters, "SMDSbrandLoc2.bug", debug = T, n.thin = n.thin, n.chains = n.chains, n.burnin = n.burnin, n.iter = n.iter) I get the following error in R
2012 Dec 04
1
Winbugs from R
Hi, I am trying to covert a Winbugs code into R code. Here is the winbugs code model{# model’s likelihoodfor (i in 1:n){time[i] ~ dnorm( mu[i], tau ) # stochastic componenent# link and linear predictormu[i] <- beta0 + beta1 * cases[i] + beta2 * distance[i]}# prior distributionstau ~ dgamma( 0.01, 0.01 )beta0 ~ dnorm( 0.0, 1.0E-4)beta1 ~ dnorm( 0.0, 1.0E-4)beta2 ~ dnorm( 0.0, 1.0E-4)#
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
2006 Nov 30
0
R2WinBUGS - parameter monitor seting
R2WinBUGS users, I'm getting the error message "monitor could not be set" when I try to monitor (and output to R) a response variable that includes missing data (NAs)...ie.e imputing for y. Setting monitors for other parameters works OK and running the R-generated WinBUGS script file in WinBUGS, also works OK. Below is my R code and the log.txt file output by R2WinBUGS. As I want to
2010 Nov 07
3
Computing ergodic mean with CODA
Hi all, I would like to compute ergodic mean using MCMC output from WinBUGS. I tried using CODA package, but it seems that it is not implemented yet. Could anyone help me to compute this? Attached to this email are my output and index files. Kind regards, Raquel -- Raquel Rangel de Meireles Guimar?es Doutoranda em Demografia raquel at cedeplar.ufmg.br
2000 Apr 17
3
Maths in R documentation (PR#523)
The document R-exts contains the following example of using mathematics in R documentation. \deqn{p(x) = {\lambda^x\ \frac{e^{-\lambda}}{x!}} {p(x) = lambda^x exp(-lambda)/x!} There is a syntax error in there, but that's not my point. The problem is that using "R CMD Rd2dvi" I find that putting the alternate forms of the equation on top of each other doesn't work.
2009 Dec 16
1
WinBUGS - R2WinBUGS problem
Appologies for cross-posting Dear R users, I am using R2WinBUGS to call WinBUGS from R. After loading data, model, and initial values I call this command res <- bugs(data = dfile, inits = list(ifile), parameters.to.save = c("beta"), model.file = mfile, working.directory = tdir, n.thin = nthin, n.chains = 1, n.iter = niterations*nthin, n.burnin = 0, DIC = F, debug = T,
2012 Jan 02
0
Reading mcmc/coda into a big.matrix efficiently
I'm trying to read CODA/mcmc files (see the coda package), as generated by jags/WinBUGS/OpenBUGS, into a big.matrix. I can't load the whole mcmc object produced by read.coda() into memory since I'm using a laptop for this analysis (currently I'm unfunded). Right now I'm doing it by creating the filebacked.big.matrix, reading a chunk of data at a time from the chain
2006 Dec 09
1
WinBUGS14 and R
I'm trying to call BUGS from R. But it's not working. R freezes up and BUGS gives me a strange output in the log. Just to know, BUGS is registered. The modified date on the keys file is today (Dec. 9th). It should be fully registered so that I can use it fully. And, the BUGS model is syntactically correct. Any suggestions would be very helpful. Here is my BUGS model: model {
2009 Jul 07
1
R2WinBUGS under Linux/WINE fails
Hi, I'm running wine-1.0.1, OpenBUGS 3.0.3, R 2.9.0, and R2WinBUGS on a Redhat Enterprise Linux machine. Following various peoples' suggestions... This works perfectly (yay!): wine Z:/opt/OpenBUGS/winbugs.exe Within R, however, I get this: (setup the example from ?bugs, then....) R> schools.sim <- bugs(data, inits, parameters, model.file, n.chains=3,
2007 Oct 26
1
bugs() ignores my inits
Hi All I can specify whatever inits, it has no effect on the estimation. I am replicating a textbook example. The result is completely trash, having estimates of -58.7 (sd=59.3), where it should be closer to an ml estimate of 0.585 (SE=0.063). The two chains within one run are different, but with different inits for different runs, I get exactly the same chains, and I mean exactly. If I set
1999 Apr 12
1
Problems with coda
I have successfully installed coda in R, and I am also able to read output from a Bugs run into coda. When I try to plots from CODA Output Analysis Menu, I do however _get_ problems: CODA Output Analysis Menu ************************* 1:Plots 2:Statistics 3:List/Change Options 4:Return to Main Menu Selection: 1 Error: "missing" illegal use of missing Quitting CODA.... Do you
2012 Jul 09
1
R to winbugs interface
Hello everyone, I need some help regarding calling WinBUGS from R. I have a model for WinBUGS and an R code which calls WinBUGS. On running the code I am being shown the error message : Error in file(con, "wb") : cannot open the connection In addition: Warning messages: 1: In file.create(to[okay]) : cannot create file 'c:/Program
2009 Oct 07
1
Which JAGS interface to use?
Frank (or anyone else), can you offer any comments comparing runjags, R2jags, rjags ? I couldn't find any vignettes, nothing except a brief mention on Task Views. Kevin On Wed, Oct 7, 2009 at 7:48 AM, Frank E Harrell Jr <f.harrell@vanderbilt.edu > wrote: > Have you tried the rjags package which uses the jags system? It is much > more integrated into R and works quite well.
2012 Oct 04
1
Coda, HPDinterval and multiple chains
Dear all, I'm not 100% sure if this question is best directed at the r-list, or a mailing list concerned with Bayesian analysis, so please accept my apologies if another audience may be more appropriate. I have been using the rjags package to run Jags models with multiple chains and store the results in a Coda based mcmc list. For instance, having created a jags model and done initial
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