Biostats Midterm II Review
1. Normal Distribution
a. Empirical Rule
X is a normal random variable with mean () and SD (), then:
68% » 1 SD of the mean ( )
95% » 2 SD of the mean ( )
99.7% » 3 SD of the mean ()
c. Calculating probabilities and percentiles
Probabilities: Z-Score to determine the area from a CDF table, then adjust based on left-sided, right-sided (1-CDF value), or between (AreaA - AreaB)
Percentiles: , find Z-Score, convert Z-Score to Raw Score:
d. Central Limit Theorem for the sampling distribution of the sample mean
Concepts:
Law of large numbers (sample size n is large enough)
Repeated sampling
Law of Averages (n increases » closer to truth)
Summary
Universal Rule: if population is not normal
Under 30 is okay if assuming normality
2. Confidence Intervals for means, proportions, and variances
Confidence level:
Lower Critical Value:
Upper Critical Value:
Common Lvls of Confidence
90% » 1.645
95% » 1.960
99% » 2.576
2 Means
»
0 in interval » two means may be the same
Pop. Variances: or
1 Variance
X² (Chi-Square):
df = ~
2 Variances (F Test)
if CI equals 1
3. Hypothesis Testing Concepts
a. Types I and II error
Type I: » wrongly reject
Type II: » wrongly accept
b. Null and alternative hypotheses
= chance alone, assumed to be true
= contradiction to
left-sided:
right-sided:
two-sided:
d. P-values
probability of obtaining a result at least as extreme as the observed result from the data if the was true
e. When to reject or not reject the null hypothesis
reject: when p <
fail to reject: when p >
4. Significance Tests:
a. T-test: one or two population mean(s), and paired data (pre vs post)
One Population:
assumptions: normal, continuous, randomly sampled
Two Populations
assumptions: independent, randomly sampled, normal
variances:
homogeneity » independent (pooled)
heterogeneity » Welch’s
Paired Data
assumptions: not independent
< 0 » increasing effect
> 0 » decreasing effect
» no effect
b. Nonparametric tests (Wilcoxon or Mann-Whitney): one or two population median(s), and paired data (pre vs post)
Wilcoxon
signed-rank
one sample and paired test
assumptions: random and continuous
Mann-Whitney
rank-sum
two sample
d = x1 - x2
assumptions: independent, random and continuous, differ by means (if they differ at all)
c. Shapiro Wilk test for normality (useful for small n)
: do not deviate from normality
p » conclude data do not deviate from normality
d. F Test for comparing two variances to determine if they are significantly different.
:
e. Z-Test for one and two population proportions
one prop
two prop
f. Chi-squared test for K proportions
more likely to accept when O ~ E
likely to reject when » infinity
assumptions: E
never want E < 1
is okay
5. Statistical Power
a. Definition, interpretation, and purpose of power
Definition: detecting something when there really is something ( )
80% minimum
Interpretation: probability that a statistical test will correctly detect an effect if there is one to be found
b. Power analysis for a t-test
power: 80%
sample size: n » what we want
effect size (cohen’s d): estimated standardized difference
cohen’s d: »
<0.2: negligble
0.2: small
0.5: medium
>0.8: large
alpha: 5%