CS4LL5 Assignment 1 Solved

35.00 $

Category:

Description

Rate this product

 the questions:

  1. Consider the following equations (alternative conditions for independence)
    1. (i)  P (A ∧ B) = P (A) × P (B)
    2. (ii)  P (A|B) = P (A)

    show that (i) implies (ii), and also that (ii) implies (i)

  2. Suppose Harry Potter plays for the Gryffindor team, and suppose he ‘often’ catches the so-called Golden Snitch, and also that ‘often’ Gryffindor win. Suppose the numbers actually are as follows

gw ¬gw
ps 28 2 ps means ‘Harry Potter caught the Golden Snitch’

¬ps 140 30 gw means ‘Gryffindor won’

3.

(a) (b)

CalculateP(gw|ps),theconditionalprobthatGryffindorwongiventhatHarryPottercaught the Golden Snitch and also indicate which counts are irrelevant to this calculation

Calculate P (ps | gw), the conditional prob that Harry Potter caught the Golden Snitch given that Gryffindor won and also indicate which counts are irrelevant to this calculation

A sound clip from YouTube may or may not have been produced by Victor Meldrew. A clip may or may not contain the phrase ‘I don’t believe it’.
You hear a clip coming from YouTube containing the phrase ‘I don’t believe it’ and want to work out the probability that the speaker was Victor Meldrew.

Formalize with 2 discrete variables

1

  • discrete Speaker, values in {‘Victor Meldrew’, ‘Other’}
  • discrete DBI, values in {true, false}, for whether a sound clip contains the phrase ‘I don’t

    believe it’
    Let vmel stand for Speaker = ‘Victor Meldrew’, dbi stands for DBI = true

    1. (a)  Workoutwhichofvmelor¬vmelislikelier,givendbi,supposingtheprobabilitiesp(vmel)= 0.01, p(dbi|vmel) = 0.95, p(dbi|¬vmel) = 0.01
    2. (b)  Do the same assuming p(vmel) = 0.15, p(dbi|vmel) = 0.95, p(dbi|¬vmel) = 0.01
    3. (c)  Do the same assuming p(vmel) = 0.01, p(dbi|vmel) = 0.95, p(dbi|¬vmel) = 0.001

4. Consider someone who lives in a basement flat. Sometimes it is quite noisy in the flat, and some- times not. Sometimes it is rather cool in the flat, and sometimes not. Let noisy be a variable indicating whether it is rather noisy or not, on a given day, and let cool be a variable indicating whether it is rather cool or not.

Consider the frequency table

cool:− 38 find p(cool : +) and p(cool : +|noisy : +)

noisy : + cool:+ 62

noisy : − (1) 108
292

and conclude from this whether or not cool : + is independent of noisy : +

5. Unknown to the occupant of the flat there is ventilator fixture in the wall which can be opened and shut to let air from the street outside in, or keep it out. Unknown to the occupant a pet cat plays about with this at night-time, sometimes leaving it open and sometimes leaving it shut. The table (1) concerns 500 days. The two tables below split these into a group of 100 days where the cat has left the ventilator open (2), and 400 days where the cat has left it shut (3)

open:+ noisy:+
cool : + 54 36 cool:− 6 4

noisy:− (2)

open:− noisy:+ cool:+ 8 72 cool : − 32 288

noisy:− (3)

With reference to the table (2), find p(cool : +|open : +) and p(cool : +|open : +, noisy : +) and conclude from this whether or not cool : + is conditionally independent of noisy : + given open : +.

With reference to the table (3), find p(cool : +|open : −) and p(cool : +|open : −, noisy : +) and conclude from this whether or not cool : + is conditionally independent of noisy : + given open : −

  • Assignment_1-ui9j5l.zip