winbugs14 Questions
0
I've been tasked with re-running someone else's model with updated data (I did the data update and formatting). I understand how the model works but didn't write it, and it's quite long and detaile...
2
Solved
I am currently working on a meta-analysis of survival data across several clinical trials.
To do this, I have code from a published analysis using the same methodology. However, when running this ...
Bummalo asked 17/8, 2015 at 19:16
3
Solved
I am using the rjags R library. The function coda.samples produces an mcmc.list, for example (from example(coda.samples)):
library(rjags)
data(LINE)
LINE$recompile()
LINE.out <- coda.samples(LI...
2
Solved
when starting a standard example from the stan webpage like the following:
schools_code <- '
data {
int<lower=0> J; // number of schools
real y[J]; // estimated treatment effects
rea...
1
Solved
As the title of this post says, when I try to run code and data that work fine in WinBUGS from R using BRugsFit (with coda=T), I get these errors:
Error in glm.fit(x = structure(c(1, 1, 1, 1, 1, 1...
Coheir asked 7/7, 2012 at 23:34
1
Solved
I am just wondering whether anyone has some R code that uses the package R2WinBUGS to run logistic regression - ideally with simulated data to generate the 'truth' and two continous co-variates.
T...
1
© 2022 - 2024 — McMap. All rights reserved.