Re: [R] problem using uniroot with integrate

2005-03-10 Thread Ken Knoblauch
Thank you very much. Yes, that was the problem, partial matching. I saw a warning about that in integrate and some discussion from 1999 in the archives and so added the m0 for integrate but somehow I wasn't bright enough to see that I had the same problem in uniroot. Sorry about no working

Re: [R] problem using uniroot with integrate

2005-03-10 Thread Thomas Lumley
On Wed, 9 Mar 2005, Ken Knoblauch wrote: Thank you very much. Yes, that was the problem, partial matching. I saw a warning about that in integrate and some discussion from 1999 in the archives and so added the m0 for integrate but somehow I wasn't bright enough to see that I had the same problem

[R] problem using uniroot with integrate

2005-03-09 Thread Ken Knoblauch
Hi, I'm trying to calculate the value of the variable, dp, below, in the argument to the integral of dnorm(x-dp) * pnorm(x)^(m-1). This corresponds to the estimate of the sensitivity of an observer in an m-alternative forced choice experiment, given the probability of a correct response, Pc, a

Re: [R] problem using uniroot with integrate

2005-03-09 Thread Sundar Dorai-Raj
Ken Knoblauch wrote on 3/9/2005 10:27 AM: Hi, I'm trying to calculate the value of the variable, dp, below, in the argument to the integral of dnorm(x-dp) * pnorm(x)^(m-1). This corresponds to the estimate of the sensitivity of an observer in an m-alternative forced choice experiment, given

Re: [R] problem using uniroot with integrate

2005-03-09 Thread Tony Plate
At Wednesday 09:27 AM 3/9/2005, Ken Knoblauch wrote: Hi, I'm trying to calculate the value of the variable, dp, below, in the argument to the integral of dnorm(x-dp) * pnorm(x)^(m-1). This corresponds to the estimate of the sensitivity of an observer in an m-alternative forced choice experiment,