These are the solutions for Computer Lab 12, and use the G*Power software program (Faul et al. 2007), see also Faul et al. (2009).
No answer required.
The required sample size value is \(n = 12\). You should obtain this result as shown in Figure 1.1 below.
Figure 1.1: One sample \(t\)-test G*Power output.
The new required sample size value is \(n=22\). You should obtain this result as shown in Figure 1.2 below.
Figure 1.2: One sample \(t\)-test G*Power output for new inputs.
There are several ways in which a sample size of \(30\) could be achieved.
Assume that you begin with the parameters specified in 1.2.1, i.e:
If the mean difference considered meaningful is reduced, the sample size will increase - e.g. if this changes from \(0.5\) to \(0.295\), and all other parameters remain the same, a sample size result of \(n=30\) is obtained.
Other options include (either individually or in conjunction with other changes such as the change mentioned above):
The required sample sizes are \(n_1 = 54\), and \(n_2 = 54\), for a total sample size of \(108\). You should obtain this result as shown in Figure 1.3 below.
Figure 1.3: Independent samples \(t\)-test G*Power output.
The new required sample sizes are \(n_1 = 11\), and \(n_2 = 11\), for a total sample size of \(22\). You should obtain this result as shown in Figure 1.4 below.
Figure 1.4: Independent samples \(t\)-test G*Power output for new inputs.
There are several ways in which a sample size of \(80\) could be achieved.
Assume that you begin with the parameters specified in 1.3.1, i.e:
In this instance, since we are aiming for a maximum sample size of 80 (i.e. less than the original 108), our focus is on adjusting the parameters so that we observe a decrease in the total sample size required.
Options which will lead to a decrease in the total sample size include:
The required sample size value is \(n = 50\). You should obtain this result as shown in Figure 1.5 below.
Figure 1.5: Paired \(t\)-test G*Power output.
The new required sample size value is \(n=20\). You should obtain this result as shown in Figure 1.6 below.
Figure 1.6: Paired \(t\)-test G*Power output for new inputs.
There are several ways in which a sample size of \(40\) could be achieved.
Assume that you begin with the parameters specified in 1.4.1, i.e:
Options which will lead to a decrease in the total sample size include:
The required sample size values are \(n_1 = n_2 = 294\), for a total sample size of \(n=588\). You should obtain this result as shown in Figure 1.7 below.
Figure 1.7: Two-sample test of proportions G*Power result.
The new required sample size values are \(n_1 = n_2 = 127\), for a total sample size of \(n=254\). You should obtain this result as shown in Figure 1.8 below.
Figure 1.8: Two-sample test of proportions G*Power output for new inputs.
There are several ways in which a sample size of \(500\) could be achieved.
Assume that you begin with the parameters specified in 1.5.1, i.e:
Options which will lead to a decrease in the total sample size include:
Using a new power requirement of \(0.9\), we obtain the following results:
The required sample size value is now \(n = 15\). You should obtain this result as shown in Figure 2.1 below.
Figure 2.1: One sample \(t\)-test G*Power output, with power of \(0.9\).
The required sample sizes are now \(n_1 = 72\), and \(n_2 = 72\), for a total sample size of \(144\). You should obtain this result as shown in Figure 2.2 below.
Figure 2.2: Independent samples \(t\)-test G*Power output, with power of \(0.9\).
The required sample size value is now \(n = 67\). You should obtain this result as shown in Figure 2.3 below.
Figure 2.3: Paired \(t\)-test G*Power output.
The required sample size values are now \(n_1 = n_2 = 392\), for a total sample size of \(n=784\). You should obtain this result as shown in Figure 2.4 below.
Figure 2.4: Two-sample test of proportions G*Power result, with power of \(0.9\).
These notes have been prepared by Rupert Kuveke. The copyright for the material in these notes resides with the author named above, with the Department of Mathematics and Statistics and with La Trobe University. Copyright in this work is vested in La Trobe University including all La Trobe University branding and naming. Unless otherwise stated, material within this work is licensed under a Creative Commons Attribution-Non Commercial-Non Derivatives License BY-NC-ND.