Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

FOR NUMBER 4 I TRIED WITH THE CODE GIVEN ABOVE BUT THERE'S SOMETHING WRONG WITH THE CODE. PLEASE FIX IT. USING R PROGRAMMING! StudentsPerformance.csv is

image text in transcribedimage text in transcribed

FOR NUMBER 4 I TRIED WITH THE CODE GIVEN ABOVE BUT THERE'S SOMETHING WRONG WITH THE CODE. PLEASE FIX IT.

USING R PROGRAMMING!

"StudentsPerformance.csv" is a performance record for three courses in a university. Using R, answer the ollowing questions. 1. Load the data into R environment. Then, perform data pre-processing and data cleaning: a) Some of the variables may not be defined with correct data type. Convert these variables such that they are with a suitable data type. b) Are there any missing values? Identify the variables that contains missing values and state the total number of missing values. Remove all the missing values. c) The variable "lunch" is not an important variable and can be omitted. Remove this variable column instances from the dataset. d) Rename the variables name to "STU_Gender", "STU_Ethnic", "PAR_Education", "PREP_CourseStatus", "Maths", "Reading", "writing". 2. Create a pie chart to show the distribution of students according to their ethnicity. and 2018. Then, create for each ethnicity, a bar chart to show distribution of gender in each ethnic. Perform the same steps for the preparation course status and parental level of education. 3. Using appropriate visualization chart, show the distribution of marks for the three courses. Compare the performance of students from different ethnicity in each of the courses. Explain your answer with appropriate visuals. 4. Does parental level of education affect students' performance in general context? Explain your answer with appropriate visuals

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

25 Vba Macros For Data Analysis In Microsoft Excel

Authors: Klemens Nguyen

1st Edition

B0CNSXYMTC, 979-8868455629

More Books

Students also viewed these Databases questions