Sample Size Determination
Sample Size Determination
DETERMINATION
Dek Kahin Yosef
• Larger the sample, more accurate will be the findings from a Study.
Cont’d……………
research.
Basic Information Needed for
Sample Size Calculation
The approach to sample size calculation can be arrived at by thinking through the
following set of questions:
• What type of study is this?
✓ Single sample (prevalence survey)
✓ Comparison of two groups (cross-sectional, case-control, cohort study)
• What is the main (primary) outcome?
✓ Mean of a measurement (mean blood pressure)
✓ Proportion
✓ Ordered scale (pain scores)
• What is the expected variability between the subjects?
• How large a difference would be considered clinically important and reasonable?
What is sample size determination
• Sample size determination is the mathematical estimation of the
number of subjects/units to be included in a study.
question.
• Design effect
Definition of terms
• Random error: Errors that occur by chance. Sources are sample
variability, subject to subject differences & measurement errors. These
can be reduced by averaging, increasing sample size, repeating the
experiment.
• Systematic error: Deviations not due to chance alone. Several factors,
e.g. patient selection criteria may contribute. It can be reduced by good
study design and conduct of the experiment.
• Precision: The degree to which a variable has the same value when
measured several times. It is a function of random error.
• Accuracy: The degree to which a variable actually represent the true
value. It is function of systematic error.
Cont’d……………
• Power: This is the probability that the test will correctly identify a
significant difference, effect or association in the sample should one
exist in the population. Sample size is directly proportional to the
power of the study. The larger the sample size, the study will have
greater power to detect significance difference, effect or association.
• A type II error occurs if you do not reject the null hypothesis when it
is false.
At what stage can sample size be addressed?
• It can be addressed at two stages:
parameters.
1. Use of formulae
wish to have, (ii) estimate the variance in the population, and (iii)
• When we specify the above, the formula tells us what sample size we
need to use….n
Use of formulae for sample size calculation &
power analysis
• There are many formulae for calculating sample size & power in
different situations for different study designs.
is;-
N=(1.962)(0.5)(0.5)/0.052
N=384.
If study population is < 10,000
nf=n/1+(n)/(N)
• nf= desired sample size, when study population <10,000
• n= desired sample size, when the study population > 10,000
• N= estimate of the population size
Example, if n were found to be 400 and if the population size were
estimated at 1000,
then nf will be calculated as follows
✓ nf= 400/1+400/1000
✓ nf= 400/1.4
✓ nf=286
Sample size formula for comparison of groups
• If we wish to test difference(d) between two sub-samples regarding a
proportion & can assume an equal number of cases(n1=n2=n’) in two
sub samples, the formula for n’ is
n’=2𝒛𝟐𝟐pq/𝒅𝟐
• E.g. suppose we want to compare an experimental group against a
control group with regards to women using contraception. If we
expect p to be 40 & wish to conclude that an observed difference of
0.10 or more is significant at the
✓ 0.05 level, the sample size will be:
✓ n’= 2(1.96)2(0.4)(0.6)/0.12
✓=184
Thus, 184 experimental subject & another 184 control subjects are
required.
Use of ready made table for sample size calculation
• How large a sample of patients should be followed up if an investigator wishes to
estimate the incidence rate of a disease to within 10% of it’s true value with 95%
confidence?
• The table show that for e=0.10 & confidence level of 95%, a sample size of 385
would be needed.
• This table can be used to calculate the sample size making the desired changes in
the relative precision & confidence level .e.g. if the level of confidence is reduce to
90%, then the sample size would be 271.
• Such table that give ready made sample sizes are available for different designs &
situation
Use of computer software for sample size
calculation & power analysis
• The following software can be used for calculating sample size & power;
✓ Epi-info
✓ nQuerry
✓ Power & precision
✓ Sample
✓ STATA
✓ SPSS
Epi-info for sample size determination
• In STATCALC:
✓ 1 Select SAMPLE SIZE & POWER.
✓ 5 Enter the worst acceptable result (e.g. 75%) i.e the margin of error is
5%
CONCLUSIONS
1. Sample size determination is one of the most essential components of
every research Study.
2. The larger the sample size, the higher will be the degree of accuracy, but
this is limited by the availability of resources.
3. It can be determined using formulae, ready made tables and computer
soft wares.
Steps:
1. 1st Formulate a research question
2. 2nd Select appropriate study design, primary outcome measure,
statistical significance.
3. 3rd use the appropriate formula to calculate the sample size.
Thank you