Question: I would appreciate it if you could explain how to solve these problems with Jupyter or Google Colab. Please provide the code. Comment is also

I would appreciate it if you could explain how to solve these problems with Jupyter or Google Colab. Please provide the code. Comment is also allowed.

table name:

Framingham_Test

Index,Sex,Age,Educ,Death 4,2,52,2,0 6,1,48,1,0 10,2,46,3,0 14,2,49,2,0 16,2,63,1,0 19,2,51,2,0 28,2,56,1,0 30,2,43,2,0 40,1,48,3,0 44,2,38,2,0 46,2,49,2,0 47,1,41,2,0 Framingham_Training

Index,Sex,Age,Educ,Death 1,1,39,4,0 2,1,52,4,0 3,2,46,2,0 5,2,58,2,0 7,1,54,1,0 8,2,61,3,1 9,2,67,3,1 11,2,51,3,0 12,2,58,3,0 13,2,43,2,0 15,2,55,2,0 17,2,70,1,0 18,2,45,2,0 20,2,57,2,0

please do the following:

6. Compute the posterior probability of Death = 0 (person is living) for a male with education level 1. Compute the posterior probability of Death = 1 (person is dead) for a male with education level 1.

Answer:

7. Compute the posterior probability of Death = 0 (person is living) for a female with education level 2. Compute the posterior probability of Death = 1 (person is dead) for a female with education level 2.

Answer:

b. The probability a randomly selected person is a male.

Answer:

c. The probability a randomly selected person has an Educ value of 3.

Answer:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!