Professional Documents
Culture Documents
ACTIVITY 2
Detractors Passives Promoters
1000 7000 2000
ACTIVITY 3
• Install Package - NPS
• Generate 1000 dummy Likelihood to Recommend responses with
probability values of 0.02, 0.01, 0.01, 0.01, 0.01, 0.03, 0.03, 0.09, 0.22, 0.22,
0.35
ACTIVITY 4
Find proportions of respondents giving each Likelihood to Recommend response
ACTIVITY 5
HISTOGRAM
ACTIVITY 6
BARPLOT
ACTIVITY 7
Calculate the NPS
ACTIVITY 8
Round off the NPS
___________________________________________________________________
ACTIVITY 10:
IMPORT DATA: Survey
ACTIVITY 11:
• Assign & Call : df_tidy
ACTIVITY 12:
Convert to tidy data
Use the gather function to create the magic.
(1st parameter dataframe to use (df), the next 2 parameters define the names for
our new tidy data columns (question and response).
Lastly, specify the columns to tidy (in this case the questions start in column 6, so
let’s gather all columns starting at 6 to the end of the dataframe))
ACTIVITY 13:
• Assign & Call : df_tidy as df_summary
ACTIVITY 14:
Summarize Results
ACTIVITY 15:
Crosstabs : A chart showing the relationship between two variables
ACTIVITY : 16
Net Promoter Score (NPS)
• Summarize Q5 results
ACTIVITY: 17
Calculate promoters, detractors and NPS