条件概率的问题设苹果树上开N朵花是随机事件,且服从概率分布函数P[N=n]=(1-p)p^n,p属于(0,1)区间,又假
来源:学生作业帮 编辑:大师作文网作业帮 分类:英语作业 时间:2024/09/30 22:27:03
条件概率的问题
设苹果树上开N朵花是随机事件,且服从概率分布函数P[N=n]=(1-p)p^n,p属于(0,1)区间,又假设每朵花结果的概率的是a,且各朵花之间结苹果是独立的.
现在树上有r个苹果,请问树上原先有n朵花的概率是多少?
回复nowusing:
我开始的思路基本和你一样,在你的这一步中“P(R=r) = C(N',r)(1-ap)^(N'-r)(ap)^r”,
你是假设N‘是已知的,所以依照你的思路可以解题,但是这是未知的。还有,开花的概率你理解的有一点问题
我再给你描述下英文的原题吧:
The number of flowers N appearing on an apple tree is a random variable,with distribution P[N=n]=(1-p)p^n,for some p属于(0,1).Assume that a flower turns into a fruit with probability a independently from the other flowers on the tree.
Given that tree there is a number r of apples on the tree,what is the probability that originally there were n flowers on it?
设苹果树上开N朵花是随机事件,且服从概率分布函数P[N=n]=(1-p)p^n,p属于(0,1)区间,又假设每朵花结果的概率的是a,且各朵花之间结苹果是独立的.
现在树上有r个苹果,请问树上原先有n朵花的概率是多少?
回复nowusing:
我开始的思路基本和你一样,在你的这一步中“P(R=r) = C(N',r)(1-ap)^(N'-r)(ap)^r”,
你是假设N‘是已知的,所以依照你的思路可以解题,但是这是未知的。还有,开花的概率你理解的有一点问题
我再给你描述下英文的原题吧:
The number of flowers N appearing on an apple tree is a random variable,with distribution P[N=n]=(1-p)p^n,for some p属于(0,1).Assume that a flower turns into a fruit with probability a independently from the other flowers on the tree.
Given that tree there is a number r of apples on the tree,what is the probability that originally there were n flowers on it?
okay.I think I got it this time.
The probability distribution actually makes sense since
P(N=0)+P(N=1)+...=(1-p)(1+p+p^2+p^3+...)=1
N:number of flowers
R:number of apples
By Bayesian rule,P(N=n|R=r) = P(R=r|N=n)*P(N=n) / P(R=r) (1)
P[N=n]= (1-p)p^n (2)
P(R=r|N=n)=C(n,r)a^r (1-a)^(n-r) (3) -there is no unknowns in this equation
Now we only need to solve P(R=r).
Notice that P(R=r) = P(R=r|N=n)*P(N=n) + P(R=r|Nn)*P(Nn) (4) - first term is also known by (2)&(3)
And P(Nn)=1-P(N=n) = 1 - (1-p)p^n (5)
Now we only need to solve P(R=r|Nn).Notice N>=r and n>=r.
P(R=r|Nn) = P(R=r|N=r)+P(R=r|N=r+1)+...+P(R=r|N=n-1)+P(R=r|N=n+1)+ ...
= -P(R=r|N=n)+P(R=r|N=r)+P(R=r|N=r+1)+...
=-C(n,r)a^r (1-a)^(n-r) + [P(R=r|N=r)+P(R=r|N=r+1)+...] (6)
Now we only need to solve P(R=r|N=r)+P(R=r|N=r+1)+...
P(R=r|N=r)+P(R=r|N=r+1)+...=a^r+C(r+1,r)a^r(1-a)+.C(r+2,r)a^r(1-a)^2
=a^r[1+C(r+1,r)(1-a)+C(r+2,r)(1-a)^2+...]
=a^r * [1+(1-a)]^r (7) - using Taylor's expansion to get this
Finally,plug(2)-(7) to (1) would solve the problem.
Hope this helps!
The probability distribution actually makes sense since
P(N=0)+P(N=1)+...=(1-p)(1+p+p^2+p^3+...)=1
N:number of flowers
R:number of apples
By Bayesian rule,P(N=n|R=r) = P(R=r|N=n)*P(N=n) / P(R=r) (1)
P[N=n]= (1-p)p^n (2)
P(R=r|N=n)=C(n,r)a^r (1-a)^(n-r) (3) -there is no unknowns in this equation
Now we only need to solve P(R=r).
Notice that P(R=r) = P(R=r|N=n)*P(N=n) + P(R=r|Nn)*P(Nn) (4) - first term is also known by (2)&(3)
And P(Nn)=1-P(N=n) = 1 - (1-p)p^n (5)
Now we only need to solve P(R=r|Nn).Notice N>=r and n>=r.
P(R=r|Nn) = P(R=r|N=r)+P(R=r|N=r+1)+...+P(R=r|N=n-1)+P(R=r|N=n+1)+ ...
= -P(R=r|N=n)+P(R=r|N=r)+P(R=r|N=r+1)+...
=-C(n,r)a^r (1-a)^(n-r) + [P(R=r|N=r)+P(R=r|N=r+1)+...] (6)
Now we only need to solve P(R=r|N=r)+P(R=r|N=r+1)+...
P(R=r|N=r)+P(R=r|N=r+1)+...=a^r+C(r+1,r)a^r(1-a)+.C(r+2,r)a^r(1-a)^2
=a^r[1+C(r+1,r)(1-a)+C(r+2,r)(1-a)^2+...]
=a^r * [1+(1-a)]^r (7) - using Taylor's expansion to get this
Finally,plug(2)-(7) to (1) would solve the problem.
Hope this helps!
条件概率的问题设苹果树上开N朵花是随机事件,且服从概率分布函数P[N=n]=(1-p)p^n,p属于(0,1)区间,又假
设随机变量X与Y相互独立,且X服从标准正态分布N(0,1),Y的概率分布为P{Y=0}=P{Y=1}=12,记Fz(z)
设随机变量X与Y相互独立,且X服从标准正态分布N(0,1),Y的概率分布为P(X=0)=P(X=1)=12
设随机变量XY相互独立,且均服从正太分布N(0,1)则概率P(XY>0)为多少
设离散型随机变量X的概率分布为P(X=x)=P^x,x=1,2,3,...,n...;求P
设X与Y为独立同分布的离散型随机变量,其概率分布列为P(X=n)=P(Y=n)=(1/2)^n,n=1,2,...,求X
概率高手请进设随机变量X服从正态分布N~(0,1),Y服从正态分布N~(1,4),且相关系数=1则:答案P{Y=2X+1
大一概率统计问题设A,B,C是三个随机事件,且P(A)=P(B)=P(C)=1/4,P(AB)=P(CB)=0,P(AC
2 .设随机变量y服从标准正态分布N(0,1),令求()的联合概率P{X1=0,X2=0}()
一个概率标准差的问题设实验服从二项分布,实验中事件A发生的概率是P,那么假设在n次试验中发生X次A事件,那么x/n的标准
概率统计学.设两个相互独立的随机变量X和Y分别服从正态分布N(0,1)和N(1,1)则.A,P{X+Y
设随机变量x,y相互独立 都服从N(0,1) 计算概率P(X^2+Y^2