Answer To: i will be assessed not only on your computing skills, but also on your ability to carry out an...
Anu answered on Apr 24 2021
covid_data<-read.csv("F:/ukcovidwave1-1-vip1b5i5.csv", na.strings = '-1')
head(covid_data)
str(covid_data)
library(dplyr)
covid_data1<-rename(covid_data, Household_with_1_Person = HH_1Pers, Household_with_1_Family = HH_1Fam,
,Age_8_to_9 = Age8.9, Age_10_to_14 = Age10.14, Age_15= Age15,Age_16_to_17 = Age16.17
,Age_25_to_29 = Age25.29,Age_30_to_44 = Age30.44,Age_60_to_64=Age60.64,Age_65_to_74=Age65.74,
Age_75_to_84=Age75.84,Ethnicity_White=EthWhite,Ethnicity_Asian=EthAsian,Carers_Low=CarersLo,
Carers_Mid=CarersMid,Private_Care_with_Nursing=PrivCareNurs,Private_Care_without_Nursing=PrivCareNoNurs,
No_Qualification=NoQual,Qualification_l1=Qual1,Qualification_l4=Qual4.
)
model <-glm(Deaths ~ Household_with_1_Person+Household_with_1_Family
+Age_8_to_9 +Age_10_to_14 +Age_15+Age_16_to_17+Age_25_to_29
+Age_30_to_44+Age_60_to_64+Age_65_to_74+Age_75_to_84
+Ethnicity_White +Ethnicity_Asian+Carers_Low
+Carers_Mid+Private_Care_with_Nursing+Private_Care_without_Nursing+No_Qualification
+Qualification_l1+Qualification_l4,data = covid_data1,
family =...