# st: Re: ANOVA analysis: Probability value as scalar?

 From "Martin Weiss" To Subject st: Re: ANOVA analysis: Probability value as scalar? Date Tue, 12 May 2009 13:49:50 +0200

```***
webuse systolic, clear
anova systolic drug disease

di Ftail(e(df_m), e(df_r),e(F))
di Ftail(e(df_1), e(df_r),e(F_1))
di Ftail(e(df_2), e(df_r),e(F_2))
***

HTH
Martin
_______________
```
----- Original Message ----- From: "Christian Weiss" <christian.weiss@nightberry.de>
```To: <statalist@hsphsun2.harvard.edu>
Sent: Tuesday, May 12, 2009 1:06 PM
Subject: st: ANOVA analysis: Probability value as scalar?

```
```Dear Statalisters,

I have the following problem using an ANOVA analysis (output see below).

In the further course of analysis I would like to continue calculating
with the "P" Value of the F-Statistics of the ANOVA analysis.
Having a look at the Stata showed me that a whole bunch of values are
stored in scalars, however, as it seem not the P Value?

```
Is there any way to obtain the P Value in a scalar after an anova analysis?
```
Many thanks!
Best regards
Christian

Number of obs =     522     R-squared     =  0.0433
```
Root MSE = 23.6346 Adj R-squared = 0.0396
```
```
Source | Partial SS df MS F Prob > F
```             -----------+----------------------------------------------------
```
Model | 13109.7192 2 6554.85962 11.73 0.0000
```                        |
```
group | 13109.7192 2 6554.85962 11.73 0.0000
```                        |
Residual |  289910.719   519  558.594834
-----------+----------------------------------------------------
Total |  303020.438   521  581.613125
*
*   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/

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