Question: User use this ( Now imagine that it is year 2 0 3 4 and you are working as a public health researcher in the
User
use this Now imagine that it is year and you are working as a public health researcher in the UAE. You are working on a project to assess vaccination coverage for a new global pandemic. The UAE government has implemented a widespread vaccination campaign to combat the spread of the virus and achieve herd immunity. You want to determine the proportion of individuals who have received the new vaccine among a sample of residents in different parts of the country.
To Begin.
Run the code below. It will provide you with a random sample of residents. It will save this data to a CSV file called "Vaccinated.csv Again, you need to submit this file in the same zip folder as the other files. this is the code: # Load the following libraries so that they can be applied in the subsequent code blocks
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import random
import scipy.stats as stats
# Run this code. It will generate data and save it to a CSV file called "Vaccinated.csv You need to submit it in the same zip folder as your other files.
try:
Vaccinated pdreadcsvVaccinatedcsv
except FileNotFoundError:
numsamples
vaccinated nprandom.choiceYesNo sizenumsamples
Vaccinated pdDataFrameVaccinated: vaccinated
Vaccinated.tocsvVaccinatedcsv
# Have a look at Vaccinated dataset.
Vaccinated.head and this is the output
Vaccinated
No
No
No
No
No
and answer this Question a What is the proportion of people who have received the vaccine based on the dataset you have keep it in pargaraph format and keep it conciseQuestion b Calculate a confidence interval for the proportion of vaccinated individuals. What does this
interval tell us about the likely range of vaccination coverage in the entire population? Show your work.
Question What sample size would be required to estimate the proportion of vaccinated individuals in the
country with a confidence level and a margin of error of Show your work.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
