winbugs

  1. E

    WinBUGS: not all my nodes are showing a trace

    Hi All, I have set up a winbugs program, and setting a number of nodes to sample. When I go to look at particular nodes (by name or with * in the inference/samples box) some of them don't come up in the trace, (or in density or stats). Has anyone else had this problem, or can tell me what I am...
  2. M

    [Winbugs] Fail: Mixed matrices with stoch./ det. components

    Dear all, I stumpled upon some really good answers in this forum so I decided to give it a try and hope that I can also enrich the ongoing discussions here. I try to implement a multivariate stochastic volatility model in Winbugs. Hereby I use the matrix Sigma.epsilon with stochastic parts...
  3. Y

    [Winbugs] great divergence between prior and posterior distribution in Winbugs

    Hi, I am new starter of Winbugs. I am trying to simulate exporting coefficients of land uses based on the measurements of water nutrients. The prior distribution (e0, e1,e2,e3,e4, and k) was set according to the references. the winbug code is as followed: model { for (i in 1:S) { for...
  4. Y

    [Winbugs]great divergence between prior and posterior distribution in Winbugs

    Hi, I am new starter of Winbugs. I am trying to simulate exporting coefficients of land uses based on the measurements of water nutrients. The prior distribution (e0, e1,e2,e3,e4, and k) was set according to the references. the winbug code is as followed: model { for (i in 1:S) { for...
  5. M

    Winbugs help

    Hi, I'm working with circular statisics and I'd like to know how to use a Wrapped Normal in Winbugs. Does anyone knows how to use congruencemodulo 2pi in Winbugs? Thanks
  6. T

    problem in gen. initial in winbugs

    dear all members i have a small problem in the code below. in the last step gen initial and after press on this key i cannot get on result because the program still generate these values and i cannot get on any resutls after then i must close the program because it is not work and restart it...
  7. A

    Winbugs Code Problem

    Hi, I am writing my thesis which is about football betting. I encountered a minor problem and would really appreciate it if you can help me. The problem I have is in the calculation of the total points of each time. Below you can find the whole program...where the data points include the...
  8. A

    Winbugs - Labelling Parameters

    Hi, I am quite new to Winbugs and I'm using this software to model football data. I managed to get the estimated attacking and defence parameters for each team in the English Premier League. e.g. a[1] 0.305 is the attacking parameter of the 1st team in ascending order which in our case is...
  9. B

    How to get prediction for a variable in WinBUGS?

    Dear all, I am a new user of WinBUGS and need your help. After running the following code, I got parameters of beta0 through beta4 (stats, density), but I don't know how to get the prediction of the last value of h, the variable I set to NA and want to model it using the following code...
  10. R

    [WinBUGS] Hierarchical Analysis in WinBUGS14 "Undefined Real Result"

    Hello, I'm new here so I hope that I am posting in the correct forum. I am building a stock-recruitment hierarchical model for Atlantic cod in WinBUGS14. In this case, I'm estimating several hyperparameters across several different and exchangeable stocks. BEFORE I can do that, I must...
  11. H

    [WinBUGS] - model is right, code won't run (gen.inits() cannot be executed)

    Hi everyone, I'm new to bugs, calling it from R, and my model won't run. Here are the logs: display(log) check(C:/Users/Chris/AppData/Local/Temp/RtmpoZoYto/model678418be.txt) model is syntactically correct data(C:/Users/Chris/AppData/Local/Temp/RtmpoZoYto/data.txt) data loaded compile(1)...
  12. R

    Bayesian p-value in WinBUGS

    Hi everybody. Nice to greet you. I have a question about Bayesian p-value in WinBUGS. I'm trying to fit a Bayesian Beta Regression according to Branscum et al. (2007). But I don't know what I must to do to obtain the bayesian p-value to validate the model. Suppose that y is the response...