0% found this document useful (0 votes)
10 views1 page

Quiz 1

Uploaded by

Stephen Troveh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

Quiz 1

Uploaded by

Stephen Troveh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

BSAD 330

QUIZ 1
INSTRUCTION: Download and submit your notebook on Canvas. Your notebook should be in
“ipynb” and “py”. You are allowed to open your lecture notebook or other resources available.
Any notebook submitted after 3 hours of opening assignment will be graded out of 90%.
USING THE HEART.CSV DATA, PERFORM THE EXPLORATION STEPS IN
TODAY’S LECTURE.
1) Load the data into python and perform all the pre-processing steps you need to begin the
analysis, show the descriptive statistics (10 points)
2) What is the relationship between age and the following? Use a correlation graph and comment
on your findings. And show the line of the goodness of fit.Hint(You will use statmodel library
together with the scatter method) (20 points)
I. Cholesterol level
II. MaxHR
III. RestBP
IV. Oldpeak
3) Finally, show as the size of the pairwise correlation between the variables. Hint (use the
sns.heatmap function) (10 points)
4) Give a histogram plot of your of MaxHR, RestBP, OldPeak, Cholestrol (Chol) (10 points)
5) Show the top 10 Chestpain diagnostics with the highest Chol and MaxHR (10 points) Show
the top
6) What are the TOP 10 Chestpain diagnostics with the highest RestBP and Oldpeak (10 points)
7) What are the top 10 ChestPain diagnostics with the smallest Chol and MaHR (10 points)
8) What is the relationship between age and the following? Use the interactive graph, show the
line of the goodness of fit using ols method and comment on your findings. Hint (Use
Plotly.express library) (20 points)
I. Cholesterol level
II. MaxHR
III. RestBP
IV. Oldpeak
9) Give any form of chart or graphics between any of the variables or using just a variable (5
points)

You might also like