Displaying 1 result from an estimated 1 matches for "tp4539816p4539816".
2012 Apr 07
1
Uniroot error
...rm((1-alpha),mean=0,sd=1)-t)/(sqrt(1-rho))))^2
}
inter <- function(n){
integrate(y,lower=-Inf,upper=Inf)$value-0.8
}
rho <- 0.5
alpha <- 0.0125
diff <- 0.5
n1 <- uniroot(inter,lower=1,upper=100000)$root
--
View this message in context: http://r.789695.n4.nabble.com/Uniroot-error-tp4539816p4539816.html
Sent from the R help mailing list archive at Nabble.com.
[[alternative HTML version deleted]]