Benilton Carvalho schrieb:
Well, AFAIK, the definition of a p-value is the probability of
observing something at least as extreme as the observed data.
If you observed z, and Z follows a std-normal
p-value = P( Z -abs(z) ) + P( Z abs(z) )
= 2*P ( Z abs(z) )
= 2*pnorm(z,
I got an answer for the other question (thank you)
But there is another question (I am afraid this is a basic question ...)
In this tread there is a hint hwo to calculate the p-vlue of an GEE:
_http://finzi.psych.upenn.edu/R/Rhelp02a/archive/74150.html_
Then, get the P values using a normal
the recommendation was to use lower.tail=FALSE.
b
On Jun 11, 2007, at 11:21 AM, Carmen Meier wrote:
I got an answer for the other question (thank you)
But there is another question (I am afraid this is a basic
question ...)
In this tread there is a hint hwo to calculate the p-vlue of
Benilton Carvalho schrieb:
the recommendation was to use lower.tail=FALSE.
b
O
but then the results are significant and this does not match the
observation.
The results are matching the observations if the formula is
At 11:21 AM 6/11/2007, Carmen wrote:
snip
In this tread there is a hint hwo to calculate the p-vlue of an GEE:
_http://finzi.psych.upenn.edu/R/Rhelp02a/archive/74150.html
Then, get the P values using a normal approximation for the
distribution of z:
/ 2 *
Well, AFAIK, the definition of a p-value is the probability of
observing something at least as extreme as the observed data.
If you observed z, and Z follows a std-normal
p-value = P( Z -abs(z) ) + P( Z abs(z) )
= 2*P ( Z abs(z) )
= 2*pnorm(z, lower.tail=FALSE)
try z=0 (you should