[問題] 一題計算事後機率的貝式估計

看板Statistics作者 (脫脂牛奶)時間19年前 (2007/03/05 20:47), 編輯推噓5(506)
留言11則, 3人參與, 最新討論串1/1
Let Y be the sum of the observations of a random sample from a Poisson distribution with mean θ. Let the prior p.d.f. of θ be a gamma one with parameters α and β. (a) Find the posterior p.d.f. of θ, given Y = y. (b), (c)題目不打,因為我應該會算。 我的做法如下: Let Y = X_1 + X_2 + ... + X_n, where X_i ~ Poisson(θ). 1 h(θ) = ------------- θ^(α-1)﹒e^(-θ/β) Γ(α)β^α E(Y) = E(X_1 + X_2 + ... + X_n) = nθ Var(Y) = Var(X_1 + X_2 + ... + X_n) = nθ ∴ Y ~ Poisson(nθ) (nθ)^y﹒e^(-nθ) => g(y|θ) = -------------------- y! k(θ|y) £ g(y|θ)h(θ) ( £符號表成正比 ) (nθ)^y﹒e^(-nθ) θ^(α-1)﹒e^(-θ/β) = -------------------﹒----------------------- y! Γ(α)β^α k(θ|y) £ θ^(α+y-1)﹒e^[-θ(n + 1/β)] Thus the posterior p.d.f. of θ is gamma with parameters α+y and 1/(n+1/β). PS:請問我整題這樣寫對不對? 還有,從黃色推到綠色的部份對不對? 是不是找到隨機變數的mean和variance後,它的分配就確定了? 所以我找到Y的mean和variance都是一樣的,因此Y~Poisson(nθ)。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.203.242.21

03/05 20:53, , 1F
你已經用 prior p.d.f. 與 likelihood 導出 posterior p.d.f
03/05 20:53, 1F

03/05 20:53, , 2F
何必管甚麼 mean=variance 與否?
03/05 20:53, 2F

03/05 20:54, , 3F
雖然 Poisson 的 mean=variance, 但那並非充要條件.
03/05 20:54, 3F

03/05 21:00, , 4F
只能說強 ^^
03/05 21:00, 4F

03/05 21:35, , 5F
我是用Y~Poisson(nθ)寫出g(y|θ)的
03/05 21:35, 5F

03/05 21:37, , 6F
知道Y~Poisson(nθ)是因為我的黃色部分
03/05 21:37, 6F

03/05 21:38, , 7F
但h大又說μ=σ^2與Poisson分配並非互為充要條件
03/05 21:38, 7F

03/05 21:41, , 8F
請告訴我如何用正確的過程算出g(y|θ)
03/05 21:41, 8F

03/05 21:43, , 9F
Poisson 分布具所謂 "再生性". 這應是基本練習.
03/05 21:43, 9F

03/05 21:45, , 10F
我有看教本(Hogg&Tanis),但沒看到什麼Poisson的再生性
03/05 21:45, 10F

03/05 21:46, , 11F
請問是我眼花沒看到,還是哪本書上有呢?謝謝。
03/05 21:46, 11F
文章代碼(AID): #15x15OwC (Statistics)