Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Create P value for Z score


From   [email protected]
To   [email protected]
Subject   Re: st: RE: Create P value for Z score
Date   Fri, 9 Dec 2005 15:23:04 -0500 (EST)

AL,

Thanks@

Ying



> Ying -
>
> If Z is a Stata variable and you want a two-sided p-value (what is
> reported
> in standard Stata output) then use
>
> gen pv=2*(1-norm(abs(Z)))
>
> AL Feiveson
>
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of [email protected]
> Sent: Friday, December 09, 2005 12:35 PM
> To: [email protected]
> Subject: st: Create P value for Z score
>
> Hi, all,
>
> I have a variable which is the Z score of Beta coeffcient (Standard normal
> distribution). I also want to create a new variable which is the p value
> of
> the Z score. Does anybody have the command or programs to share?
>
> Thanks,
> Ying
>
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index