Академический Документы
Профессиональный Документы
Культура Документы
Median = middle value in an ordered list of data (where the list contains an
even number of observations, the median is the average of the two central
observations)
Measure of Dispersion
Inter-Quartile Range = difference between 1st and 3rd quartile (ignores 1st and
last quarters)
Variance = measures spread using all data = calculate difference between
each value, square them, then add them up.
SEm = SD / √n
Skew = values are clustered on one side and sparse on the other.
p-value
• = probability of a result occurring by chance if null hypothesis is true
lower the p-value, the lower the change the observation occurred by chance
(i.e. the null hypothesis is unlikely)
p-value >0.05 = null hypothesis is not accepted as true, but merely not
rejected
Error
Type 1 error = false positive = seeing a difference where there isn’t one
Type 2 error = false negative = not seeing a difference where there is one
Type 1 = Now you see it Type 2 = Now you don’t
Reduce error by
• Randomization (reduces selection bias) = equal chance of being in
either group
• Blinding (reduces measurement bias)
o Single blinded = subject doesn’t know what group they are in
o Double blinded – subject and observer don’t know what group
the subject is in
• Adequate sample size reduces error (ideal sample size can be
calculated by power analysis)
= calculating p-values
Non-normal distribution
Nominal = Chi-squared
• compares observed values (seen in sample) and expected values
(calculated by extrapolating known data from a population to the
population study)
• Calculated by doing the following
o For each observed number subtract the corresponding expected
number (O - E)
o Then Square that (O – E)2
o Then Divide that by the corresponding expected number
[(O-E)2/E]
o Repeat this for every cell
o Add all the individual values for [(O-E)2/E] together = this is the
chi-square statistic for the table
• In order to analyse the result you will need
o A pre-determined level of significance – usually 0.05
o The degrees of freedom (df) for the data (= number in the
sample minus the number of restrictions)
E.g. if you have 4 numbers with the restriction they must
add up to 50. Then the first 3 numbers can be anything,
e.g. 5, 10 and 15. Therefore the fourth number must be
20 (in order to make 50)
Therefore the degrees of freedom = (4-1) = 3
• Having calculated these, the Chi-squared value is applied to a Chi-
squared distribution table.
• If your calculated Chi-squared corresponds to a p-value of 0.05 or less
then the null hypothesis can be rejected.
Sample A = 7; 3; 6; 2; 4; 3; 5; 5
Sample B = 3; 5; 6; 4; 6; 5; 7; 5
A A A B A B A A B B B A B B A B
2 3 3 3 4 4 5 5 5 5 5 6 6 6 7 7
3. Look at each B in turn, count the number of A’s preceding each one.
Add up the total to get a U value
U= 3+4+6+6+6+7+7+8 = 47
U= 0+0+0+1+2+2+5+7 = 17
General Definitions
Sensitivity
• Probability of diagnosing a true positive
Specificity
• Probability of diagnosing a true negative
Risk
• Ratio of events occurring in a study group to the total number of events
across all groups
Relative Risk
• Ratio of risk in treatment group to risk in control group
• = risk in treatment / risk in control
Odds
• ratio of probability of an event occurring to probability of it not occurring
Odds ratio
• ratio of the odds of an event occurring in one group to the odds of it
occurring in another group