logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Jaida PatrickTechnical writing
(5/5)

779 Answers

Hire Me
expert
Wyatt RyessEconomics
(5/5)

697 Answers

Hire Me
expert
Draven HowellPhilosophy
(5/5)

662 Answers

Hire Me
expert
Vishal SindhwalComputer science
(5/5)

581 Answers

Hire Me
SAS
(5/5)

The purpose of this exercise is to perform a data validation of a set of invoice data files and to produce a summary report of average “output.”

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

The purpose of this exercise is to perform a data validation of a set of invoice data files and to produce a summary report of average “output.”

 

From the class website, download the “HW5Data.zip” ZIP file. There are four SAS data sets in the compressed zip file, “haul_2012_03.sas7bdat” “haul_2012_04.sas7bdat” “haul_2012_05.sas7bdat” and “haul_2012_06.sas7bdat”.

 

You are told that these data represent monthly invoice records for a trucking company that hauls crude oil. Each observation in the data should represent a “haul” performed by one of the company’s drivers. The variables in the data sets relate to the following:

 

A “Ticket” variable that is a mix of character and numeric values (e.g. SJ00532) and should be unique for each observation. This variable is not particularly important for your analysis.

 

A “Date” variable in SAS date format (numeric) that represents the transaction date.

 

A “Driver” variable (mix of character and numeric values e.g. SOFS2389) that is an identification variable for each of the company’s drivers.

 

A “Hauled” variable (numeric) that records the volume of crude oil hauled. You are told that the standard hauling limit of the company’s trucks is 190 barrels of crude oil (42 gallons per barrel) though drivers occasionally exceed this limit by as much as 8-10 barrels – an ‘overload’. This variable can be recorded as a zero or is missing if the “Driver” was unable to load a particular “Ticket.”

 

Your ultimate task is to produce a summary report that provides various summary statistics of the “hauls” for each “Driver.”

 

Are the variable names and data formats (character, numeric, character variable lengths) consistent across the four data sets?

Do the data values of the “Driver” variable appear to be consistent across the four data sets?

Given the information provided above regarding hauling limits, do the units of measure for the “Hauled” variable appear to be consistent across the four data sets?

Correct any inconsistencies that you find and “stack” the four data sets into a single combined data set. Create a summary report that shows the following for each unique “Driver”

The total number of “hauls” (line-items or observations in the data)

The number of “hauls where the “Driver” was unable to load a particular “Ticket.”

The average number of barrels hauled excluding any observations where the “Hauled” variable is recorded as a zero or missing.

For “Hauls” over the company haul limit of 190 barrels, the average ‘overload.’

 

Upload a copy of your summary report as an Excel workbook to Canvas using the naming convention “LName Fname UIN HW4”.

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme