Introduction Biostat
Introduction Biostat
01)
Professor Zewei Luo
Dr Chenqi Lu
Telephone: 021-55665269
E-mail: [email protected]
[email protected]
Office: 2309 Guanghua east Building
Major Teaching Components
• Course lectures
• Inter-course tests
• Final examination
Reference
• Text: An Introduction to Biostatistics
Thomas Glover & Kevin Mitchell
Copyright © 2002 Waveland Press
• Reference Books
(1) Mather, K. (1973). Statistical Analysis in Biology
Chapman & Hall.
(2) Elandt-Johnson, R. C. (1971). Probability Models and
Statistical Genetics John Wiley & Sons.
Chapter 1. Introduction to Data Analysis
• Formulation of a hypothesis
• Making a Prediction
Statistics -- The subject which helps design and interpret
experiments properly
• collection
• manipulation
• summarization
Parameters Statistics
Average over all the sample means gives a mean of 5, the population mean
X xd ( n1)/ 2 x8 38 cm
(3) Mode – the most frequent occurring observation in a data set
In the above example, the mode = 29 cm
• Data Types Measure of Central Tendency
1. Quantitative variables 1. Mean
(a). Continuous variables
(b). Discrete variables
2. Ranked (ordinal) variables 2. Median
informative
1 n
s xi x
2 2
Sample variance
n 1 i 1
n
It is easy to show that x x 0
i 1
i and
1 n
1 n
n
2
s xi x xi xi / n
2 2 2
n 1 i 1 n 1 i 1 i 1
(3) Standard deviation (s.d.)
Population s.d. () and Sample s.d. (s)
c
fi xi 857
X i 1
1.1 plants/quadrat
c
f 800
i 1 i
n 1 799
§ 1.6. Quartile and Box Plots
A group of n observations (data points) are in an ascending order:
x1 , x2 , , Q1 , , Q2 , , Q3 , , xn 1 , xn
X
Q3
X
Q1
f ( x) 1
all x
Uniformity in the probability across all possible values the r.v. X may
take! This distribution is also referred as to uniform distribution.
E X x1 xf ( x) (1 2
6
In example 3.1. 6) / 6 3.5
In example 3.2. E X
12
i 2
xf ( x) (1 2 2 3 112) / 36 7
In general, if H(X) is a function of r.v. X with probability distribution f ( x, )
then
E H ( X ) H ( x) f ( x)
all x
example 3.1 X1 ,
examples 3.2 X1 +X2 (X1 i.i.d. X2 )
and example 3.3. 2 X1,
E ( X 1 X 2 ) E ( X 1 ) E ( X 2 ) 2 E ( X 1 ) 2 3.5 7
E (2 X 1 ) 2 E ( X 1 ) 2 3.5 7
In the infinite die rolling experiment, we explore variation of the
outcomes.
Var ( X ) 2 ( xi )2 1/ N ( xi )2 f ( xi )
E ( X i ) 2 E ( X 2 ) 2 E ( X 2 ) E ( X )
2
n x
f ( x) P X x P i 1 X i x p (1 p)n x
n
x
It will be easy to demonstrate that
E( X ) E i 1 X i i 1 E ( X i ) i 1 p np
n n n
It is important to notice that a binomial r.v. is sum of outcomes of a
series of independent 0-1 trial.
F ( x) 0 for any x
• For Example:
A rare species could be distributed at random
over a site (independent) or clumped in certain
areas (non-independent).
Possible distributions.
Random
Clumped
Uniform
Effect of on Poisson distribution
0.7
0.3 0.3
Probability
0.5
0.2 0.2
0.3
0.1 0.1
0.1
0 1 2 3 0 2 4 6 0 2 4 6 8 10
x x x
B(20,0.05)
P(1.0)
§ 3.4. Normal Distribution
A r.v. X follows a distribution with pdf defined as
1 ( x )2 / 2 2
f ( x) e
2 2
x
(c) P X x F ( x) f ( y )dy
(d) E ( X ) and Var ( X ) 2
The distribution is fully characterized by the two parameters and
2
P X f ( x)dx 68%
2
P 2 X 2 f ( x)dx 95%
2
3
P 3 X 3 f ( x)dx 99%
3
Discrete =Probability 1 f ( x)
Normal approximation to Binomial distribution
A r.v. X ~ B(n,p) has mean = np and variance 2 = np(1-p). If np(1-p)
> 3, then X ~ N( , 2)
0.1201
0.1196