ct6 sept 11 q2

Discussion in 'CS1' started by Molly, Apr 19, 2023.

  1. Molly

    Molly Ton up Member

    Hi everyone,

    am really confused by this question - why is the solutions doing int(1,0.5)f(x)Pr(X=7|p=x) for the uniform prior? also even when following the solutions i dont understand where the 0.4 comes from, i would have thought f(x) was 1/1-0/5=2 and P(X=7|p=x) was 8x^7 (1-x)
    so
    int(1,0.5)16x^7(1-x), where am i going wrong?

    thank you
     
  2. Andrea Goude

    Andrea Goude ActEd Tutor Staff Member

    the 0.4 incorporates the 20% probability, 0.2*2
     
    Molly likes this.
  3. Molly

    Molly Ton up Member

    ah, i see, thats a tricky one, thank you :)
     

Share This Page