Displaying 7 results from an estimated 7 matches for "nchains".
Did you mean:
chains
2005 Jun 08
6
Random seed problem in MCMC coupling of chains
Hello!
I am performing coupling of chains in MCMC and I need the same value
of seed for two chains. I will show demo of what I want:
R code, which might show my example is:
niter <- 3
nchain <- 2
tmpSeed <- 123
for (i in 1:niter) { # iterations
for (j in 1:nchain) { # chains
set.seed(tmpSeed)
a <- runif(1)
cat("iter:", i, "chain:", j,
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% credible interval. How can I get 90%, 80%
credible intervals using r2winbugs?
Pls help.
Waiting for your response.
Sat...
2015 Jul 21
5
[LLVMdev] Some thought on handling ELF shared libraries in lld
Most ELF shared libraries can be sliced in two ways. One is following
the information in the program headers (e_phoff). The other is
following the information in the section headers (e_shoff).
Regular relocatable objects only have the section header.
At runtime, the dynamic linker only uses the program headers. In fact,
the section headers is optional.
When given a shared library, how should
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 and change the directory of R into that folder. When I am running
this code in the Windows XP, "l...
2012 Aug 13
0
rjags error. Error parsing model file:,syntax error on line 5 near ""
...-------------------------------------------------
# A set of init statements goes here, but I haven't done that.
#-----------------------------------------------------------
# RUN CHAIN
parameters = c("lam[2]","lam[3]","lam[4]")
adaptSteps = 500
burnInSteps = 500
nChains = 3
numSavedSteps = 50000
thinSteps = 1
cfaModel = jags.model("model.txt",data=cfadata,
n.chains=nChains, n.adapt=adaptSteps)
# Burn-in:
cat("Burning in the MCMC chain ...\n")
update(cfaModel, n.iter=burnInSteps)
cat("Sampling from the final MCMC...
2005 Jun 08
1
FW: Random seed problem in MCMC coupling of chains
And a last post from Paul Gilbert. Thanks to all! This disscusion was
really beneficial for me!
-----Original Message-----
From: Paul Gilbert [mailto:pgilbert at bank-banque-canada.ca]
Sent: sre 2005-06-08 21:01
To: Gorjanc Gregor
Subject: Re: [R] Random seed problem in MCMC coupling of chains
Gorjanc Gregor wrote:
> Thanks to Paul and Gabor for additional tips/examples. Actually, I find
2013 Oct 03
2
[Bug 855] New: Can create user chains with names unparsable by iptables-restore
https://bugzilla.netfilter.org/show_bug.cgi?id=855
Summary: Can create user chains with names unparsable by
iptables-restore
Product: iptables
Version: 1.4.x
Platform: All
OS/Version: Debian GNU/Linux
Status: NEW
Severity: minor
Priority: P5
Component: iptables
AssignedTo: