You are on page 1of 2

MODULE 5: DATA PRESENTATION

Learning Reinforcement Activity No. 4: DATA PRESENTATION

Use RStudio to construct the tabular and/or graphical displays required for each problem. You may
create the data file in MS Excel then import it into RStudio. Present your output for each problem
following the format:

Problem:
R Syntax or Script: (Present your complete script, from importing the data to presenting the
output. Perform the necessary edits to make your output
presentable and organized.)
RStudio Output:
*Interpretation/Discussion:
(* - when required by the problem)

Create your output using MS Word and then save it as a pdf file with filename “YOUR LASTNAME-
LRA4.pdf” (ex. LAGTO-LRA4.pdf).

1. Natural rubber is widely used in the rubber glove industry. In July of 2019, the Department of
Statistics, Malaysia (DOSM) reported that the monthly rubber statistics in Malaysia for
Domestic consumption of natural rubber increased to 41,959 tons from 38,787 tons in June
2019. The following table shows the rubber production (in thousand tons) in each country.

Country Rubber Production


Cambodia 21.0
China 101.0
India 47.0
Indonesia 300.0
Malaysia 44.5
Philippines 10.7
Sri Lanka 6.8
Thailand 242.6
Vietnam 60.0
Source: Data extracted from https://bit.ly/2NOJ5iJ

Construct a pie chart for the data. What information does the graph convey? (10 points)
2. The Consumer Financial Protection Bureau reports on consumer financial product and
service complaint submissions by state, category, and company. The following table
presents the complaints received from consumers of a certain area by complaint category in
a recent year.

Property of and for the exclusive use of SLU. Reproduction, storing in a retrieval system, distributing, uploading or posting online, or transmitting in any form or by any
means, electronic, mechanical, photocopying, recording, or otherwise of any part of this document, without the prior written permission of SLU, is strictly prohibited. 1
Category Number of Complaints
Bank Account or Service 202
Consumer Loan 132
Credit Card 175
Credit Reporting 581
Debt Collection 486
Mortgage 442
Student Loan 75
Others 72
Source: Data extracted from https://bit.ly/2pR7ryO

Construct a bar chart of the data and interpret the graph. (10 points)

3. The financial services call center monitors call duration, which is the amount of time spent
speaking to customers on the phone. The data below presents the time, in seconds, spent
by agents of a certain call center company talking to 50 customers.

243 290 199 240 125 151 66 350 1141 251


385 239 139 181 111 136 250 313 154 78
264 123 314 135 99 420 112 239 208 65
133 213 229 154 377 69 170 261 230 273
288 180 296 235 167 227 384 331 243 158

a. Construct a grouped frequency distribution table for the data. (5 points)


b. Construct a histogram of the data and interpret the graph. (10 points)

Property of and for the exclusive use of SLU. Reproduction, storing in a retrieval system, distributing, uploading or posting online, or transmitting in any form or by any
means, electronic, mechanical, photocopying, recording, or otherwise of any part of this document, without the prior written permission of SLU, is strictly prohibited. 2

You might also like