Re: [R] No convergence using ADAPT

2007-07-09 Thread Ravi Varadhan
Turk Sent: Saturday, July 07, 2007 3:20 PM To: r-help@stat.math.ethz.ch Subject: [R] No convergence using ADAPT I am trying calculate a probability using numerical integration. The first program I ran spit out an answer in a very short time. The program is below: ## START PROGRAM trial

[R] No convergence using ADAPT

2007-07-07 Thread Philip Turk
I am trying calculate a probability using numerical integration. The first program I ran spit out an answer in a very short time. The program is below: ## START PROGRAM trial - function(input) { pmvnorm(lower = c(0,0), upper = c(2, 2), mean = input, sigma = matrix(c(.1, 0, 0, .1), nrow = 2,

Re: [R] No convergence using ADAPT

2007-07-07 Thread Robert A LaBudde
What versions of adapt and R are you using? The current package was built with R-2.5.1. I tried your program with R-2.5.0, and got the answer 0.1501053 in just a few seconds. At 03:20 PM 7/7/2007, Philip wrote: I am trying calculate a probability using numerical integration. The first program