Show the percentages of these with respect to sample size


Problem

Create a subset of the dataset from Part1 with only the top 5 departments based on the number of employees working in that department. The top 5 departments should be computed using R code. Then, use %in% operator to create the required subset.

Use a sample size of 50 for each of the following:

Set the start seed for random numbers as the last 4 digits of your BU id.

1. Show the sample drawn using simple random sampling without replacement. Show the frequencies for the selected departments. Show the percentages of these with respect to sample size.

2. Show the sample drawn using systematic sampling. Show the frequencies for the selected departments. Show the percentages of these with respect to sample size.

3. Calculate the inclusion probabilities using the Earnings variable. Using these values, show the sample drawn using systematic sampling with unequal probabilities. Show the frequencies for the selected departments. Show the percentages of these with respect to sample size.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Show the percentages of these with respect to sample size
Reference No:- TGS03276497

Expected delivery within 24 Hours