Answered step by step
Verified Expert Solution
Link Copied!

Question

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 to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions

Question

1. Give yourself plenty of time to eat and get to the exam room.

Answered: 1 week ago