Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.

# st: derive exact p values from ANOVA models

 From Vasan Kandaswamy To "statalist@hsphsun2.harvard.edu" Subject st: derive exact p values from ANOVA models Date Wed, 19 Sep 2012 19:03:23 +0000

```Dear Jay,

Thank you very much. I have now used the two way anova for comparison. Since the groups are equal sizes, regression model is not thought of at the moment.

I have another quick question, is there a way that I could obtain the exact p values from anova.
I do not want to show p=<0.0001 for all variables, but would like to be more specific.
While I do regression models, I use beta and SE to derive exact p values this way -
di (2*normal(-abs(beta/se))). but this is not possible with ANOVA.

Could someone suggest how to get exact p values from ANOVA ?
Many thanks !

Vasan,
PhD student,

________________________________________
From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] on behalf of JVerkuilen (Gmail) [jvverkuilen@gmail.com]
Sent: Wednesday, September 19, 2012 1:01 AM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: ANOVA for quartiles

On Tue, Sep 18, 2012 at 6:08 PM, Vasan Kandaswamy <vasan.kandaswamy@ki.se>wrote:

> Dear Statalisters,
>
> I intend to perform an ANOVA to compare the means of a variables across
> quartiles of BMI ( body mass index) in two genders (male and female ).

Why not a two-way model?

anova myoutcomevar gender##bmi_quartiles

Or the equivalent sequence of regression models if the groups are not
of equal size.

--
JVVerkuilen, PhD
jvverkuilen@gmail.com

"Out beyond ideas of wrong-doing and right-doing there is a field. I'll
meet you there. When the soul lies down in that grass the world is too full
*
*   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/
```