0
votes
0answers
23 views

Lognormal and Logit models in JAGS

I'm trying to run this two-part model in JAGS. I have two components, one logit and one lognormal regressions in there: ...
3
votes
0answers
85 views

Using priors to detect an effect? logistic Bayesian regression

I have designed an idea and am looking for similar approaches in other literature/areas or if I have applied the Bayesian concepts wrongly. Here is a statement of my problem: I am modeling the ...
0
votes
0answers
73 views

How do you perform a bayesian ordered logistic regression in R?

Trying to perform a Bayesian ordered logistic regression in R where age is my outcome variable. I have installed the ARM package but I am unsure how to go about generating my model in R. I also need ...
2
votes
1answer
183 views

Logistic Regression - Bayesian Approach - Assessing Classification Precision

I have recently begun to read about bayesian statistics and I am playing around with the R2WinBUGS package. I'm trying to fit a logistic regression to the spam data (that can be found on the webpage ...
0
votes
4answers
189 views

What type of regression model do I use?

$y = \mathbf{X} \beta$ + $\epsilon$ + $m$ Where y, $\epsilon$, and $m$ are $n \times 1$ column vectors, $\beta$ is $p \times 1$ and $\mathbf{X}$ is $n \times p$. $y$ is a noisy time-series signal ...
2
votes
0answers
73 views

Reporting contrasts between binary probability parameters in Bayesian data analysis - odds ratios or difference in probability?

In a bayesian data analysis, if one is modeling differences in binomial/bernoulli probability parameter differences between populations, is it still standard to report the difference in the binary ...
3
votes
0answers
211 views

Bayesian model averaging in R

I have a logistic model that I've built with the nls function in R. I want to use Bayesian model averaging for variable selection, but I can't find a package for ...
0
votes
0answers
160 views

Generating and analyzing predicted data in JAGS

I am trying to model a logistic regression on data predicted from the results of a previous logistic regression, and am having trouble figuring out how to do it, either in OpenBUGS (BRugs) or JAGS ...
3
votes
2answers
459 views

Why use a beta distribution on the Bernoulli parameter for hierarchical logistic regression?

I'm currently reading Kruschke's excellent "Doing Bayesian Data Analysis" book. However, the chapter on hierarchical logistic regression (chapter 20) is somewhat confusing. Figure 20.2 discribes a ...
4
votes
1answer
433 views

regularized bayesian logistic regression in JAGS

There are several math-heavy papers that describe the Bayesian Lasso, but I want tested, correct JAGS code that I can use. Could someone post sample BUGS / JAGS code that implements regularized ...
1
vote
1answer
290 views

Bayesian logistic regression with mixed (two level) data

I have two datasets, the first on schools, and the second lists students in each school who have failed in standardized test (emphasis intentional). The first dataset has the structure below (I'm ...
6
votes
1answer
404 views

How to specify Bayesian mixed effects model in BUGS

I posted this earlier in the week then retracted the question when I found a good source, not wanting to waste people's time. I haven't made much progress I'm afraid. In trying to be a good citizen ...
5
votes
3answers
479 views

Significance and credibility intervals for interaction term in logistic regression

I fitted a Bayesian logistic regression in WinBugs and it has an interaction term. Something like this: $$\mathrm{Prob}(y_{i}=1) = \mathrm{logit}^{-1} (a + b_{1}*x_{i} + b_{2}*w_{i} + ...
3
votes
4answers
201 views

How can I use credibility intervals in Bayesian logistic regression?

I'm using Gibbs sampling to learn the distributions of coefficients for a multinomial logistic regression model. At the end, I end up using the mean values of distributions of coefficients, and the ...
3
votes
1answer
222 views

How to model logistic regression with continuous predictor in Bugs?

Is it possible to use a continuous predictor in Bugs? The simplest way of doing this would be turning the size variable in alligators example from discrete to continuous. Both Winbugs and JAGS ...
4
votes
1answer
549 views

Geostatistical analysis using spatial.exp in WinBugs

I have a logistic regression model in GeoBugs to estimate predictors of prevalence of a disease. Can anyone tell me if there is a simple way to determine the lower and upper bounds of phi for ...
7
votes
4answers
390 views

Video/Audio online material for getting into Bayesian analysis and logistic-regressions

Well, I'm an engineer by day. Although most of my work revolves around modeling, we generally do pretty basic stuff. An "Advanced" model would be a monte carlo simulation validated using R2 tests. ...