Re: [R] simple maths question

From: Ben Bolker <>
Date: Tue, 12 Apr 2011 01:06:29 +0000

Georg Ehret <georgehret <at>> writes:

> Hi Mrs & Ms "R",
> A simple maths question that I am trying to resolve with R: I need to
> calculate the SE from a pvalue and it's beta... How to do this...?
> Thank you very much and best regards!
> Georg Ehret, Geneva, Switzerland.

  Without more information, I don't think you can. **If** you are assuming a Z test (i.e. the thing you are testing against a null hypotheses H_0=0 is supposed to be normally distributed) then you know that

   p-value = 2*pnorm(abs(beta/SE),lower.tail=FALSE)

[based on a two-tailed test] and you can use qnorm() to invert this, but you can't separate beta and SE. mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 12 Apr 2011 - 01:11:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 12 Apr 2011 - 02:00:29 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive