Washington State University Lecture 26 Bayesian theory Outline Concept development for genomic selection Bayesian theorem Bayesian transformation Bayesian likelihood Bayesian alphabet for genomic selection ID: 759749
Download Presentation The PPT/PDF document "Statistical Genomics Zhiwu Zhang" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Statistical Genomics
Zhiwu Zhang
Washington State University
Lecture 26: Bayesian theory
Slide2Outline
Concept development for genomic selection
Bayesian theorem
Bayesian transformation
Bayesian likelihood
Bayesian alphabet for genomic selection
Slide3All SNPs have same distribution
y=x1g1 + x2g2 + … + xpgp + e
~N(0,
g
i
~N
(0, I σg2)
U
K
σ
a
2
)
rrBLUP
gBLUP
Slide4Selection of priors
Distributions of
g
i
LSE
solve LL solely
Flat
Identical normal
RR
solve REML by EMMA
σ
g
2
Slide5More realistic
y=x1g1 + x2g2 + … + xpgp + e
N(0, I σ
g1
2
)
N(0, I σgp2)
N(0, I σg22)
…
Out of control and overfitting?
Slide6Need help from Thomas Bayes
"An Essay towards solving a Problem in the Doctrine of Chances" which was read to the Royal Society in 1763 after Bayes' death by Richard Price
Slide7An example from middle school
A school by 60% boys and 40% girls. All boy wear pants. Half girls wear pants and half wear skirt.
What is the probability to meet a student with pants?
P(Pants)=60%*100+40%50%=80%
Slide8Probability
P(pants)=60%*100+40%50%=80%
P(Boy)*P(Pants | Boy) + P(Girl)*P(Pants | Girl)
Slide9Inverse question
A school by 60% boys and 40% girls. All boy wear pants. Half girls wear pants and half wear skirt.
Meet a student with pants. What is the probability the student is a boy?
60%*100+40%50%
60%*100%
= 75%
P(Boy | Pants)
Slide10P(Boy|Pants)
P(Pants | Boy) P(Boy) + P(Pants | Girl) P(Girl)
60%*100+40%50%
60%*100
= 75%
P(Pants | Boy) P(Boy)
P(Pants)
P(Pants | Boy) P(Boy)
Slide11Bayesian theorem
P(Boy|Pants)P(Pants)=P(Pants|Boy)P(Boy)
y(data)
q(parameters)
X
Constant
Slide12Bayesian transformation
P(Boy | Pants)
P(Pants | Boy) P(Boy)
y(data)
q(parameters)
Likelihood of data given parameters
P(y|q)
Distribution of parameters (prior)P(q)
P(q | y)
Posterior distribution of q given y
Slide13Bayesian for hard problem
A public school containing 60% males and 40% females. What is the probability to draw four males? -- Probability (0.6^4=12.96%)
Four males were draw from a
public
school. What are the male proportion? --
Inverse probability (?)
Slide14Prior knowledge
U
nsure
Reject
100% male
Gender distribution
100% female
unlikely
Likely
Safe
Four males were draw from a
public
school. What is the male proportion? --
Inverse probability (?)
Slide15P(G|y)
Probability of unknown given data(hard to solve)
Probability of observed given unknown(easy to solve)
Prior knowledge of unknown(freedom)
P(
y|G
)
P(G)
Transform hard problem to easy one
Slide16P(y|G)
p=seq(0, 1, .01)n=4k=npyp=dbinom(k,n,p)theMax=pyp==max(pyp)pMax=p[theMax]plot(p,pyp,type="b",main=paste("Data=", pMax,sep=""))
Probability of having 4 males given male proportion
Slide17P(G)
ps=p*10-5pd=dnorm(ps)theMax=pd==max(pd)pMax=p[theMax]plot(p,pd,type="b",main=paste("Prior=", pMax,sep=""))
Probability of male proportion
Slide18P(y|G) P(G)
ppy=pd*pyptheMax=ppy==max(ppy)pMax=p[theMax]plot(p,ppy,type="b",main=paste("Optimum=", pMax,sep=""))
Probability of male proportion given 4 males drawn
Slide19Depend what you believe
Male=Female
More Male
Slide20Ten are all males
Male=Female
More Male
Much more male
vs. 57%
Slide21Bayesian likelihood
P(Boy | Pants)
P(Pants | Boy) P(Boy)
y(data)
q(parameters)
Likelihood of data given parameters
P(y|q)
Distribution of parameters (prior)P(q)
P(q | y)
Posterior distribution of q given y
Slide22Highlight
Concept development for genomic selection
Bayesian theorem
Bayesian transformation
Bayesian likelihood
Bayesian alphabet for genomic selection