Displaying 2 results from an estimated 2 matches for "sig22".
Did you mean:
sig2
2007 Oct 26
1
bugs() ignores my inits
...uot;)
model <- function() {
...
}
write.model(model, "example.txt")
inits <- list(list(m1=0.585, m2=0.718, m3=0.672, m4=0.639),list(m1=0.585,
m2=0.718, m3=0.672, m4=0.639))
parameters <- c("m1", "m2", "m3", "m4", "sig21", "sig22")
bugs1 <- bugs(data, inits, parameters, "example.txt", n.chains=2, n.iter=15000,
clearWD=TRUE, debug=1, DIC=0)
display(log)
check(J:/project/ps/code/example.txt)
model is syntactically correct
data(J:/project/ps/code/data.txt)
data loaded
compile(2)
model compiled
inits(1...
2007 Jul 13
1
imposing constraints on the covariance matrix of random effects in lme4?
Hello all,
I am using lme4 to fit some mixed logistic regressions. I need to
impose an identification constraint of the following form:
(1 sig12)
(sig12 sig22)
and have not figured out how to do it, i.e., sig11 = 1 but the rest of
the parameters are free to vary. Is this possible and, if so, how?
I've been looking through the archive and help to no avail, but
perhaps I'm just missing something.
Thanks for any help,
Jay
--
JVVerkuilen. PhD
jv...