rjags Questions

1

Solved

I am trying to fit a multinomial logistic regression model using rjags. The outcome is a categorical (nominal) variable (Outcome) with 3 levels, and the explanatory variables are Age (continuous) a...
Saprophyte asked 17/8, 2020 at 4:4

2

Solved

Consider the following data frame: set.seed(5678) sub_df<- data.frame(clustersize= rep(1, 4), lepsp= c("A", "B", "C", "D"), dens= round(runif(4, c(0, ...
Felton asked 29/6, 2020 at 23:42

1

Solved

I am trying run rjags in R (via Rstudio) to estimate parameters alpha&beta and hyperparameter tau.nu of the model following: y_i|x_i~pois(eta_i), eta_i=exp(alpha + beta*x_i + nu_i), nu_i~N(0,t...
Fluoroscopy asked 20/10, 2018 at 2:7

0

Can someone help with JAGS code for a Bayesian multinomial logistic model with one categorical X variable (Dirichlet prior)? My representative sample is the matrix "z" in the code below that repres...
Exedra asked 13/9, 2018 at 4:4

1

Solved

I use both packages in order to do Bayesian analysis but there are some differences that I don't understand: First of all the package rjags allows the adaptation phase, with the jags.model functio...
Wooley asked 8/6, 2018 at 10:32

1

Solved

I am trying to model a three-level nested linear mixed effects model in rjags (by three-level: multiple observations for multiple individuals within multiple groups). There are unique sets of indi...
Snowshed asked 22/5, 2018 at 15:29

1

I am trying to install Rjags on Ubuntu, I have first installed this sudo apt-get install JAGS Then I have tried R install.packages("rjags") I have the following error > install.package...
Bartonbartosch asked 28/2, 2018 at 6:17
1

© 2022 - 2024 — McMap. All rights reserved.