Sample Size Flashcards

1
Q

Why do we need sample size caluclations in RCTs?

A

we test the research population on only a sample of the population. a good sample size allows us to make inferences about that population

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what things restrict the size of the sample?

A
  • ethical reasons - ensures researchers can maintain adequate care for the subjects. too big a sample might limit this.
  • cost, collecting data is expensive - limiting sample size reduces costs
  • time considerations - time taken to collect data e.g., condcuct interviews, administer tests, recruit n. limiting sample size reduces time required to collect data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what makes the perfect sample size

A

not too small that it cant detect important effects. Not too big that its a waste of tim, money and resources.

Ideal sample size is realistic and worthwhile

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

two main things sample size calculations tell us

A

1: the forward “patients|need” appproach - how many n you need to get per group

1: the backwards “patients you can get” approach. determins the statistical power or significance that can be achieved with a sample size you can get

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what are the components of a sample size calculation

A

> objective of the study or research quesion
study design
type of primary outcome

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

for a sample size calculation we need to know the objective of the study or reserach question, what does this mean?

A

we need to know if it seeks to determine superiorirty, non inferiority or equivelance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

for a sample size calculation we need to know the study design, what like?

A

basically just the way the research design is structured

  • parallel or crossover
  • cluster trial
  • number of arms
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

for a sample size calcualtion we need to know the type of the primary outcome, what kind of things could the primary outcome variable be for: continuous, binary or time-to-event outcomes

A

> continuous
- means in each group or the difference in means between groups
- anticipated standard deviation

> binary
- anticipated event rate in each group

> time to event
- anticipated survival time in each group
- anticipated survival proportion at a given time point in each group
- recruitment period
- follow up period

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

for a sample size calcualtion we need to know the type of the primary outcome, what kind of things could the primary outcome variable be for: continuous, binary or time-to-event outcomes

A

> continuous
- means in each group or the difference in means between groups
- anticipated standard deviation

> binary
- anticipated event rate in each group

> time to event
- anticipated survival time in each group
- anticipated survival proportion at a given time point in each group
- recruitment period
- follow up period

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

things to consider in a sample size calculation for a supriority trial

A

> type 1 error (alpha)
type 2 error (beta)
power
clinically important difference or effect size

other things:
> attrition rate
> multiple comparisons
> multiple primary outcomes
> sample size per treatment group (allocation ratio)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what is a type 1 and 2 error

A

type one error - false positive. could lead to introducing an ineffective treatment - this works! when it doesnt

type 2 error - rejecting a true effect - end up rejecting an effective therapy - this doesnt work! when it does

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what does the sample size need to do to minimise the occurence of a type 1 or type 2 error

A

specify a type 1 or 2 error that would be acceptable for the trial - this should be small

type 1 error (Alpha) usually fixed at 0.05 (i.e. 5% chance of making a false positive

type 2 error (beta) - conventionally set at .10 or .20 (10-20% chance of a false negative conclusion). we accept a 10% probability of getting a false negative

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what does power signify. how do we calcualte power in the study and what is the conventional power that is used

A

the ablity to detect an effect that is present based on the sampel size calculation

statistical power - 1-beta i.e. 1-0.20 - 0.80 or 80%

conventionally power is chosen at 80% or 90%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what is an effect size and what effect size is chosen for clinical trials?

A

the smallest difference between the two groups that is regarded as important to be able to detect

the minimum value that would change clinical practice (MCID)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

how do we determine the effect size we want to get?

A

> look to existing studies that have investigated similar primary outcomes

  • results form meta-analyses
  • pilot studies
  • experts, policy makers, patient opinons

mixture of evidence + common sense

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what is the critical value (Zstatistic) for different alpha levels: 0.05 and 0.01

A

two-Tailed Test

α Z

0.20 1.282

0.10 1.645

0.05 1.960

0.010 2.576

17
Q

what is the formula for calculating the sample size for continuous outcome?

A

𝑛(𝑝𝑒𝑟 𝑔𝑟𝑜𝑢𝑝) =2 × 𝑓 (𝛼, 𝛽) × (𝜎2)
/
(𝜇1 − 𝜇2)

18
Q

in the sample size calculation what is f(a, 𝛽)?

A

ALPHA: the multiplier for a certain alpha value for a two-sided test (i.e. the critical value/z score) , then the multiplier for a certain beta value and its corresponding power (i.e. the critical value/z score)

𝑓 (𝛼, 𝛽) = (𝑧α/2 + 𝑧β)2

19
Q

what is the z score for the most common power values used?

A

β=0.80 = 0.84
- beta 0.20, power = 80%
β=0.90 = 1.28
- beta 0.10, power = 90%

20
Q

sampsi 125 140, p(0.7) r(1) sd1(20) sd2(20)

in stata, what is going on here?

A

sample size calcualtion for a study with treatment group mean 125, placebo group mean 140, with 70% power, a 1:1 allocation , sd for the treatment and sd for placebo groups

gives us the sample size needed in each group

21
Q

smple size formula for binary outcome

A

𝑛(𝑝𝑒𝑟 𝑔𝑟𝑜𝑢𝑝) =𝑃1 (1 − 𝑃1) + 𝑃2(1 − 𝑃2)
/
(𝑃1 − 𝑃2)2

then times this by

𝑓(𝛼, 𝛽)

where:
p1 Proportion of individuals with event in group 1
p2 Proportion of individuals with event in group 2
𝑓 𝛼, 𝛽 = (𝑧α/2 + 𝑧β)2

22
Q

. sampsi 0.3 0.2, power(0.8) a(0.05) r(1.0)

whats happening here?

A

sample size calcualteion for binary outcome with set number of porportions in each group

alpha = 0.05, power = 80%
p1 = 0.30 , p2 = 0.20, 0.15, 0.10

23
Q

other considerations for sample size calucaltions: Adjusting for attrition

A

need to take into account n dropping out

divide calculated sample size (N) by 1-Attrition rate

N’ = N / 1-A

example: with N = 100 and an expected frop out rate of 20%

n’ = 100 / (1-0.2) = 125

24
Q

other considerations for sample size calucaltions: Adjusting for multiple comparisons

A

adjusting for multiple comparisons is a statistical technique applied when computing multiple statistical tests. controls the risk of generating a false positive (type 1 error)

if the researchers already decided which groups will be compared e.g., group a and B vs a placebo (A vs P and B vs P) then the sample size calculation will handle this additional test.

Its only when additional tests are included after the trial onset then we need to adjust for multiple comparisons. if another comparison is introduced the type 1 error needs to be adjusted to ensure that the false positive rate isnt inflated

25
Q

how can we adjust for multiple comparisons?

A

use bonferroni correction. This adjusts thte significance level to a/K (k being the number of comparisons)