Questions and Answers

 

On this page we publish questions and answers about how to perform power analyses with G*Power.


List of Questions

How do I estimate "w" in the Chi-squared a-priori unit of your program?

Where do the suggested effect sizes come from?

What does "Sigma" refer to?

I find the use of the term "Sigma (within each group)" a bit confusing. Is this the overall standard deviation?

Is there a simple way to print the whole manual without going from page to page?

I wonder about the necessity of "post hoc" analysis.

ANOVA expects equal group sizes, what happens if they are not equal?

There seems to be no way to do a matched pairs t test (or Z for that matter).

The standard deviation is assumed to be equal, but this is not always the case.

It would be great to see a 16 or 32-bit version for the Window/Intel world.

What if the variance is different between groups?

I would like to know if there is a formula whereby one can convert the effect size index for F-tests that you use (Cohen's f) to r or r^2.


Question

Please can you give me some inforamtion on how I estimate "w" in the Chi-squared a-priori unit of your program.

I am unable to find information my my texts as to how to estimate the "effect" in chi-squared analyses. Your help would be appreciated as I have a need to calculate the required number of samples in a chi-squared reasonably often.

Answer

Agood source of information is Jacob Cohen's book "Statistical Power Analysis for the Behavioral Sciences".

In a nutshell, w is the square root of w^2, and w^2 is the Pearson chi-square statistic applied to the H0 and H1 cell probabilities. Thus, if you have a discrete variable comprising m categories or a multivariate contingency table comprising m cells then

         ________________________________
        /                                \
       /    m       (p0(i) - p1(1))2   
w :=  /    Sum  _______________________
     /     i=1          p0(i)
   \/
		  
		  

where p0(i) and p1(i) denote the cell probabilities for the i-th cell according to H0 and H1, respectively.

You can use the Calc "effect size" option of G*Power to calculate w from the H0 and H1 cell probabilities directly (first select "Chi-square test, then click the Calc "w" button).


Question

I see in ANOVA that it expects equal group sizes, but doesn't exactly ask for the sizes directly. I happened on this because I had a four group example, and the sum of the n's was not divisable by 4. So G*Power told me that it would proceed using an average groups size. I said OK and then tried to find in the user guide exactly what went on inside. What sort of average did it use? The usual in this situation is a harmonic mean, but the documentation did not address the question.

Answer

In fact, G*Power uses the total N directly to compute the noncentrality parameter lambda for the noncentral F-distribution as

Lambda = f2 * N

This means that G*Power will always, that is, for any N, be able to compute a noncentrality parameter, but the underlying assumption is that the N is the sum of equally large n's.

You can use the Calc "effect size" option of G*Power to calculate f easily for situations with unequal n's (first select "F-Test (ANOVA), then click the Calc "f" button). G*Power computes f as

         _______________________
        /  k                    \
       /  sum pi * (mui - mu)2  
      /   i=1
f =  /  _________________________
   \/            sigma2
 
where 
pi  = ni / N,
ni  = the number of subjects in group i, i = 1  ... k,
N   = the total number of subjects,
mui = mean in group i, i = 1  ... k,
mu  = Grand Mean, and
sigma2 = error variance within cells (constant across groups).

 


Question

Where do the suggested effect sizes come from? I know about .2, .5, and .8 from Cohen, but where are the others from?

Answer

The suggested effect sizes other than the effect size index d for t-tests on means also come from Cohen. In his 1977 book, for instance, you find the conventions for

r on p. 79f

f on p. 285f (for k=2 groups, f = d/2)

f^2 on p. 413f and

w on p. 224f


Question

There seems to be no way to do a matched pairs t test (or Z for that matter). If "Other t-tests" is the way to do one sample tests, then I could use that for matched pairs, but that still does not solve the problem of not having the a priori option. Or am I way off base here?

Answer

Indeed, you need to use the "Other t-Tests" option. The guide to G*Power shows how to do matched-pairs t-tests as well as z-Tests and one-sample t-tests.


Question

When trying to calculate the effect size one piece of information required is "Sigma". What does "Sigma" refer to?

Answer

Assume that you want to compute the effect size index d for a t-test on means according to

    | mu1 - mu2 |
d = _____________
       sigma

(see Cohen, 1977). Sigma in this formula refers to the standard deviation in the population (as opposed to the standard deviation in a sample). Likewise, "mu" refers to the population mean.

In general, G*Power assumes that all parameters which you enter refer to the underlying population, not to a particular sample (however, parameters may be estimated from sample data).


Question

I have a question about effect size calculation which might be related to statistics: The program only asks for one sigma (standard deviation assumed to be equal), but this is not always the case. I am not very good with statistics but I might suggest to have the option of unequal variance.

Answer

In general, G*Power requires sigma to be equal in all groups. For simple t-test on means, Cohen (1977, p. 44) suggests an adjustment procedure (see t-Test on Means, Unequal Sigma section). However, the power values computed by G*Power will only be approximations in this case. Computer simulation results on the appropriateness of this approximation are not yet available.

As a general warning, you should keep in mind that G*Power results are valid if the statistical assumptions underlying the tests are met (e.g., normal distributions and homogeneous variances within cells). Some work has been done on the robustness of these tests, that is, the deviation of actual and nominal alpha error probablities when the distribution assumptions are not met. However, little is known on a test's power given a misspecified distribution model. Thus, G*Power results may or may not be useful approximations to the true power values in such cases.


Question

Is there a simple way to print the whole manual without going from page to page?

Answer

Unfortunately, there is no way to print the whole manual without going from one page to another. In order to facilitate the printing, however, here is a complete list of the manual’s pages. Simply click on the links and print the pages one by one:

User Guide Title Page
Contact us
Credits
 
Tutorial
 
User Interface-Overview
User Interface-The Main Windows
User Interface-The Analysis Window
User Interface-Drawing Graphs
 
Analysis Types, Tests, and Concepts-Overview
Types of Analyses
Theoretical Concepts
t-Tests on Means
t-Tests on Correlations
Other t-Tests
F-Test (ANOVA)
F-Test (MCR)
Other F-Tests
Chi-Square Test
 
Article about G*Power, Part 1
Article about G*Power, Part 2
Article about G*Power, Part 3
Article about G*Power, Part 4
Article about G*Power, Part 5
References
 
Questions and Answers (this page)


Question

It would be great to see a 16 or 32-bit version for the Window/Intel world, especially to enhance the graphics.

Answer

We are currently planning G*Power 3.0. There will be two versions, one for the MacOS and one for the Windows/Intel world. However, we all are involved in several other projects, so it may take some time until version 3 will see the light of day.


Question

I find the use of the term "Sigma (within each group)" a bit confusing in the "Calculate Effect Size" section. Is this the overall standard deviation?

Answer

No, the overall standard deviation of the data across groups depends on (a) the error variance within groups, (b) the variance of the group means (i.e., effect variance), and (c) possible sample size differences between groups. The overall standard deviation is irrelevant for power analyses. "Sigma (within each group)" is just the square root of the error variance within groups.


Question

What if the variance is different between groups?

Answer

Note that in t-tests and ANOVAs the error variances are assumed to be equal in all groups. Precise statements about alpha levels and statistical power are impossible if the error variances vary between groups simply because the H0- and H1-sampling distributions of F and t are unknown in such cases. However, the ANOVA is known to be relatively robust against violations of the underlying assumptions if the sample sizes do not differ between groups. Thus, you might get quite good approximations to the true power values if you refer to the pooled error variance in case of variance differences between groups. For more information, see the Two Group t-Test, Equal Group Sizes, Unequal Sigma section.


Question

To me, power is more an a priori concept, estimated even before collecting the data. We need the concept of power and sample size in the designing the study stage. So I wonder about the necessity of "post hoc" analysis. Or may be I misunderstood the purpose of the post hoc analysis in your program?

Answer

We agree entirely with this statement. A priori power analyses are definitely the best way to control beta error probabilities! However, sometimes it may be impossible to control the sample size, for example, when re-analyzing data sets that have been collected by other researchers before. In such cases post hoc power analyses may make sense (see, e.g. Cohen, 1988, among others).


Question

I would like to know if there is a formula whereby one can convert the effect size index for F-tests that you use (Cohen's f) to r or r^2. I am doing a meta-analysis and need to use a single measure to calculate the overall effect size.

Answer

The conversion formulae are

      R2              f2  
f2 = ----  and  R2 = --- .
     1-R2            1+f2  
            


Math

Home

Prg


Please report suggestions for improvements to
webmaster@cogpsy.uni-trier.de