Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Consider the cad1 data set in the package gRbase. There are 236 observations on fourteen variables from the Danish Heart Clinic. Suppose that a structural

image text in transcribed

Consider the "cad1" data set in the package gRbase. There are 236 observations on fourteen variables from the Danish Heart Clinic. Suppose that a structural learning algorithm, together with prior knowledge, has identified the following network as "optimal". Coronary Artery Disease [sex] Sex Smoker SuffHearth Inherit Hyper chol CAD a) Construct the above network in R, and infer the Conditional Probability Tables (local distributions) from the data. **Hint-look into the function "xtable", it will help! Next, identify any d-seperations in the graph. b) Suppose it is known that a new female is observed to have hypercholestermia (high cholesterol). Absorb the evidence into the graph and revise the probabilities. How does the probability of Heart Failure and Coronary Artery Disease (CAD) change after this information is considered? c) Simulate a new dataset with 15 observations conditional upon this new information. Present this new data in a table form. Using this new dataset and the "predict" function, I want you to estimate the probability of "Smoker" and "CAD" given the other variables in your model. Consider the "cad1" data set in the package gRbase. There are 236 observations on fourteen variables from the Danish Heart Clinic. Suppose that a structural learning algorithm, together with prior knowledge, has identified the following network as "optimal". Coronary Artery Disease [sex] Sex Smoker SuffHearth Inherit Hyper chol CAD a) Construct the above network in R, and infer the Conditional Probability Tables (local distributions) from the data. **Hint-look into the function "xtable", it will help! Next, identify any d-seperations in the graph. b) Suppose it is known that a new female is observed to have hypercholestermia (high cholesterol). Absorb the evidence into the graph and revise the probabilities. How does the probability of Heart Failure and Coronary Artery Disease (CAD) change after this information is considered? c) Simulate a new dataset with 15 observations conditional upon this new information. Present this new data in a table form. Using this new dataset and the "predict" function, I want you to estimate the probability of "Smoker" and "CAD" given the other variables in your model

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions