In epidemiology, the ability to determine the appropriate sample size is essential. An underpowered study may miss significant findings (Type II error), while an overpowered study may waste resources. G*Power allows researchers to balance these concerns by calculating the sample size needed to achieve a desired statistical power, typically set at 80% or 90%.