Displaying 3 results from an estimated 3 matches for "writemodel".
Did you mean:
writemode
2006 Apr 19
1
Separate databases for reads and writes?
Hi all -
New to rails... been reading as much as I can though and have yet to find
a solid answer (although I think I found an unsolid negative).
I''m wondering if there''s a way to split up the reads and writes in Rails
so that pages/actions that don''t need to write can query from a group of
mirrored databases. And my content managers can update a single master.
I
2009 Aug 24
1
problem with BRugs
Hello, I am sorry, I have this problem before and Uwe send me the answer but I misplaced it and can not find it.
writing a model for BRugs
> library(BRugs)
Loading required package: coda
Loading required package: lattice
Welcome to BRugs running on OpenBUGS version 3.0.3
> setwd("c:/tmp")
Error in setwd("c:/tmp") : cannot change working directory
> mo <-
2010 Apr 19
1
BRugs
...k in 2:Lrace){ a3[k]~ dnorm(0.0, 1.0E-4)}
for(i in 2:Lagegp){
for(j in 2:Lgen){
a12[i,j]~ dnorm(0.0, 1.0E-4)
}}
for(i in 1:Lstra){gam[i]~dunif(0, 1000)}
for( i in 1:Lpsu){
for(j in 1:Lstra){
u[i,j]~ dnorm(0.0, tau.u)
}}
tau.u<-pow(sigma.u, -2)
sigma.u~ dunif(0.0,100)
}
library(BRugs)
writeModel(bi.bmi.model, con='bi.bmi.model2.txt')
bi.bmi.model.data=list('n', 'Lagegp','Lgen', 'Lrace', 'Lstra', 'Lpsu',
'stra', 'psu','bi.bmi','agegp', 'gen', 'race')
bi.bmi.model.init=function(){
li...