Manuel B. Garcia

Manuel B. Garcia serves as the Senior Director for Educational Technology and Digital Learning at FEU Institute of Technology, Manila, Philippines. Read More

Contact Info

1607, FEU Tech Building,
P. Paredes St, Sampaloc,
Manila, Philippines
mbgarcia@feutech.edu.ph

Follow Me

Can Generative AI Identify the Assumptions Required for a Sample Size Calculation?

Generative AI can help researchers identify assumptions required for sample size calculations, including effect size, outcome variability, power, precision, and design characteristics. Learn why these inputs require justification and how unsupported assumptions can produce misleading sample size estimates.

278
AI for Sample Size Assumptions Guide 278 of 1196
01 · The Question

Can AI Identify What You Need to Know Before Calculating Your Sample Size?

You ask generative AI to calculate the sample size for a study evaluating whether AI tutoring improves students' mathematics achievement. It recommends 80% statistical power, a 5% significance level, and a medium effect size.

The chatbot then produces a precise number of participants.

But why was a medium effect size selected? What evidence supports the assumed variability of achievement scores? Does the calculation account for students being recruited from existing classrooms, or for participants who may not complete the intervention?

These questions matter because sample size calculations depend on assumptions about the statistical problem and the data that will eventually be collected. When those assumptions are inappropriate, even correctly performed calculations can produce misleading recommendations.

The challenge is not simply identifying which numbers belong in a formula. It is determining whether those numbers and the conditions they represent are defensible for the proposed study.

02 · The Short Answer

AI Can Identify Required Assumptions, but It Cannot Establish Their Validity Without Evidence

In Brief

Generative AI can help researchers identify the assumptions required for a sample size calculation by examining the research objective, statistical analysis, outcome variability, target effect, significance level, power, precision, and study design. However, AI may introduce conventional values without adequate justification or overlook assumptions concerning clustering, allocation, missing data, and measurement. Researchers must independently verify which assumptions apply and whether the selected values are scientifically defensible.

Sample size assumptions should be treated as explicit planning decisions rather than hidden defaults. Their influence on the required sample should be examined, particularly when reliable prior information is unavailable.

03 · What You Need to Know

How to Examine the Assumptions Behind AI-Generated Sample Size Calculations

What Are Sample Size Assumptions?

Sample size assumptions are the statistical, methodological, and substantive conditions used to determine how much information a study requires.

Some assumptions specify numerical inputs, such as the anticipated standard deviation of an outcome or the effect size the study aims to detect.

Others concern the structure of the research, including whether observations are independent, participants are randomly sampled, groups have equal allocation, or repeated measurements are correlated.

These assumptions influence the calculation because they determine how sample size relates to statistical uncertainty or power.

Lakens (2022) emphasizes the importance of transparent sample size justification, including the assumptions and research objectives underlying the selected approach.

AI can help make these assumptions visible, but identifying an assumption is not equivalent to demonstrating that it holds.

Which Assumptions Are Commonly Required?

Assumption or input Why it matters What requires justification
Primary estimand or hypothesis Determines what the calculation must estimate or test. The relationship between the research question and intended analysis.
Effect size Influences the sample required to detect a specified difference or relationship. The scientific importance and plausibility of the target effect.
Outcome variability Affects the uncertainty of estimated means, differences, or other parameters. The anticipated standard deviation or relevant variance structure.
Statistical power Specifies the probability of detecting the assumed effect under the planned test. The selected power target and testing framework.
Significance level Determines the Type I error criterion for conventional hypothesis testing. The chosen threshold and whether multiple testing requires consideration.
Target precision Specifies the desired uncertainty of an estimate. The acceptable confidence interval width or margin of error.
Allocation and sampling design Determines how observations are selected or distributed across groups. Unequal allocation, clustering, stratification, and other design features.
Missing data or attrition Affects the number of usable observations and potentially the validity of inference. The anticipated loss rate and assumptions about missingness.

Not every calculation requires all these inputs. For example, estimating a single population proportion with a desired margin of error does not ordinarily require specifying statistical power.

AI should identify assumptions relevant to the selected calculation rather than provide the same generic list for every research design.

Why Must the Primary Research Objective Be Specified First?

The research objective determines which quantity requires adequate information.

For example, estimating the prevalence of generative AI use among university students is different from detecting an achievement difference between two instructional conditions.

The first may involve an anticipated population proportion and desired margin of error. The second may require a target mean difference, outcome variability, statistical power, and allocation ratio.

If AI assumes the wrong objective, it may identify assumptions appropriate to a different calculation.

Researchers should therefore verify the sample size calculation method before accepting its associated inputs.

Why Is the Assumed Effect Size So Important?

In power-based calculations, the target effect is often one of the most influential inputs.

Smaller effects generally require larger samples to detect with a specified level of power, holding other relevant conditions constant.

For example, detecting a small improvement in mathematics achievement may require substantially more participants than detecting a large improvement.

AI may recommend Cohen's conventional small, medium, or large effect size categories without considering whether those values are appropriate for the intervention.

However, Cohen (1988) did not establish universal effect sizes for every educational intervention or research context.

Researchers should distinguish between an effect considered practically meaningful and an effect considered plausible based on prior evidence.

These values may differ, and the distinction should inform sample size planning.

What Is the Minimum Effect of Interest?

The minimum effect of interest is the smallest effect that the researcher considers sufficiently meaningful for the study's scientific or practical purpose.

For example, a modest improvement in mathematics achievement may be important if an intervention is inexpensive and can be implemented widely.

Conversely, the same improvement may be insufficient to justify an intervention requiring substantial resources.

The minimum effect of interest should therefore be informed by substantive considerations rather than statistical conventions alone.

AI can help researchers articulate the decision context, but it cannot independently determine which educational improvement is worth detecting.

That judgment may require relevant literature, stakeholder input, and consideration of the consequences of the intervention.

Where Should Outcome Variability Assumptions Come From?

For continuous outcomes, the anticipated standard deviation can substantially influence the required sample size.

Researchers may obtain planning estimates from previous studies using comparable measures and populations, existing institutional data, or appropriately interpreted preliminary evidence.

However, variability may differ across populations, assessment instruments, and educational settings.

For example, a standard deviation reported for a mathematics achievement test in secondary schools may not be appropriate for a university-level assessment with a different scoring scale.

AI should not invent a standard deviation or treat an unrelated published value as directly transferable.

When uncertainty remains, researchers may examine plausible ranges and evaluate how the sample size changes.

Are 80% Power and a 5% Significance Level Mandatory?

No. These values are common conventions in many research settings, but they are not universal methodological requirements.

Statistical power reflects the probability of rejecting the null hypothesis when a specified alternative effect is present under the assumed model.

The significance level specifies the probability of a Type I error under the relevant null hypothesis and testing assumptions.

Researchers should choose these values according to the research purpose, consequences of errors, disciplinary expectations, and analytical framework.

AI may use conventional values for an illustrative calculation, but it should identify them explicitly as planning choices rather than established facts about the study.

What Assumptions Matter for Precision-Based Calculations?

Precision-based calculations focus on the desired uncertainty of an estimate rather than the probability of rejecting a hypothesis.

For example, estimating the proportion of university students who use generative AI may require assumptions about the anticipated proportion, confidence level, margin of error, and sampling design.

For a conventional simple random sample, the anticipated proportion affects the variance through p(1 − p).

When the true proportion is unknown, p = 0.50 is often used because it maximizes this variance term.

However, this is a conservative planning choice under the relevant formula, not an empirical claim that half the students use AI.

AI should distinguish the assumed value from an observed population characteristic.

Why Does Independence Matter?

Many conventional sample size formulas assume independent observations.

However, participants recruited from the same classroom, school, or institution may have correlated outcomes.

For example, students within one classroom may share instructional experiences and assessment conditions.

If a calculation treats these observations as independent when they are substantially correlated, it may overstate the information available from the sample.

Researchers should examine the sampling and assignment structure and use design-specific calculations when necessary.

AI should not infer independence simply because the dataset contains separate rows for individual participants.

What Is the Role of the Intraclass Correlation Coefficient?

The intraclass correlation coefficient, commonly abbreviated ICC, describes the similarity of observations within clusters under a specified model.

In cluster sampling or cluster-randomized studies, the ICC can influence the effective information provided by the sample.

For equal-sized clusters, a familiar approximation for the design effect is:

Illustrative Design Effect

DEFF = 1 + (m − 1)ρ

Where:

m = number of observations per cluster.

ρ = intraclass correlation coefficient.

This expression depends on particular assumptions and does not apply unchanged to every clustered design.

AI may recommend an arbitrary ICC, such as 0.05, without evidence that it is appropriate for the population and outcome.

Researchers should use relevant empirical estimates or examine sensitivity across plausible values.

The calculation of a design effect should be verified separately.

Why Does Allocation Ratio Affect Sample Size?

When a study compares two or more groups, the distribution of participants across conditions affects statistical precision.

Equal allocation is often efficient when group variances and observation costs are comparable.

However, some studies may use unequal allocation for ethical, operational, or other justified reasons.

A calculation assuming equal allocation may underestimate the total sample needed when the actual design uses a substantially unequal ratio.

AI should therefore request the intended allocation ratio rather than automatically assume that groups will contain equal numbers.

What Assumptions Are Required for Repeated-Measures Studies?

Repeated-measures calculations may depend on the number and timing of measurements, within-participant correlations, outcome variability, and the planned analytical model.

For example, a pretest-posttest comparison may have different requirements from a longitudinal study examining changes across several semesters.

Repeated observations may improve precision when their correlation structure is appropriately modeled, but they do not automatically substitute for recruiting additional independent participants.

AI should identify the intended longitudinal contrast and covariance assumptions before recommending a sample size.

How Should Attrition Assumptions Be Evaluated?

Attrition assumptions estimate how many recruited participants may fail to provide usable observations at the required follow-up or analysis stage.

For example, a study requiring 200 completed observations and anticipating 20% attrition may use a simple recruitment adjustment:

Illustrative Attrition Adjustment

Required recruitment = 200 / (1 − 0.20) = 250

However, the assumed 20% loss should be justified using relevant prior studies, institutional experience, or other defensible evidence.

Attrition may also differ between intervention groups or be related to outcomes.

Increasing the recruitment target does not eliminate missing-data bias.

Researchers should distinguish the arithmetic of attrition adjustment from the assumptions required for valid analysis of incomplete data.

Can AI Identify Assumptions for Regression and Structural Equation Modeling?

AI can help identify relevant model-specific requirements, but these analyses do not have one universal sample size assumption set.

For regression, planning may depend on the primary coefficient or hypothesis, anticipated effect, predictor relationships, residual variability, and estimation method.

For structural equation modeling, assumptions may involve factor loadings, parameter values, model identification, estimation, missing data, and the performance criteria being evaluated.

Wolf and colleagues (2013) demonstrate that sample size requirements for structural equation models vary with model characteristics.

Researchers should not rely on universal rules such as ten respondents per item without evaluating the actual model.

Simulation-based planning may be useful for complex models, provided the simulated conditions are justified.

Can AI Distinguish Assumptions From Known Facts?

AI can be instructed to label inputs according to their evidentiary status.

For example, the number of students enrolled at a university may be verified from institutional records, while the expected intervention effect may remain uncertain.

Similarly, a researcher may know the planned allocation ratio but have only preliminary information about attrition.

Separating known conditions from assumptions helps prevent hypothetical values from being presented as established evidence.

Input status Meaning Illustrative example
Verified Supported by an appropriate source or established protocol decision. Confirmed number of eligible classrooms.
Evidence-informed estimate Based on relevant empirical information with acknowledged uncertainty. Expected achievement-score standard deviation from comparable studies.
Planning choice Selected according to the research objective and inferential requirements. Target power or desired confidence interval width.
Hypothetical assumption Used to explore a scenario without sufficient evidence for a final estimate. An illustrative attrition rate used in sensitivity analysis.

These distinctions should remain visible in the final sample size justification.

What If the Required Assumptions Are Unknown?

Missing assumptions should not automatically be replaced with conventional values.

Researchers may consult relevant literature, examine available administrative data, or conduct preliminary investigations when appropriate.

They may also perform sensitivity analyses using plausible ranges.

For example, if the anticipated intervention effect is uncertain, calculating sample sizes across several defensible effect sizes can reveal how strongly the requirement depends on that assumption.

However, sensitivity analysis does not make arbitrary inputs scientifically valid.

Its value lies in showing how conclusions change under explicitly stated alternatives.

Can AI Verify That the Assumptions Are Correct?

Not independently. AI can compare supplied assumptions with methodological principles and identify apparent inconsistencies.

However, it cannot establish that the anticipated effect, standard deviation, ICC, or attrition rate accurately represents the future study population without appropriate evidence.

Even assumptions based on previous studies may not transfer perfectly to a new context.

Researchers should therefore document the sources, limitations, and sensitivity of the planning values.

Independent verification should examine both the assumptions and the resulting calculations.

How Can You Conduct an AI-Assisted Assumption Audit?

1. Define the primary statistical objective. Identify the estimand, hypothesis, or precision requirement.
2. Confirm the calculation method. Establish that the formula or computational procedure matches the design.
3. List every required input. Include effect sizes, variability, power, precision, allocation, dependence, and attrition as applicable.
4. Classify the evidence for each input. Distinguish verified values, empirical estimates, planning choices, and hypothetical scenarios.
5. Examine the research context. Determine whether prior estimates are relevant to the intended population and measurements.
6. Conduct sensitivity analyses. Explore how plausible alternative values affect the required sample size.
7. Independently verify the calculation. Use appropriate statistical software and methodological references.
8. Document unresolved uncertainty. Explain which assumptions remain uncertain and how they affect the final recruitment target.

This process supports transparent planning without treating AI-generated assumptions as empirical evidence.

Watch Out

Do not allow AI to fill missing sample size inputs silently. A conventional value may be convenient for illustrating a calculation, but it becomes a defensible planning assumption only when its selection is justified for the research question and context.

04 · A Practical Example

When AI Assumes a Medium Effect Without Knowing the Intervention

Hypothetical Example

Planning an AI Tutoring Experiment

A researcher plans a randomized experiment comparing mathematics achievement between students receiving supplementary AI tutoring and students receiving usual instruction.

AI recommends 80% power, a 5% significance level, and Cohen's d = 0.50.

It then calculates the sample size without asking about outcome variability, the educational importance of the target effect, or the actual allocation structure.

The researcher reviews the assumptions before accepting the result.

Planning input AI assumption Researcher's assessment
Primary outcome Mathematics achievement. Specify the assessment instrument and intended comparison.
Effect size Cohen's d = 0.50. Determine whether the assumed effect is plausible and educationally meaningful.
Statistical power 80%. Evaluate whether the target is appropriate for the study's purpose.
Significance level 0.05. Confirm the intended testing framework.
Allocation ratio Equal groups. Verify whether 1:1 assignment is planned and feasible.
Attrition Not included. Estimate likely loss of usable outcome data.
Clustering Independent observations. Determine whether assignment or measurement occurs within intact classrooms.

The researcher consults relevant educational intervention literature and examines plausible effect sizes rather than accepting d = 0.50 as a default.

If the intended intervention effect is smaller than the chatbot assumed, the required sample may increase substantially.

The decision: The researcher treats the initial AI result as an illustrative scenario and revises the calculation using defensible planning assumptions.

The example demonstrates that the quality of a sample size calculation depends as much on the assumptions as on the mathematical procedure.

05 · What Researchers Often Get Wrong

Common Mistakes When AI Identifies Sample Size Assumptions

Misconception

Conventional Planning Values Are Automatically Correct

Common significance levels, power targets, and effect size categories are not universal requirements. Their suitability depends on the research objective and context.

Misconception

An Effect Size Can Be Chosen Solely From Cohen's Labels

Small, medium, and large benchmarks do not establish which effects are plausible or meaningful for a particular intervention.

Misconception

Outcome Variability Does Not Matter When the Effect Size Is Known

Raw effect calculations require appropriate variability assumptions, while standardized effects incorporate variability into their definition. The required inputs depend on the method.

Misconception

Every Observation Can Be Treated as Independent

Clustered and repeated observations may be correlated. Ignoring dependence can produce inappropriate sample size estimates.

Misconception

Attrition Adjustment Eliminates Missing-Data Problems

Increasing recruitment targets may help achieve the required number of observations, but it does not automatically address bias arising from missing outcomes.

Misconception

AI Can Determine Planning Assumptions Without Empirical Information

AI can suggest scenarios, but substantive assumptions require appropriate evidence, methodological reasoning, or clearly acknowledged uncertainty.

06 · What This Means for You

Require AI to Explain Every Input Before It Calculates Anything

When using AI for sample size planning, request an explicit assumption inventory before asking for the final number.

Ask which inputs are required, which values are already known, which must be estimated, and how uncertainty in those estimates affects the calculation.

A simple decision framework

If AI inserts a conventional effect size
Request evidence or substantive justification and examine plausible alternatives.
If outcome variability is unknown
Consult comparable studies or preliminary information and evaluate sensitivity.
If participants are clustered or repeatedly measured
Use design-specific assumptions reflecting the dependence structure.
If attrition is anticipated
Justify the expected loss rate and distinguish recruitment adjustments from missing-data assumptions.
If important assumptions cannot be justified
Treat the calculation as provisional and report uncertainty rather than present a definitive requirement.

A Prompt for Identifying Sample Size Assumptions

Example Prompt

"I am planning a randomized study comparing supplementary AI tutoring with usual mathematics instruction. The primary outcome is a continuous achievement score. Before calculating the sample size, identify every statistical and methodological assumption required by an appropriate power or precision calculation. Distinguish assumptions about effect size, outcome variability, significance level, power, allocation ratio, clustering, and attrition. For each input, explain why it matters, what evidence could justify it, and how uncertainty might affect the required sample. Do not invent missing values or perform a final calculation until the assumptions have been reviewed."

After identifying the assumptions, researchers should verify the reliability of the AI-assisted calculation and document the basis for the final values.

The resulting sample size should reflect a justified research plan rather than a collection of conventional defaults.

07 · A Quick Checklist

Before Accepting AI-Generated Sample Size Assumptions

Before finalizing the calculation, check:
Have I identified the primary estimand, hypothesis, or precision objective?
Does the calculation method match the research design and planned analysis?
Are effect size assumptions scientifically meaningful and appropriately justified?
Are outcome variability estimates supported by relevant evidence?
Have I justified the selected power, significance level, or precision target?
Does the calculation reflect allocation ratios, clustering, and repeated measurements where applicable?
Are attrition and missing-data assumptions explicitly distinguished?
Have I separated verified information from hypothetical planning values?
Have I examined sensitivity to plausible alternative assumptions?
Can the final assumptions and calculations be independently defended and reproduced?
08 · Frequently Asked Questions

Frequently Asked Questions About AI and Sample Size Assumptions

Can ChatGPT identify the assumptions needed for sample size calculation?

It can identify common and design-specific assumptions, but the researcher must verify that they apply and that the selected values are justified.

Is 80% statistical power always sufficient?

No. It is a common planning convention, but the appropriate target depends on the research purpose, consequences of errors, and relevant methodological requirements.

Can I assume a medium effect size when no previous study exists?

You can explore it as a hypothetical scenario, but it should not automatically become the final planning assumption. Consider the minimum effect of interest and sensitivity across plausible values.

Where can I obtain an anticipated standard deviation?

Possible sources include comparable published studies, existing institutional data, or relevant preliminary evidence. The estimate should correspond reasonably to the intended population and measurement.

Does every sample size calculation require statistical power?

No. Precision-based estimation and some other sample size justification approaches do not necessarily use conventional power calculations.

Why does intraclass correlation matter?

When observations are clustered, intraclass correlation affects how much independent information the sample provides and may influence the required number of clusters or participants.

Can AI choose an attrition rate for my study?

It can suggest illustrative scenarios, but the anticipated rate should be justified using relevant evidence or clearly acknowledged planning assumptions.

What if my sample size assumptions are uncertain?

Use defensible ranges and sensitivity analyses to examine how uncertainty affects the required sample. Do not present unsupported assumptions as established facts.

09 · The Bottom Line

A Sample Size Calculation Is Only as Defensible as the Assumptions Behind It

The Bottom Line

Generative AI can help identify the assumptions required for sample size planning, but it cannot independently establish their scientific validity. Effect sizes, variability, power, precision, clustering, and attrition must be evaluated according to the actual research design and relevant evidence.

Use AI to make assumptions explicit and examine how they influence the result. A transparent calculation with acknowledged uncertainty is more defensible than a precise number built on unexplained defaults.

10 · Sources and Further Reading

Sources and Further Reading

11 · Cite this Guide

How to Cite This Guide

This guide is intended to be read, shared, and used in research, teaching, and academic work. If you draw on its ideas, explanations, or other content, please acknowledge the source by citing the guide. Doing so gives appropriate credit and helps your readers locate the original resource.

Has the Field Guide helped your research?

If a guide helped clarify a question, inform a research decision, or move your work forward, I would love to hear about your experience. Your story may also help other researchers discover the Field Guide.

Share Your Experience
Takes only a few minutes