Hello Luisa,
run your model with clogit but without an "or" option.
You will get a coefficient and standard error output.
Get the precise Z-value
Use the following formula:
p=2*(1-norm(abs(c)/se))
where c is the coefficient and se -- its standard error.
E.g.:
sysuse auto
clogit foreign weight, group(gear_ratio)
di 2*(1-norm(abs(-.0013891)/.0020871))
rounded value is 0.506
more precise value is .5056894
Use saved results to access the coefficients in your program if
necessary. See -ereturn list-.
Best regards,
Sergiy Radyakin
On 9/12/07, Luisa Foco <[email protected]> wrote:
> Dear Stata users,
> I have the following output, obtained with the clogit command, with a
> p-value <0.0001 and I would like to display the precise value of p.
>
> ------------------------------------------------------------------------------
> _Icc_1 | Odds Ratio Std. Err. z P>|z| [95% Conf.
> Interval]
> -------------+----------------------------------------------------------------
> _112 | 1.259198 .0640371 4.53 0.000 1.13974 1.391176
> ------------------------------------------------------------------------------
>
> Is there a general way to do this?
> Thanks in advance for your help
>
> Luisa
>
>
> *
> * 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/