Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

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

Step: 3

blur-text-image

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part I Lnai 8724

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448475, 978-3662448472

More Books

Students also viewed these Databases questions

Question

Understanding Group Leadership Culture and Group Leadership

Answered: 1 week ago