Order for this Paper or similar Assignment Help Service

Fill the order form in 3 easy steps - Less than 5 mins.

Posted: July 7th, 2022

Problem 1: Descendants of Effects

Problem 1: Descendants of Effects
We will investigate the absence of conditional independence guarantees between two random variables when an arbitrary descendant of a common effect is observed. We will consider the simple
case of a causal chain of descendants:
Suppose that all random variables are binary. The marginal distributions of A and B are both
uniform (0.5, 0.5), and the CPTs of the common effect D0 and its descendants are as follows:
A B Pr(+d0 | A, B)
+a +b 1.0
+a −b 0.5
−a +b 0.5
−a −b 0.0
Di−1 Pr(+di
| Di−1)
+di−1 1.0
−di−1 0.0
(a) Give an analytical expression for the joint distribution Pr(D0, D1, · · · , Dn). Your expression
should only contain CPTs from the Bayes net parameters. What is the size of the full joint
distribution, and how many entries are nonzero?
(b) Suppose we observe Dn = +dn. Numerically compute the CPT Pr(+dn|D0). Please show how
you can solve for it using the joint distribution in (a), even if you do not actually use it.
(c) Let’s turn our attention to A and B. Give a minimal analytical expression for Pr(A, B, D0, +dn).
Your expression should only contain CPTs from the Bayes net parameters or the CPT you found
in part (b) above.
(d) Lastly, compute Pr(A, B | +dn). Show that A and B are not independent conditioned on Dn.
Problem 2: Bayes Net 1
The following Bayes net is the “Fire Alarm Belief Network” from the Sample Problems of the Belief
and Decision Networks tool on AIspace. All variables are binary.
(a) Which pair(s) of nodes are guaranteed to be independent given no observations in the Bayes
net? Now suppose Alarm is observed. Identify and briefly explain the nodes whose conditional
independence guarantees, given Alarm, are different from their independence guarantees, given
no observations.
(b) We are interested in computing the conditional distribution Pr(Smoke | report). Give an
analytical expression in terms of the Bayes net CPTs that computes this distribution (or its
unnormalized version). What is the maximum size of the resultant table if all marginalization
is done at the end?
(c) We employ variable elimination to solve for the Question Assignment above. Identify a variable ordering that i)
yields the greatest number of operations possible, and ii) yields the fewest number of operations
possible. Also give the max table sizes in each case.
(d) Following your second variable ordering above, numerically solve for Pr(Smoke | report) using
the default parameters in the applet example. You may check your answer using the applet,
but you should work it out yourself and show your work.
2
(a) We can describe all guaranteed independences in the Bayes net by defining two or more subsets
of nodes Si
, such that all nodes in Si are independent of all nodes in Sj for i ̸= j. For
example, we can define S1 = {Smokes} and S2 = {Influenza, Sore Throat, Fever} given no
observations. Do the same for conditionally independent nodes i) given Influenza, ii) given
Bronchitis, and iii) given both Influenza and Bronchitis. Make sure your answers capture all
guaranteed independences.
(b) Consider using likelihood weighting to solve two queries, one in which Influenza and Smokes
are observed, and one in which Coughing and Wheezing are observed. Explain how the two
cases differ in the distribution of the resulting samples, as well as the weights that are applied
to the samples.
(c) We perform Gibbs sampling and would like to resample the Influenza variable conditioned on
the current sample (+s, +st, −f, −b, +c, −w). Give a minimal analytical expression for the
sampling distribution Pr(Influenza | sample) (or its unnormalized form). What is the maximum
size of the table that has to be constructed?
(d) Numerically solve for the sampling distribution Pr(Influenza | sample) using the default parameters in the applet example. You may check your answer using the applet, but you should
work it out yourself and show your work.
Problem 3: Bayes Net 2
The following Bayes net is the “Simple Diagnostic Example” from the Sample Problems of the
Belief and Decision Networks tool on AIspace. All variables are binary.

——–

Problem 1: Effects’ Descendants
When an arbitrary descendent of a common effect is seen, we will look into the lack of conditional independence guarantees between two random variables. We’ll look at a simple example.

The following is an example of a causal chain of descendants:

Assume that all random variables are of the binary type. A and B’s marginal distributions are identical.

The CPTs of the common effect D0 and its descendants are as follows: uniform (0.5, 0.5), and the CPTs of the common effect D0 and its descendants are as follows:

Pr(+d0 | A, B) A B

1.0 +a +b

+a b 0.5+a b 0.5+a b 0.5+a

a + b = 0.5

−a −b 0.0

Di−1 Pr(+di

| Di−1)

+di−1 1.0

−di−1 0.0

(a) Give an analytical expression for the joint distribution Pr(D0, D1, · · · , Dn). Your expression

should only contain CPTs from the Bayes net parameters. What is the size of

Order | Check Discount

Tags: best master thesis writing service, best thesis writing services, cheap thesis writing services, master thesis help, master thesis writing service, online thesis writing services

Assignment Help For You!

Special Offer! Get 20-30% Off on Every Order!

Why Seek Our Custom Writing Services

Every Student Wants Quality and That’s What We Deliver

Graduate Essay Writers

Only the finest writers are selected to be a part of our team, with each possessing specialized knowledge in specific subjects and a background in academic writing..

Affordable Prices

We balance affordability with exceptional writing standards by offering student-friendly prices that are competitive and reasonable compared to other writing services.

100% Plagiarism-Free

We write all our papers from scratch thus 0% similarity index. We scan every final draft before submitting it to a customer.

How it works

When you opt to place an order with Nursing StudyBay, here is what happens:

Fill the Order Form

You will complete our order form, filling in all of the fields and giving us as much instructions detail as possible.

Assignment of Writer

We assess your order and pair it with a custom writer who possesses the specific qualifications for that subject. They then start the research/write from scratch.

Order in Progress and Delivery

You and the assigned writer have direct communication throughout the process. Upon receiving the final draft, you can either approve it or request revisions.

Giving us Feedback (and other options)

We seek to understand your experience. You can also peruse testimonials from other clients. From several options, you can select your preferred writer.

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00