# Re: st: Re: Extended macro problem

 From Fred Wolfe To statalist@hsphsun2.harvard.edu Subject Re: st: Re: Extended macro problem Date Tue, 01 Jun 2004 07:24:07 -0500

Clive Nichols wrote that he prefers the non-exponential form of the P value. This is easily accomplished using -parmby- followed by -showparmest-

. parmby "xi:logistic married haq pain sex fatigue age edlevel ", label eform format(estimate min95 max95 %8.2f p %9.3f) saving(killme,replace)
Command: xi:logistic married haq pain sex fatigue age edlevel

Logistic regression Number of obs = 7415
LR chi2(6) = 349.84
Prob > chi2 = 0.0000
Log likelihood = -4300.4191 Pseudo R2 = 0.0391

------------------------------------------------------------------------------
married | Odds Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
haq_disabi~y | .8428295 .0411647 -3.50 0.000 .7658894 .9274987
pain_scale | .9860523 .0132516 -1.05 0.296 .9604188 1.01237
sex | 2.829347 .2200756 13.37 0.000 2.429277 3.295303
fatigue_sc~e | 1.003245 .0121197 0.27 0.789 .9797697 1.027283
age | .9805909 .0021429 -8.97 0.000 .9763998 .9848
edlevel | .999307 .011803 -0.06 0.953 .9764393 1.02271
------------------------------------------------------------------------------
file killme.dta saved

. showparmest using killme, sort ciform(to)

Variable Odds Ratio 95% C.I. P value
Sex (% male) 2.83 (2.43 to 3.30) 0.000
Age (years) 0.98 (0.98 to 0.98) 0.000
HAQ (0-3) 0.84 (0.77 to 0.93) 0.000
Pain (0-10) 0.99 (0.96 to 1.01) 0.296
Fatigue (0-10) 1.00 (0.98 to 1.03) 0.789
Education (years) 1.00 (0.98 to 1.02) 0.953
Constant 8.50 (5.37 to 13.46) 0.000

[Note: -showparmest- is a work in progress]

Fred

At 06:47 AM 6/1/2004, you wrote:

```Fred Wolfe displayed:

> . showparmest using killme,  sort ciform(to)
>
>               Variable   Odds Ratio          95% C.I.   P value
>           Sex (% male)         2.83    (2.43 to 3.30)   8.9e-41
>            Age (years)         0.98    (0.98 to 0.98)   3.0e-19
>              HAQ (0-3)         0.84    (0.77 to 0.93)   4.6e-04
>            Pain (0-10)         0.99    (0.96 to 1.01)   3.0e-01
>         Fatigue (0-10)         1.00    (0.98 to 1.03)   7.9e-01
>      Education (years)         1.00    (0.98 to 1.02)   9.5e-01
>               Constant         8.50   (5.37 to 13.46)   7.0e-20
>
> file killme.dta saved

"Figo!" as the Italians would say. However, would it not be a good idea to
reformat the p-values to - taking the second value from the top - 0.296?
```
```
Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125     Fax (316) 263-0761
fwolfe@arthritis-research.org

*
*   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/
```