Displaying 5 results from an estimated 5 matches for "params1".
Did you mean:
params
2008 Dec 15
3
R2winbugs : vectorization
...sigma.y,-2)
sigma.y~dunif(0,100)
}
and here, for reference, is the R calling code:
x<-as.matrix(iv)
y<-dv
C<-cens
z<-ifelse(y==C,NA,y)
n<-length(z)
data1<-list(x=x,y=y,z=z,n=n,C=C)
inits1<-function(){
list(a1=runif(1),a2=runif(1),a3=runif(1),a4=runif(1),sigma.y=runif(1))}
params1<-c("a1","a2","a3","a4","sigma.y")
## now the bugs call for model 1
proc.time()
aasho.1<-bugs(data1,inits1,params1,"aasho1.bug",n.iter=10000,debug=FALSE)
proc.time()
print(aasho.1,digits=4)
now we try a vector approach
k<-4 # niv...
2012 Jun 05
1
- help with the predict function
Hi all,
I would like to predict some values for an nls regression function
(functional response model Rogers type II). This is an asymptotic function
of which I would like to predict the asymptotic value
I estimated the paramters with nls, but can't seem to get predictions for
values of m choice......
This is my script:
RogersII_N <-
2013 Apr 10
0
Problem with ode
...dP.dt = P*um*N/(N+Kn)*J - Z*Im*P^2/(P^2+Kp^2) - diff(c(0,P.Flux))/delz
dZ.dt = Z*(eps*Im*P^2/(P^2+Kp^2) - g*Z) - diff(c(0,Z.Flux))/delz
dN.dt = -P*um*N/(N+Kn)*J + Z*(1-eps)*Im*P^2/(P^2+Kp^2) + g*Z^2
- diff(c(0,N.Flux))/delz
return(list(c(dP.dt, dZ.dt, dN.dt)))
})
}
params1 = c(um = 1, #maximal phytoplankton growth rate, d-1
Kn = 0.2, #nitrogen half-saturation constant uM/L
Kw = 0.04, #light attenuation due to water, unit: m^-1
Kc = 0.03, #light attenuation by phytoplankton,
#unit: m^2 (mmol N)^-1...
2012 Nov 28
2
Error message R2Jags
...orm(0.0, 0.01)
# b[i] ~ dunif(-20, +20)
}
}
",fill = TRUE)
sink()
inits1 <- function () {
list(b = rnorm(7, 0, 0.01))}
out1 <- jags(data = win.data1,
inits = inits1,
parameters = params1,
model.file = "GLM.txt",
n.thin = nt,
n.chains = nc,
n.burnin = nb,
n.iter = ni)
That's when R returns this error message:
#
#Compiling model graph
# Resolving undeclared variables
# Allocating nodes
#Deleting...
2017 Sep 23
2
Adding a function type qualifier with particular keyword
Dear llvm developers,
For the purpose of a research project, I want to add a function type modifier as an extension to LLVM that looks like
keyword void function(params1, 2, 3) {…}
to serve the purpose of tracking all registers that the function has touched. Is there any documentation or previous examples relate to this feature?
Thank you very much
Garnet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pip...