similar to: dgamma in WinBUGS and JAGS (rjags)

Displaying 20 results from an estimated 800 matches similar to: "dgamma in WinBUGS and JAGS (rjags)"

2011 Sep 10
1
dgamma in jags within r
I define priors in jags within r using a gamma distribution. I would like to control the shape but I have problems. Any help will be usefull. From help of dgamma ___________________ The Gamma distribution with parameters shape = a and scale = s has density f(x)= 1/(s^a Gamma(a)) x^(a-1) e^-(x/s) and rate=1/scale From jags user manual ____________________ dgamma(r, mu) has a density of
2011 Apr 04
0
[R-sig-ME] Documentation for the glm module in jags/rjags?
It turns out that when I use GUI (file-change dir) to set the working directory, R will crash. If I use setwd() instead, the example runs well. Regards, On 4 April 2011 00:17, Wincent <ronggui.huang@gmail.com> wrote: > OK, I dig into the problem and found that Chinese character in the path > should be blamed. > Once the path rename to English only, it works. > > Regards,
2006 Feb 08
1
How to install the server version of rpad
Hi, How can I install the server version of rpad on a website. I have read the instructions in http://www.rpad.org/Rpad/ServerNotes.html, but could not figure out how. Do I have to have something like Apache on the website? Is there any instructions in addition to those on http://www.rpad.org/Rpad/. Thanks, - Reza
2010 Apr 09
0
rjags syntax error
Hi, I am getting the following error when I'm running jags.model() > meas1 <- jags.model(file="measurement.bug",data=dat.test) syntax error, unexpected '}', expecting ',' or ')' Error in jags.model(file = "measurement.bug", data = dat.test) : Parse error on line 1 Below is my JAGS model. Please cc me as I'm a digest subscriber if
2012 Aug 13
0
rjags error. Error parsing model file:,syntax error on line 5 near ""
Greetings, I am running a factor analysis model in rjags and have received the following error Error parsing model file: syntax error on line 5 near "" Line 5 is model { Here is my syntax. Any insight would be greatly appreciated. require(rjags) modelstring = " model { for (i in 1 : nData) { for (j in 1 : nIndicators) { y[i,j] ~ dnorm(mu[i,j],psi[j]) ephat[i,j] <-
2011 Aug 11
1
R crashes when communicating with JAGS
There is a thread on this topic already: http://finzi.psych.upenn.edu/Rhelp10/2010-August/250934.html I'm rather mystified by a similar problem and wondering whether I've overlooked something obvious. I'm running with latest versions of R and all packages, and latest version of JAGS running under Windows 7. Here's the problem. I have some source code. It's given below -
2007 Apr 03
2
HPDinterval problem
Hi, Can anyone tell me why I am not getting the correct intervals for fixed effect terms for the following generalized linear mixed model from HPDinterval: > sessionInfo() R version 2.4.1 (2006-12-18) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
2007 Apr 03
1
lmer, CHOLMOD warning: matrix not positive definite
Hi, I am getting a warning message when I am fitting a generalized linear mixed model (m1.2 below). CHOLMOD warning: matrix not positive definite Error in objective(.par, ...) : Cholmod error `matrix not positive definite' at file:../Supernodal/t_cholmod_super_numeric.c, line 614 Any idea? Thanks for your help, Reza > sessionInfo() R version 2.4.1 (2006-12-18) i386-pc-mingw32
2009 Feb 08
1
Error installing rjags in Ubuntu Linux
Hi, Here is a step-by-step guide to exactly how I've installed R in Ubuntu: http://www.nabble.com/installing-R-on-Ubuntu-td10025949.html#a21894865 Regarding rjags, here is what happened: This webpage (http://yusung.blogspot.com/2009/01/install-jags-and-rjags-in-fedora.html) recommends logging into R as sudo R, and then typing: install.packages("rjags",
2010 May 27
3
rjags in Ubuntu 10.04
I've not been able to install rjags successfully in Ubuntu 10.04 : ** testing if installed package can be loaded Error : .onLoad failed in loadNamespace() for 'rjags', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared library '/home/scott/R/i486-pc-linux-gnu-library/2.11/rjags/libs/rjags.so': libjags.so.2: cannot open shared object file:
2012 Jan 10
1
rjags installation trouble
Trying to install latest rjags (3-5) from CRAN with JAGS 3.2.0 installed on Ubuntu 10.04, with r-devel ... the bottom line is that it fails while loading with /libs/rjags.so: undefined symbol: _ZN7Console15checkAdaptationERb Has anyone else seen this or is it a glitch somewhere in my system? thanks Ben Bolker ================== bolker at ubuntu-10-new:~/R/pkgs/rjags$ jags Welcome to
2008 Nov 08
3
unable to install rjags on 64-bit Debian Linux (etch)
While I have been able to install rjags on my Windows computer, oddly I have been unable to install rjags successfully on my 64-bit Linux compute server (etch, Linux kernel 2.6.18). I am required to specify the JAGS module directory upon installation; when doing this within R, I get:
2012 Sep 20
1
rjags install on Ubuntu 10.04
I have been having trouble with rjags on Ubuntu 10.04 > library(rjags) Loading required package: coda Loading required package: lattice linking to JAGS 3.2.0 module basemod loaded Error : .onLoad failed in loadNamespace() for 'rjags', details: call: dyn.load(file) error: unable to load shared object '/usr/lib/JAGS/modules-3/bugs.so': /usr/lib/JAGS/modules-3/bugs.so:
2011 May 12
1
can't run rjags package in R project
i've windows 7 64 bit operating system i run latest jags backage 2.2 i make set enviroment variable for JAGS_home because the rjags in r program couldn't see the JAGS sw now the error is the following: Error : .onLoad failed in loadNamespace() for 'rjags', details: call: inDL(x, as.logical(local), as.logical(now), ...) error: unable to load shared object 'D:/Program
2013 Jun 20
0
Installing Jags on 64 Bit Fedora
I know this has been covered before but I have read all the posts on this subject but I still cannot resolve it. I tried to install rjags on a 64bit Fedora 17 and I got this error message Error : .onLoad failed in loadNamespace() for 'rjags', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/usr/lib64/R/library/rjags/libs/rjags.so':
2017 Sep 29
1
problem with rjags installation in ubuntu 14.04
Hello folks Earlier versions of jags and rjags installed on my system without any difficulty, but I'm having trouble with jags version 4.3.0-1ubuntu2~ubuntu14.04.1~ppa1 (from Michael Rutter's R ppa) and rjags version 4.6. The call to install.packages() I always used successfully now produces the error "cannot link to JAGS library in /usr/lib/x86_64-linux-gnu."? shown below
2010 May 04
1
errors when installing rjags
Hi, With the sid package jags (2.0.0-1) and r-base-core (2.11.0-1), I cannot install package rjags anymore (this used to work at some point; can't recall exactly at what R/JAGS versions): ---<--------------------cut here---------------start------------------->--- R> install.packages("rjags", configure.args="--with-jags-modules=/usr/lib/JAGS/modules-2.0.0")
2011 Sep 16
1
cannot load rjags package on Mac
Dear list, I ran into problem trying to load rjags on my Macbook Air running OS X 10.7.1. I installed JAGS 3.1.0 through binary and it seems OK. $ jags Welcome to JAGS 3.1.0 on Fri Sep 16 13:27:03 2011 JAGS is free software and comes with ABSOLUTELY NO WARRANTY Loading module: basemod: ok Loading module: bugs: ok Then I installed rjags through CRAN, >
2010 Aug 27
2
Problems loading rjags in R 2.11.0 under OS X 10.5.8
Dear list members, I'm trying to use JAGS 2.1.0 from within R but every time I try to load the rjags package I receive the following message: Loading required package: coda Loading required package: lattice Error : .onLoad failed in loadNamespace() for 'rjags', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared library
2011 Dec 08
1
rjags in a Windows 7 64 bits machine
Hi. I was trying to follow this rjags tutorial (example 1): http://www.johnmyleswhite.com/notebook/2010/08/20/using-jags-in-r-with-the-rjags-package/comment-page-1/#comment-19468 But when I try to run the following line in R, R crushes and close. jags <- jags.model('example1.bug', data = list('x' = x,'N' = N), n.chains = 4, n.adapt = 100) I'm using a Windows 64