In this assignment, you will apply your knowledge of univariate analysis in RStu
In this assignment, you will apply your knowledge of univariate analysis in RStudio. In this assignment, you will be using the Excel data file from the Assignment 3 page on Canvas. From this example data, a firm would like you to compute demographic statistics that it can use on its diversity dashboard. Each of the ten questions below are worth 5 points. Note: Tenure is in years.
Find the mean of job tenure in the dataset. Find the median of job tenure in the dataset. Find the mode of job tenure in the dataset. What do the results of questions 1-3 tell you about the job tenure of the sample?
Find the variance of job tenure in the dataset. Find the standard deviation of job tenure in the dataset. What do the results of questions 5-6 tell you about the job tenure of the sample?
Find the count and percentage for ethnicity.
What do the results of question 8 tell you about the ethnicity of the sample?
Create a pie chart for ethnicity and insert it here:
Copy and paste your R output here:
Leave a Reply