By Learn Statistics Easily

Logistic Regression Sample Size

You will learn the essentials of sample size calculation.

Choosing the Test

Select 'Logistic regression' in G*Power for your analysis.

Test Direction

Decide between one-tailed or two-tailed based on your hypothesis.

Setting α

Choose α = 0.05 for a 5% risk level of type I error.

Power Analysis

Aim for a test power between 0.80 and 0.99 for reliability.

R² Set to Zero

For simple models, R² of other variables is zero.

Variable X Type

Choose the distribution for X: Binomial, Normal, or Poisson.

Pilot Data

Use pilot study data for accurate parameter estimation.

Mean & SD

Input X's mean and SD from pilot data for precision.

Analyzing Odds Ratio

Use PSPP to find Exp(B) for variable X from pilot data.

Prob of y = 1

Calculate the likelihood of y=1 under the null hypothesis.

Sample Size

Combine parameters in G*Power to find the needed sample size.

Learn More!

For a deeper dive into optimizing your study's accuracy, click here!