Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: How to adress the P-Value from regression output for further calculations?


From   Tirthankar Chakravarty <[email protected]>
To   [email protected]
Subject   Re: st: How to adress the P-Value from regression output for further calculations?
Date   Thu, 25 Jun 2009 11:49:54 +0100

<>
<>
http://www.stata.com/statalist/archive/2009-05/msg00357.html

T

On Thu, Jun 25, 2009 at 11:41 AM, Christian Weiß<[email protected]> wrote:
> Dear Statalister,
>
> I am running a simple OLS regression and need to further calculations
> with the P-Value of a particular predictor.
>
> Taking the simple regression stated below as an example I would like
> to save the 0.28 (p-Value of predictor cr5) in a variable or local
> scalar.
>
> Any ideas? :)
>
> Best regards
> Christian
>
>
>
> . regress roa cr5
>
>       Source |       SS       df       MS              Number of obs =    1663
> -------------+------------------------------           F(  1,  1661) =    1.17
>        Model |  63.3674019     1  63.3674019           Prob > F      =  0.2801
>     Residual |  90164.3784  1661  54.2831899           R-squared     =  0.0007
> -------------+------------------------------           Adj R-squared =  0.0001
>        Total |  90227.7458  1662  54.2886557           Root MSE      =  7.3677
>
> ------------------------------------------------------------------------------
>          roa |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
> -------------+----------------------------------------------------------------
>          cr5 |   .0056142   .0051962     1.08   0.280    -.0045777    .0158061
>        _cons |   7.084254   .2833758    25.00   0.000     6.528442    7.640065
> ------------------------------------------------------------------------------
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>



-- 
To every ω-consistent recursive class κ of formulae there correspond
recursive class signs r, such that neither v Gen r nor Neg(v Gen r)
belongs to Flg(κ) (where v is the free variable of r).

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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