On 12-07-20 7:36 AM, carol white wrote:
Thanks for your reply.

So to derive it from a given data set, is the following correct to do?

my_data.p =2*pnorm(abs(my_data),lower.tail=FALSE)

my_data.q = qnorm(my_data.p)

I don't know what you're trying to do, but that doesn't look like it does something sensible. It would take a value like 2, compute the p to be 0.045, and return the corresponding quantile of the normal distribution, i.e. -1.69 or so. I don't know why you'd want to do that.

Duncan Murdoch


Cheers,


________________________________
  From: Duncan Murdoch <murdoch.dun...@gmail.com>
To: carol white <wht_...@yahoo.com>
Cc: "r-h...@stat.math.ethz.ch" <r-h...@stat.math.ethz.ch>
Sent: Friday, July 20, 2012 1:23 PM
Subject: Re: [R] function for inverse normal transformation

On 12-07-20 6:21 AM, carol white wrote:
Hi,
What is the function for inverse normal transformation?

qnorm

Duncan Murdoch

Thanks,

Carol

     [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to