A study is performed by a company, called SWVic, to understand the relationship
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

A study is performed by a company, called SWVic, to understand the relationship

Q2) A study is performed by a company, called SWVic, to understand the relationship between the safety factors and the number of accidents in works involve electrical and mechanical installations. A list of factors that influence the safety along with their possible values, and a Bayesian network that represents the relationship between these factors (variables) are given below.

N (Number of Accidents) ∈ {Low, High}

E (Work experience) ∈ {Long, Medium, short}

S (Smoking habit) ∈ {Smoking, Not-smoking}

D (Drinking habit) ∈{Drinking, Not-drinking}

A (Safety Attitude) ∈ {Good, Average, Poor}

W (Workmate Influence) ∈ { Positive, Neutral, Negative}

M (Management Commitment) ∈ {Very-high, High, Average, Low, Very-low}

R (Safety resources) ∈ {Good, Average, Poor}


2.1) Write down the joint distribution ????????(W, E, S, M, A,D, R,N) for the above network.

2.2) Find the minimum number of parameters required to fully specify the distribution according to the above network.

2.3)

a) Write down a joint probability density function if there are no independence among the variables is assumed.

b) How many parameters are required, at a minimum, if there are no independencies among the variables is assumed?

c) Compare with the result of the above question (Q2.2) and comment.

2.4) From a previous study, the company SWVic has found out that the Safety Attitude (A) is conditionally independent of Workmate Influence (W), given the Work experience (E). The company wants to modify the Bayesian network given in Figure 1 by incorporating this new information. Assume now that Safety Attitude (A) is conditionally independent of Workmate Influence (W), given the Work experience (E), perform the following.

a) What change will happen to the Bayesian network (shown in Figure 1) when the above assumption is considered. Draw the new Bayesian network considering the above assumption (you may draw this by hand).

b) Compute the change in the minimum number of parameters required for this new Bayesian network, compared to the minimum number of parameters required for the Bayesian network shown in Figure 1. Comment on the results.

2.5) d-separation method can be used to find two sets of independent or conditionally independent variables in a Bayesian network. Use the Bayesian network given in Figure 1 to answer the following:

For each of the statements/questions given below from (a) to (b), perform the following:

• List all the possible paths from the first (set of) node/s to the second (set of) node/s considered for the independence check.

• State if each of those paths is blocking or non-blocking with reasons.

• Hence, answer the question about independence.

a) Is Number of Accidents (N) conditionally independent of Workmate Influence (W) given Safety Attitude (A), Smoking habit (S) and Drinking habit (D)?

b) Is E ⊥ M ?

2.6) For the Bayesian network shown in Figure 1, find all the nodes that are conditionally independent of M (Management Commitment) given A (Safety Attitude), D (Drinking habit) and N (Number of Accidents).

2.7) Write a R-Program to produce the Bayesian network shown in Figure 1, and perform the d-separation tests for cases given below. Show the plot of the network you obtained and the output (of d-separation test) from your program.

a) {W, S} ⊥ {E, M} | {D}

b) {A, S} ⊥ M | {W,N}

2.8) For the Bayesian network shown in Figure 1,

a) find the Markov blanket of D (Drinking habit).

b) find all the nodes that are conditionally independent of D (Drinking habit) given its Markov blanket.

c) use R program to find the Markov blanket of Safety Attitude (A).

Plot the Bayesian network and show the Markov blanket nodes in the network using different colour.

2.9) For the Bayesian network shown in Figure 1,

a) show the step by step process to perform variable elimination to compute P(N|E = Long, W = Positive, D = Drinking, R = Poor). Use the following variable ordering for the elimination process: M, S, A.

b) what is the treewidth of the network, given the above elimination ordering?

Hint
Computer"2.1) The joint distribution P(W, E, S, M, A, D, R, N) can be written as follows:P(W, E, S, M, A, D, R, N) = P(N) * P(E) * P(S) * P(D) * P(A) * P(W | E, S, D) * P(M) * P(R | M)Where:P(N) is the probability distribution of Number of Accidents (Low or High).P(E) is the probability distribution of Work experience (Long, Medium, or Short).P(S) is the probability distribution of Smoking habit (...

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.