Documente Academic
Documente Profesional
Documente Cultură
DESCRIPTION
Comcast is an American global telecommunication company. The firm has been providing terrible
customer service. They continue to fall short despite repeated promises to improve. Only last month
(October 2016) the authority fined them a $2.3 million, after receiving over 1000 consumer complaints.
The existing database will serve as a repository of public customer complaints filed against Comcast.
It will help to pin down what is wrong with Comcast's customer service.
Data Dictionary
Ticket #: Ticket number assigned to each complaint
Customer Complaint: Description of complaint
Date: Date of complaint
Time: Time of complaint
Received Via: Mode of communication of the complaint
City: Customer city
State: Customer state
Zipcode: Customer zip
Status: Status of complaint
Filing on behalf of someone
Analysis Task
****************************************************************************
Proc sql;
Create table Comcast_1 as
Select *, case when
End as complaint_type
From Comcast;
quit
proc freq data = Comcast_1;
table Complaint_type;
run;
*************
Proc sql;
Create table Comcast_2 as
Select *, case
When status in (‘closed’,’..’) then ‘closed’
When status in (‘open,’..’) then ‘open’
Else “NA”
end as new_status
From Comcast_2;
Quit;
Proc freq
Proc SQL
case
when findw(customer_complaint,'Internet') or findw(customer_complaint,'isp')
or findw(customer_complaint,'data cap') or findw(customer_complaint,'Data usage caps')
> 0 then'Internet'
when findw(customer_complaint,'Network') or findw(customer_complaint,'No Service')
or findw(customer_complaint,'data')or findw(customer_complaint,'bandwidth')
or findw(customer_complaint,'Intermittent') or findw(customer_complaint,'lack of service')
or findw(customer_complaint,'Slow Speed') or findw(customer_complaint,'poor Service')
or findw(customer_complaint,'Poor Quality Service') > 0 then 'Network'
else 'other domains' END as Com