Data Transformation in programming

using SAS,using SAS,using SAS,

2 parts, using SAS,

Don't use plagiarized sources. Get Your Custom Essay on
Data Transformation in programming
Just from $10/Page
Order Essay

1. Using Formatted Input

The raw data file sales1.dat has employee information for the Australian and U.S. sales staff.
The record layout is shown in the table below.

Layout for sales1.dat

Field

Description

Starting

Column

Length of

Field

Data Type
Employee ID 1 6 Numeric
First Name 8 12 Character
Last Name 21 18 Character
Gender 40 1 Character
Job Title 43 20 Character
Salary 64 8 Numeric

$100,000

Country 73 2 Character

‘AU’ or ‘US’

Birth Date 76 10 Numeric

mm/dd/yyyy

Hire Date 87 10 Numeric

mm/dd/yyyy

a. Create a new SAS data set named sales_staff that contains the fields indicated by arrows in the
layout table.

b. Print sales_staff and add an appropriate title.

Partial PROC PRINT Output (165 Total Observations)

Australian and US Sales Staff

Employee_ Hire_

ID Last_Name Job_Title Salary Date

120102 Zhou Sales Manager 108255 12205

120103 Dawes Sales Manager 87975 6575

120121 Elvish Sales Rep. II 26600 6575

120122 Ngan Sales Rep. II 27475 8217

120123 Hotstone Sales Rep. I 26190 18901

2. Reading Multiple Input Records per Observation

The raw data file sales2.dat has employee information for the Australian and U.S. sales staff.

Information for each employee is in three lines of raw data.

The record layouts are shown below.

Line 1 layout

Field

Description

Starting

Column

Length of

Field

Data Type

 

Employee ID 1 6 Numeric
First Name 8 12 Character
Last Name 21 18 Character

Line 2 layout

Field

Description

Starting

Column

Length of

Field

Data Type

 

Job Title 1 20 Character
Hire Date 22 10 Numeric

mm/dd/yyyy

Salary 33 8 Numeric

for example, $100,000

Line 3 layout

Field

Description

Starting

Column

Length of

Field

Data Type

 

Gender 1 1 Character
Birth Date 3 10 Numeric

mm/dd/yyyy

Country 14 2 Character

a. Create a new SAS data set named sales_staff2 that contains the fields indicated by arrows in the layout table.

b. Print sales_staff2 and add an appropriate title.

Partial PROC PRINT Output (165 Total Observations)

Australian and US Sales Staff

Employee_ Hire_

ID Last_Name Job_Title Date Salary

120102 Zhou Sales Manager 12205 108255

120103 Dawes Sales Manager 6575 87975

120121 Elvish Sales Rep. II 6575 26600

120122 Ngan Sales Rep. II 8217 27475

120123 Hotstone Sales Rep. I 18901 26190

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool’s honor code & terms of service.

Get professional assignment help cheaply

Are you busy and do not have time to handle your assignment? Are you scared that your paper will not make the grade? Do you have responsibilities that may hinder you from turning in your assignment on time? Are you tired and can barely handle your assignment? Are your grades inconsistent?

Whichever your reason may is, it is valid! You can get professional academic help from our service at affordable rates. We have a team of professional academic writers who can handle all your assignments.

Our essay writers are graduates with diplomas, bachelor, masters, Ph.D., and doctorate degrees in various subjects. The minimum requirement to be an essay writer with our essay writing service is to have a college diploma. When assigning your order, we match the paper subject with the area of specialization of the writer.

Why choose our academic writing service?

  • Plagiarism free papers
  • Timely delivery
  • Any deadline
  • Skilled, Experienced Native English Writers
  • Subject-relevant academic writer
  • Adherence to paper instructions
  • Ability to tackle bulk assignments
  • Reasonable prices
  • 24/7 Customer Support
  • Get superb grades consistently

 

Order a unique copy of this paper
(550 words)

Approximate price: $22

Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

We value our customers and so we ensure that what we do is 100% original..
With us you are guaranteed of quality work done by our qualified experts.Your information and everything that you do with us is kept completely confidential.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

The Product ordered is guaranteed to be original. Orders are checked by the most advanced anti-plagiarism software in the market to assure that the Product is 100% original. The Company has a zero tolerance policy for plagiarism.

Read more

Free-revision policy

The Free Revision policy is a courtesy service that the Company provides to help ensure Customer’s total satisfaction with the completed Order. To receive free revision the Company requires that the Customer provide the request within fourteen (14) days from the first completion date and within a period of thirty (30) days for dissertations.

Read more

Privacy policy

The Company is committed to protect the privacy of the Customer and it will never resell or share any of Customer’s personal information, including credit card data, with any third party. All the online transactions are processed through the secure and reliable online payment systems.

Read more

Fair-cooperation guarantee

By placing an order with us, you agree to the service we provide. We will endear to do all that it takes to deliver a comprehensive paper as per your requirements. We also count on your cooperation to ensure that we deliver on this mandate.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Open chat
1
You can contact our live agent via WhatsApp! Via +1 817 953 0426

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 20% with the discount code VICTORY