Midterm Exam 2 – Open Book Section – Part 2 Instructions…

Midterm Exam 2 – Open Book Section – Part 2 Instructions The R/Python Jupyter Notebook files include the questions, the empty code chunk sections for your code, and the text blocks for your responses. Answer the questions below by completing the R/Python Jupyter Notebook file. You may make slight adjustments to get the file to convert but otherwise keep the formatting the same. Once you’ve finished answering the questions, submit the PDF file of the exam to Gradescope. Please use the corresponding Gradescope link for the submission. The Gradescope link expires after 10 minutes, so make sure you submit PDF to Gradescope within 10 minutes! Resubmission within the 10-minute window is allowed. Data Analysis (60 points) Data Set online_course_completion.csv R_starter_template: Fall2025_Midterm2_Exam_R_starter_template.ipynb   Python_starter_template: Fall2025_Midterm2_Exam_Python_starter_template.ipynb  

Q1. Data Exploration (Use dataset completed_course for this…

Q1. Data Exploration (Use dataset completed_course for this question) (13 points) (4 points) a) Create a visualization to compare the distribution of Hours_Studied across different Enrollment_Types (Free vs. Paid) and Completion statuses (Completed vs. Not Completed). Discuss any observable trends or patterns. (3 points) b) Compute correlation matrix for numerical variables grouped by Completed. Explain the results.  (2 points) c) Which Region has the highest completion rate? (4 points) d) What is the proportion of students who completed the course for each Gender?Use barplots to show the distribution of students by Gender and region?