Exercise

Statistical significance - disengaged employees

You've seen some evidence that the sales department has a higher proportion of disengaged employees than the rest of the company, but you aren't yet certain if that difference is significant. Now you can test whether that difference is statistically significant using the tests you just learned about.

Instructions 1/3

undefined XP
    1
    2
    3

Using ifelse() and mutate(), add the in_sales variable, which should be "Sales" for employees in the sales department, and "Other" otherwise. Assign the result to survey_sales.