Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Examples:
1- If the cholesterol level of healthy men is normally distributed with a mean of
180 and a standard deviation of 20, and men with cholesterol levels over 225 are
diagnosed as not healthy, what is the probability of a type one error?
z=(225-180)/20=2.25; the corresponding tail area is .0122, which is the probability
of a type I error .
alternative population is 300 with a standard deviation of 30, in which case one can
calculate the probability of a type II error.
Examples:
1- If men predisposed to heart disease have a mean cholesterol level of 300 with a
standard deviation of 30, but only men with a cholesterol level over 225 are
diagnosed as predisposed to heart disease , what is the probability of a type II error
(the null hypothesis is that a person is not predisposed to heart disease).
z=(225-300)/30=-2.5 which corresponds to a tail area of .0062, which is the
probability of a type II error (*beta*).
2- If men predisposed to heart disease have a mean cholesterol level of 300 with a
standard deviation of 30, above what cholesterol level should you diagnose men as
predisposed to heart disease if you want the probability of a type II error to be 1%?
(The null hypothesis is that a person is not predisposed to heart disease.)
1% in the tail corresponds to a z-score of 2.33 (or -2.33); -2.33 30 = -70; 300 - 70 = 230.
3. Sensitivity + Specificity
Example:
Where is:
a = true positive test
b = false positive test
c = false negative test
d = true negative test
)(
)
)
)(
)
)
4. Probability
Example:
The probability of a person developing diabetes is and it is independent of but the same as
the probability of that same patient developing hypertension. What is the probability of that
patient developing both diabetes and hypertension?
Probability symbol: P[ ]
Let D = diabetes
[ ]
[
[ ] [ ]
,
,
H = hypertension
[ ]
5. Odds Ration
Where
a = Number of exposed cases
b = Number of exposed non-cases
c = Number of unexposed cases
d = Number of unexposed non-cases
Example
I often think food poisoning is a good scenario to consider when interpreting
ORs: Imagine a group of 20 friends went out to the pub the next day a 7 were
ill. They suspect that it may have been something they ate, maybe the fish
casserole here are the numbers:
Cases (ill)
5
2
7
Total
8
12
20
6. Chi-square
Here,
O = Observed frequency
E = Expected frequency
= Summation
= Chi Square value
Question 1: Calculate the chi-square value, if observed frequency is 8 and expected
frequency is 15?
Solution:
Observed frequency = 8
Expected frequency = 15
Observed frequency 12
16
20
Expected frequency 16
25
Solution:
Lets find the Chi Square value for the given data using the formula :
)
(
(
)
)
(
)
(
)
(
)
(
)
(
7. T-test
Where,
Question 1: Find the t-test value for the following two sets of values:
7, 2, 9, 8 and 1, 2, 3, 4?
Solution:
Formula for mean:
= 6.5
Construct the following table for standard deviation:
x1
7
2
9
8
0.5
-4.5
2.5
1.5
)
0.25
20.25
6.25
2.25
) = 29
= 2.5
)
2.25
0.25
0.25
2.25
) =5
8. Z-test
Where,
x = Standardized random variable
Where,
= Population standard deviation
= Numbers given in the data
Solution:
Standardized random variable x = 3000
Mean = 5000
Population standard deviation
= 850
= - 2.353
Solution:
Standardized random variable x = 80
Mean = 62
Population standard deviation
= 20
= 0.9
Example:
Flip a coin three times and let X be the random variable of the number of heads. This
has probability distribution of 1/8 for X = 0, 3/8 for X = 1, 3/8 for X = 2, 1/8 for X =
3. Use the expected value formula to obtain:
E(X) = (1/8)0 + (3/8)1 + (3/8)2 + (1/8)3 = 12/8 = 1.5
10.standard deviation
The sample standard deviation formula is:
where,
s = sample standard deviation
= sum of...
= sample mean
n = number of scores in sample.
where,
= population standard deviation
= sum of...
= population mean
n = number of scores in sample.