Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I NEED HELP FOR QUESTION 3 AS GIVEN: Using appropriate visualization chart, show the distribution of marks for the three courses. Compare the performance of

image text in transcribed

I NEED HELP FOR QUESTION 3 AS GIVEN: 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.

*I'VE BEEN ASKING HELP FOR QUESTION 3 BUT I STILL GET ANSWERS FOR OTHER QUESTIONS* AND PLEASE DON'T GIVE THIS KIND OF CODING AGAIN I'VE TRIED BUT IT'S ERROR

# Create data for the graph.

x

labels

# Give the chart file a name.

csv(file = "studentsperformance.csv")

# Plot the chart with title and rainbow color pallet.

pie(x, labels, main = "student pie chart according to their ethinicity", col = rainbow(length(x)))

# Save the file.

dev.off()

USE R PROGRAMMING! LINK TO THE DATASET: https://drive.google.com/file/d/18JBe3v-mNv32Ga-H5Ngaiymo-RdBHHXN/view?usp=share_link

"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

Database And Expert Systems Applications 22nd International Conference Dexa 2011 Toulouse France August/September 2011 Proceedings Part 1 Lncs 6860

Authors: Abdelkader Hameurlain ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2011th Edition

3642230873, 978-3642230875

More Books

Students also viewed these Databases questions

Question

What are the purposes of promotion ?

Answered: 1 week ago

Question

Define promotion.

Answered: 1 week ago

Question

Write a note on transfer policy.

Answered: 1 week ago