[R] integration in R?

Bill Simpson wsi at gcal.ac.uk
Wed Sep 20 15:20:36 CEST 2000


I have the following problem.

   inf
p= Int  [dnorm(x-d) * pnorm(x) ^ (m-1)]  dx
  -inf

Given p and m, I want to find d. For example,

p	m	d
.9	2	1.81

Is there a way to solve this problem in R? Ideally I would have a
function with arguments p and m, and output d.

Thanks very much for any help.

Bill

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list