• We are pleased to announce that the winner of our Feedback Prize Draw for the Winter 2024-25 session and winning £150 of gift vouchers is Zhao Liang Tay. Congratulations to Zhao Liang. If you fancy winning £150 worth of gift vouchers (from a major UK store) for the Summer 2025 exam sitting for just a few minutes of your time throughout the session, please see our website at https://www.acted.co.uk/further-info.html?pat=feedback#feedback-prize for more information on how you can make sure your name is included in the draw at the end of the session.
  • Please be advised that the SP1, SP5 and SP7 X1 deadline is the 14th July and not the 17th June as first stated. Please accept out apologies for any confusion caused.

CS1 Ch13 Q13.7

D

dannyp123

Member
Hi,

Can someone give me some advice of Q13.7 Ch13?

Part (ii) - as n1,n2,n3,n4,n5 toys have been found I had assumed that this was a neg bin type 1 distribution with k=1,2,3,4,5 respectively. Ie:
prob(first success is n1) x prob(second success is n2) x ... x prob(5th success is n5).

This gives a posterior beta dist with alpha = 16 and beta = SUM(ni) - 14. (i think!)

However the answer is actually given as alpha = 6 and beta = SUM(ni) - 4. Because, i ASSUME, it is treating each individual ni as geometric distribution probabilities, ie. each n1, n2,n3,n4,n5 are individual "first successes". Why is this? Or rather, how can I know the question wants me to do this rather than the neg bin type 1 approach? Any guidance on this would be appreciated, as it seems quite tricky to discern between the two.

many thanks in advance!
 
I believe you get the same answer using negative binomial - although I think you are double counting. We can't take our "experiments" as selecting n1 then n1+n2 boxes then n1+n2+n3 etc. You are double (or more than double!) counting the early observed data. I think you get the same answer by using negative binomial on our one "experiment" with k=5 on the overall data set.
 
Back
Top