Question: Assignment 2 For this assignment you'll be looking at 2 0 1 7 data on immunizations from the CDC . Your datafile for this assignment

Assignment 2
For this assignment you'll be looking at 2017 data on immunizations from the CDC. Your datafile for this assignment is in assets/NISPUF17.csv. A data users guide for this, which you'll need to understand and map the variables in the data to the questions being asked, is available at assets/NIS-PUF17DUG.pdf and assets/NIS-PUF17-CODEBOOK.pdf.
Note: For all assignments please write all of your code within the function we define in order to ensure it is run by the autograder correctly
Question 1: proportion_of_education()
Write a function called proportion_of_education which returns the proportion of children in the dataset who had a mother with the education levels equal to less than high school (12), high school (12), more than high school but not a college graduate (>12) and college degree.
This function should return a dictionary in the form of (use the correct numbers, do not round numbers):
{"less than high school": 0.2,
"high school":0.4,
"more than high school but not college":0.2,
"college": 0.2
 Assignment 2 For this assignment you'll be looking at 2017 data

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!