i will be assessed not only on your computing skills, but also on your ability to carry out an informed statistical analysis: material from other statistics courses (in particular STAT0006, for...

1 answer below »
i will be assessed not only on your computing skills, but also on your ability to carry out an informed statistical analysis: material from other statistics courses (in particular STAT0006, for students who have taken it) will be relevant here. To earn high marks, you need to take a structured and critical approach to the analysis and to demonstrate appropriate judgement in my choice of material to present. All the instructions, data hints and general feedback from previous projects are attached below. It has to be university level.


STAT0023 Computing for Practical Statistics 1 STAT0023 Computing for Practical Statistics In-course assessment 2, take-home component (2020–21 session) Table of Contents Rubric ................................................................................................................................................................................... 2 Background and overview ........................................................................................................................................... 3 Detailed instructions ...................................................................................................................................................... 4 Marking criteria ........................................................................................................................................................... 5 Hints on tackling the assessment ......................................................................................................................... 7 Appendix: the UKCovidWave1.csv dataset ....................................................................................................... 10 Data sources and pre-processing...................................................................................................................... 10 Description of variables ......................................................................................................................................... 12 Overall information about each MSOA and its population ................................................................ 12 Household information for each MSOA ..................................................................................................... 13 Age profile for each MSOA: variables Age0-4, Age5-7, …, Age90+ ................................................ 13 Ethnicity and immigration ............................................................................................................................... 13 Unpaid carers ........................................................................................................................................................ 14 Household accommodation ........................................................................................................................... 14 People living in communal establishments............................................................................................... 14 Employment / occupation ...................................................
Answered 5 days AfterApr 21, 2021

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
150 Votes
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 =...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here