Displaying 1 result from an estimated 1 matches for "seaw".
Did you mean:
saw
2008 Jan 04
2
R2WinBUGS sending variables as factors
...l and the R Code have been using are below. The Error from
WinBUGS is at the end of this mail.
Kind Regards
Jim Dell
Phd Candidate
Quantitative Marine Science
University of Tasmania and CSIRO Marine and Atmospheric Research
ph +62 3 6232 5182
mb +61 429 32 5182
model
{
#Centre variables
mSeaW <- mean(SeaW[])
s_dSeaW <- sd(SeaW[])
#normalise Variables
nSeaWiFS <- mSeaW/s_dSeaW
for(i in 1:N) {
log(lambda[i]) <- delta0 + alpha1 * Month[i] + alpha2 * Lat[i] +
beta1 * (SeaW[i] - nSeaW)
logit(p[i]) <- gamma0
mu[i, 1] <- 0
mu[i, 2] <...