A manufacturer is comparing average weekly overtime hours per employee across its four plants for the first quarter. In the payroll extract, 15% of employee-week rows have no overtime entry. Almost all of the blanks come from the Riverside plant, whose electronic time clock failed for three weeks in March. During the outage, supervisors recorded hours on paper timesheets. Which treatment of the blanks best supports a fair comparison of the plants?
Recover the March hours from the paper timesheets, flag any rows still blank, and report Riverside's data coverage.
Replace each blank with 0 hours so that every employee-week is counted in the averages.
Fill each blank with the company-wide average overtime so that every plant has a complete quarter.
Delete every row with blank overtime and compute each plant's average from the rows that remain.
Unlock full course notes by signing up
Reconcile row counts after cleaning
A wholesaler's quarterly order extract has 2,400 rows. Profiling shows 120 rows that are extra copies of other rows; each original order is kept once. Among the deduplicated rows, 36 have a quantity of zero or less, so they break the quantity rule and are quarantined. A further 54 rows have a blank region; they are labelled Unknown, flagged and kept. Find the rows remaining after deduplication, the rows in the clean analysis table, and the percentage of the 2,400 raw rows that appear in the clean table, to one decimal place.