Professional Documents
Culture Documents
BN2201 1. HipCaseStudy
BN2201 1. HipCaseStudy
BN2201 1. HipCaseStudy
Dr Alberto Corrias
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 1 / 30
The problem of total hip replacement
644
operations in
Primary causes Singapore in
inflammatory arthritis 2015-2016
osteoarthritis
avascular necrosis
hip dysplasia
post-traumatic osteoarthritis ∼131
procedure/100K
population
worldwide
†
Sources:
Liu YEB et al. Singapore Med J. 2009; 50 (1) : 15
Kurtz SM et al. 56th Annual Meeting of the Orthopaedic Research Society. March 6-9, 2010. New Orleans.
Ministry of Health website: https://www.moh.gov.sg/content/moh_web/home/costs_and_financing/
hospital-charges/Total-Hospital-Bills-By-condition-procedure/hip_replacement_surgery.html
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 2 / 30
The problem of total hip replacement
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 3 / 30
The problem of total hip replacement
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 4 / 30
The problem of total hip replacement
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 5 / 30
Fatigue testing of the stem (ISO 7206-4)
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 6 / 30
Our first scenario
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 7 / 30
The data
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 8 / 30
Median and quartiles (q1 , q2 and q3 )
Sorted data In a sorted sample of size n, q1 is the
Stem # Cycles (X 106 ) value at position 0.25(n + 1)† , q3 is the
8 4.8783 value at position 0.75(n + 1)† . q2 is the
9 4.9145 median.
7 5.2254 5.2254+5.2257
q1 = 2
4 5.2257
1 5.5587
2 5.5997 5.5997+5.8256
Median = 2
10 5.8256
11 6.2145
6 6.2361 6.2361+6.5256
q3 = 2
3 6.5256
12 7.2239
5 7.4256
†
If 0.25(n + 1) and 0.75(n + 1) are not integers, then the average of the values
at the two neighbouring positions is calculated
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 9 / 30
Box plot to visualize data
†
This is only one possible way of drawing boxplots. It was chosen because it is the way that Python uses by default.
See https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.boxplot.html under the ”whis” option
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 10 / 30
Our collected data are a sample
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 11 / 30
Follow-up question
σ2
X ∼ N (µ, )
n
Then,
X −µ
σ/√n
∼ N (a, b)
a =?, b =?
Answer: a = 0, b = 1
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 12 / 30
The distribution of the means for small samples
Our 12 stems constitute just one of the many possible samples.
5.9045 − µ
t= √
0.8432/ 12
X√−µ
t= s/ 12 ∼ T (11)
−tcrit 0 tcrit
−tcrit is the value that tcrit is the value that
leaves an area of 0.025 leaves an area of 0.025
(2.5%) to its left (2.5%) to its right
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 13 / 30
Determination of tcrit using tables
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 14 / 30
Computation of the confidence interval for the mean
5.9045−µ
√
0.8432/ 12 ∼ T (11)
−tcrit 0 tcrit
5.9045 − µ
−tcrit < √
0.8432/ 12
< tcrit
Hence
√ √
5.9045 − tcrit 0.8432/ 12 < µ < 5.9045 + tcrit 0.8432/ 12
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 15 / 30
Looking at the Student t distribution
k1 degrees of freedom
k2 degrees of freedom
−6 −3 0 3 6
Do you think k1 > k2 or k2 > k1 or k1 = k2 ?
Answer: k1 > k2 because smaller degrees of freedom means smaller
sample size, greater uncertainty and bigger tail areas. Practically
speaking, the k2 curve will have a bigger tcrit for the same choice of α
and hence larger confidence intervals (more uncertainty).
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 16 / 30
Interpretation
In statistical terms
We are not guaranteed that the true value of µ is between 5.369X 106
and 6.44X 106 . Of all the possible 95% confidence intervals based on
a sample of size 12, 95% will contain the true mean µ. Hence we are
95% confident that the interval we just computed is one of them and
contains the actual mean µ.
How it is reported
Based on the collected data, we are 95% confident that the true
mean of the number of cycles before fracture of the hip prosthetic
stem is between 5.369X 106 and 6.44X 106 cycles.
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 17 / 30
Wear testing of the whole system (ISO 14242-1)
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 18 / 30
Wear in hip prosthetics
†
Sources:
Birkett N et al J Surg Case Rep. 2015 Sep; 2015(9):rjv122.
Nine MdJ et al. Materials 2014, 7(2) 980-1016.
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 19 / 30
The equivalent circular diameter (ECD)
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 20 / 30
Our second scenario
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 21 / 30
Second scenario: CALCULATION QUESTION (3 points)
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 22 / 30
Second scenario: solution
Pn
i=1 Xi
X =
n
s
Particle # Size (µm) Pn
− X )2
i=1 (Xi
1 0.6254 s=
n−1
2 0.5874
In this case, n = 5 and the Xi values are
3 0.3657 the particle sizes.
4 0.9836
5 0.7812 Sample Sample
Mean (X ) standard deviation (s)
0.6687 0.2303
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 23 / 30
Second scenario: solution
0.6687 − µ
−tcrit < √
0.2303/ 5
< tcrit
where
tcrit = 2.776 for the 95% confidence interval
tcrit = 4.604 for the 99% confidence interval
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 24 / 30
The role of s
You collected two samples S1 and S2 of the same size n. You compute
the sample standard deviations (s1 and s2 respectively) and you found
s1 = 2s2 . A1 and A2 are the amplitudes of the confidence intervals
based on the two samples. Which of the following is correct?
1 A1 = 2A2
2 A2 = 2A1
3 A1 = A2
Answer: A2 = 2tα/2 √s2n , A1 = 2tα/2 √s1n = 2tα/2 √
2s2
n
= 2A2 . Hence,
A1 = 2A2
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 25 / 30
Checking assumptions: random independent sampling
Caution!
For small samples, the underlying population must be approximately
normal. We should at least have no reason to suspect non-normality.
†
There is still debate of how small is ”small”.
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 27 / 30
Checking assumptions: underlying population is normal (2)
2 check for outliers using boxplots
Caution!
Confidence intervals may be invalid in the presence of outliers!
Outlier can be
eliminated
yes
†
What actually ”makes a difference” will become clearer after we look at hypothesis testing
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 29 / 30
Lecture Summary
s s
X − tα/2 √ < µ < X + tα/2 √
n n
BN2102 Bioengineering Data Analysis Estimation case study: total hip replacement 30 / 30