Exploratory Data Analysis

profilemezz
TELECOMMUNICATIONCUSTOMERSEXPLORATORYANALYSISASSIGNMENT1.docx

TELECOMMUNICATION CUSTOMERS EXPLORATORY ANALYSIS ASSIGNMENT

PART I:

Introduction

In this research analysis we have selected a telecommunication company dataset. The data summarizes characteristics or behaviours of different customers engaging in business with the telecommunication company.

The main aim of selecting this dataset was to help coming up with a suitable module that will help the company to evaluate metrics on whether to retain or dispense a customer.

The dataset contains 21 variables and 7043 valid observations. Rows represents different customers whereas columns represent every attribute of the customer.

customerID-Represents unique identities of the customers.

Gender-indicate whether the customer is a female or a male
SeniorCitizen-1 represent senior citizen whereas 0 represent non senior citizen
Partner-Yes means the customer has a partner, No-means he does not have a partner
Dependents-Yes means he has dependents while No means the customer do not have dependents
Tenure-Indicates the period the customer has done business with the company in months
PhoneService-Yes mean the customer has the service while No means otherwise.
MultipleLines-Yes means the customer has multiple line, No and no service means otherwise
InternetService-shows the provider of the internet service to the customer.
OnlineSecurity-Shows whether the customer has the online security or otherwise.
OnlineBackup- Shows whether the customer has the online back up or otherwise.
DeviceProtection- Shows whether the customer has the device protection or otherwise (No/no int. service).
TechSupport- Shows whether the customer has the technical support (Yes) or otherwise (No/no int. service).
StreamingTV- Shows whether the customer engage in TV streaming (Yes) or otherwise (No
StreamingMovie- Shows whether the customer engage in movie streaming (Yes) or otherwise (No
Contract-shows the customers’ subscribed contract type
PaperlessBilling- Shows whether the customer engage in paperless billing (Yes) or otherwise (No
Payment Method- shows the customers’ method of payment
MonthlyCharges-represent total monthly fees levied to the customers
TotalCharges-represents cumulative amount charged to the customer
Churn- Shows whether the customer is churned (Yes) or otherwise (NO
Summary of Gende

R

As seen in the above chart the survey engaged 50% of every gender.

Monthly Charge

Payment Method

RESEARCH QUESTIONS

Questions that can be answered by this survey.

i) Is there a relationship between internet providers and monthly charge to the customers?

ii) Is there a relationship between online security and customers device protection?

iii) How does streaming of movies by the customers affect their total charges to the company?

Question 1

Is there a relationship between internet providers and monthly charge to the customers?

Internet as one of the pivot aspects of connectivity between individuals and businesses in the modern world, it has attracted various entities to engage in its business. This is a result of high revenue influx attributed with the business. Most internet providers across the world are improving all aspects relating to internet diversity to remain competitive in the market. This includes increasing the speed, enhancing high security firewalls especially from internet phishers, cost analysis to its subscribers, among others.

Globally, according to latest journal in US regarding internet service providers and their monthly charges to their subscribers, Google fiber emerged to be the highest monthly charging internet service provider amounting to at least $ 70.00 per month. Verizon, Grande communication and Xfinity followed the list with monthly charge of at least $ 39.99, $35.46, and $ 20.00, respectively.

The main importance to include this hypothetical question in our study was to evaluate and establish which among the service providers i.e. DSL and Fibre Optic had the highest monthly charges in comparison with the other.

Question 2

Is there a relationship between online security and customers device protection?

As internet continue to spread rapidly globally, online security has become a major threat to the users. Businesses has formulated easier method using devices such as mobile phones, debit cards, swift code transfers to ease their operations in terms of payments and receipts. This has posed a great concern on security aspect as hackers try to generate phishy links and duplicates to compromise security of the devices. With the alarming online business increasing rapidly, Customer transacting devices security is at risk.

This led us to try evaluating whether online security and customers device protection were in one way or the other associated.

Question 3

How does streaming of movies by the customers affect their total charges to the company?

Subscribers of internet engage in various activities ranging from commercial based to social-based. These activities include watching and playing games, emailing, cyber services, video streaming, among others. These activities accrue to different monthly charges.

In our case study we choose to evaluate among the group which used the internet for Movies streaming and the group which never used the internet for movie streaming, which group of customers had the higher monthly charges as compared to the other.

VARIABLES

Is there a relationship between internet providers and monthly charge to the customers?

The variables that will be used to answer this hypothesis will be

-Internet providers and Monthly Charge.

Is there a relationship between online security and customers device protection?

The variables that will be used to answer this hypothesis will be

Online Security and Device protection

How does streaming of movies by the customers affect their total charges to the company?

The variables that will be used to answer this hypothesis will be

Streaming Movies and total charges.

SAMPLE OUTCOMES

i) There exists a relationship between internet provider and their monthly charge to their customers

ii) Online security and device protection are not associated

iii) Movie streaming increases total charges a customer owes to the company.

DATA PRESENTATION AND ANALYSIS

i) To identify the columns used in this study

telecomcustomers$InternetService
		telecomcustomers$OnlineSecurity
		telecomcustomers$DeviceProtection
		telecomcustomers$StreamingMovies 
		telecomcustomers$MonthlyCharges
		telecomcustomers$TotalCharges

ii) R-script to extract the subset of the data needed in this study

            > telecomcustomers%>%
    + select(InternetService,OnlineSecurity,DeviceProtection,Stre     amingMovies,MonthlyCharges,TotalCharges)
InternetService      OnlineSecurity    DeviceProtection     StreamingMovies MonthlyCharges
1               DSL                  No                  No                  No          29.85
2               DSL                 Yes                 Yes                  No          56.95
3               DSL                 Yes                  No                  No          53.85
4               DSL                 Yes                 Yes                  No          42.30
5       Fiber optic                  No                  No                  No          70.70
6       Fiber optic                  No                 Yes                 Yes          99.65
7       Fiber optic                  No                  No                  No          89.10
8               DSL                 Yes                  No                  No          29.75
9       Fiber optic                  No                 Yes                 Yes         104.80
10              DSL                 Yes                  No                  No          56.15
11              DSL                 Yes                  No                  No          49.95
12               No No internet service No internet service No internet service          18.95
13      Fiber optic                  No                 Yes                 Yes         100.35
14      Fiber optic                  No                 Yes                 Yes         103.70
15      Fiber optic                 Yes                 Yes                 Yes         105.50
16      Fiber optic                 Yes                 Yes                 Yes         113.25
17               No No internet service No internet service No internet service          20.65
18      Fiber optic                 Yes                 Yes                 Yes         106.70
19              DSL                  No                 Yes                  No          55.20
20      Fiber optic                  No                 Yes                 Yes          90.05
21              DSL                  No                 Yes                 Yes          39.65
22               No No internet service No internet service No internet service          19.80
23               No No internet service No internet service No internet service          20.15
24              DSL                  No                  No                  No          59.90
  TotalCharges
1          29.85
2        1889.50
3         108.15
4        1840.75
5         151.65
6         820.50
7        1949.40
8         301.90
9        3046.05
10       3487.95
11        587.45
12        326.80
13       5681.10
14       5036.30
15       2686.05
16       7895.15
17       1022.95
18       7382.25
19        528.35
20       1862.90
21         39.65
22        202.25
23         20.15
24       3505.10

iii) R-script to convert selected categorical variables into numerical variables in this study

mydata=mutate(telecomcustomers,InternetSer=as.numeric(InternetService),OnlineSec=as.numeric(OnlineSecurity),DeviceProtec=as.numeric(DeviceProtection),StrMovies=as.numeric(StreamingMovies),Mcharges=as.numeric(MonthlyCharges),TCharges=as.numeric(TotalCharges))
> mydata

R-script to select our subset data for analysis

> newdata=mydata[c("InternetSer","OnlineSec","DeviceProtec","Mcharges","TCharges")]
                > newdata

head(newdata)

InternetSer OnlineSec DeviceProtec Mcharges TCharges

1 1 1 1 29.85 29.85

2 1 3 3 56.95 1889.50

3 1 3 1 53.85 108.15

4 1 3 3 42.30 1840.75

5 2 1 1 70.70 151.65

6 2 1 3 99.65 820.50

>

Is there a relationship between internet providers and monthly charge to the customers?

ggplot(newdata, aes(x = Mcharges)) +
+     geom_histogram(fill = "cornflowerblue",
+                    color = "white") +
+     facet_wrap(~InternetSer, ncol = 1) +
+     labs(title = "Monthly Charges histograms by Internet service provider")

Is there a relationship between online security and customers device protection?

ggplot(newdata,
+ aes(x = OnlineSec,
+ fill = DeviceProtec)) +
+ geom_bar(position = position_dodge(preserve = "single"))

How does streaming of movies by the customers affect their total charges to the company?

ggplot(mydata, aes(x = TCharges)) +
+     geom_histogram(fill = "cornflowerblue",
+                    color = "white") +
+     facet_wrap(~StrMovies, ncol = 1) +
+     labs(title = "Total Charges histograms by Streaming Movies")

REPORTING

The main aim of this study was to establish a module to be used by the telecommunication company to retain its customers based on various attributes.

The main research questions were:

a) To establish whether internet service providers were associated in any way with Monthly charges levied to the customers.

b) To analyse whether a customer possessing a protected device had a guaranteed advantage of Online security

c) The final aim was to evaluate how usage of the internet in movie streaming affected total monthly charges levied to the customers by the telecommunication company.

i) Is there a relationship between internet providers and monthly charge to the customers?

From the chart above titled Monthly Charges histograms by Internet service provider, 1 represented Digital subscriber loop (DSL) internet service providers, 2 represented Fiber optic service providers while indicated neither of the two internet providers.

As seen from the chart the two variables are associated. Digital subscriber loop (DSL) has a larger number of customers as compared to Fibre optic service providers. This is because Fibre optic service providers had a higher Monthly Charges of at most $ 300.00 as compared to DSL whose approximate monthly charges were $ 270.00.

Choosing Fibre optic as internet service provider would subject the customer to a higher Monthly charge budget by the telecommunication company.

ii) Is there a relationship between online security and customers device protection?

From the figure above on this hypothetical question, 1 showed that the device was internet protected and showed online security, 2 represented No online security whereas 3 was a control factor.

We can see that customers whose devices were protected showed a higher count as the same illustrated higher online security. This would mean that the two variables were highly associated.

Choosing a device with protection would guarantee a customer online security safety.

iii) How does streaming of movies by the customers affect their total charges to the company?

From the chart above titled Total Charges histograms by Streaming Movies, 1 represented subscribers who used the internet to stream movies, 2 represented subscribers who did not use the internet in streaming movies, 3 represent the control group who never had internet services.

The chart indicates that group 1 who used the internet for movie streaming had a higher total charge owing to the telecommunication company as compare to group 2 who never used the internet for movie streaming.

This clearly shows that the two variables are associated. Movies streaming would tally to higher total charges compared to no movie streaming.