Print the descriptor portion of the SAS data file

Assignment Help Applied Statistics
Reference no: EM132284154

Homework -

You must use SQL to solve all exercises in this Homework Assignment.

1. You will be working with the SAS data file employee_roster which contains many variables regarding the employees of the Orion Corporation.

a. Print the descriptor portion of the SAS data file. (Include results in the HW Report. The result will actually print into the SAS Log, so you'll need to copy and paste it to the RTF file.)

b. Read in the SAS data file and create a SAS data file called top_earners_NetID that contains all Orion employees who make over $70,000. Also change the labels of Job_Title to "Position" and Salary to "Yearly Salary".

c. Print the data portion of top_earners_NetID including only each employee's name, position, and salary in that order. (Include results in the HW Report.)

Without creating any new data sets, use the employee_roster data set to ...

d. Print a table of all male employees in the Administration section earning no less than $25,000 but no more than $30,000 in salary. Include only the employees' names, gender, section, and salary. (Include results in the HW Report.)

e. Print a table of all employees whose first name begins with either C, D, or E. Include only the employees' names, ID, and group. (Include results in the HW Report.)

f. Print a table that displays the average salary and median salary of male employees and female employees. Thus, there should only be two data rows. (Include results in the HW Report.)

2. The SAS data set batting contains a complete history of Major League Baseball's (MLB) batting data from 1871 through the 2010 season. Each observation holds a single season (i.e., year) of batting statistics for a single player. So each observation contains a unique combination of PlayerID, YearID, and TeamID.

a. Print the descriptor portion of the data set. (Include your results and response in the HW Report. You'll have to copy and paste it from the Log.)

b. Print a table that contains every player who had at least 245 hits (H) in a single season with one team. (Include results in the HW Report.)

  • The output table should only contain each player's PlayerID, the YearID, the TeamID, and Hits for that season.
  • Players might appear more than once in the list.

c. Print a table that shows the first (minimum) and last (maximum) year for each baseball league (LgID) represented in the data set. (Include results in the HW Report.)

d. Print a table that contains the player with the most home runs for each of the 140 seasons as long as their season home run total is at least 50. (Include results in the HW Report.)

  • The output table should only contain the player's PlayerID, the YearID, and home runs for each year/season (row).
  • If there was a tie for a given season, print all players who achieved the most home runs for that year.

Submitting your work to Compass -

You are to submit two (and only two) files for your homework submission.

1. Your SAS program file which should be saved as HWn_YourNetID.sas. For example, my file for the HW01A assignment would be HW01A_dunger.sas. All program statements and code should be included in one program file.

2. Your Report file which should be saved as HWn_YourNetID.pdf. For example, my file for HW01 would be HW01_dunger.pdf . Include all relevant output to address the exercises. Do not include output for every execution of your SAS program. For this homework, use ODS to send your results to a Portable Document Format (PDF) file.

Attachment:- Assignment Files.rar

Reference no: EM132284154

Questions Cloud

Organization development practitioners : Organization development practitioners can be formal consultant roles in an organization, but OD skills can also be applicable to other roles as well.
Contrast the leadership styles of healthcare managers : Contrast the leadership styles of healthcare managers. In a 1-page paper, elaborate on two leaders: one which you determine as effective and the other.
Experience severe case of domestic violence : What preventive services would you offer a family who have experience a severe case of domestic violence?
Write a professional email message using given information : Choose one of the professional scenarios provided in Blackboard under the Student Center tab. Write a Professional Email Message (in the form of Figure 5.1).
Print the descriptor portion of the SAS data file : STAT 440 - Homework - Print the descriptor portion of the SAS data file. Print a table that displays the average salary and median salary
Difference between checksheet and checklist : What is the difference between a checksheet and a checklist?
How would you define root cause of the problem : How would you define “root cause” of the problem, and is it better to fix a defect/problem quickly, or take the time to find the root cause?
Discuss the different phases in developing the team process : Discuss the different phases in developing the team process.
Complete description of the motivational theory : What would be a complete description of the motivational theory Maslow's hierarcy of needs, Douglas McGregor's Theory X and Theory Y,

Reviews

len2284154

4/15/2019 9:43:45 PM

Students are encouraged to work together on homework. However, sharing or copying any part of the homework is an infraction of the University’s rules on Academic Integrity. Final submissions must be uploaded to our Compass 2g site on the Homework page. No email, hardcopy, or late submissions will be accepted. Again, NO homework will be accepted after the deadline. You have an unlimited number of submissions, but only the last one containing both of these two files will be viewed and graded. Homework submissions must always come as a pair of files, as described above. To submit, click on the title of the assignment (e.g., HW01A) in Compass, attach the two files one at a time (no .zip files), then click Submit. Do not click Save Draft.

Write a Review

Applied Statistics Questions & Answers

  Social and economic impact on australia

BUS 707 - Applied Business Research - Discusses the problem or question the researchproject seeks to answer and how the research contributes to clarification

  State the null hypothesis h0 and the alternative hypothesis

Some of the following statements refer to the null hypothesis, some to the alternate hypothesis. State the null hypothesis, H0, and the alternative hypothesis. Ha, in terms of the appropriate parameter (μ or p). a. The mean number of years Americans ..

  Certain population suffer from one or more chronic diseases

It is known that 35% of the members of a certain population suffer from one or more chronic diseases. What is the probability that in a sample of 200 subjects drawn at random from this population 80 or more will have at least one chronic disea..

  Find the probability that one of them wins the race

In a race, the odd favour of cars P,Q,R,S are 1:3,1:4,1:5 and 1:6 respectively. Find the probability that one of them wins the race.

  Describe the population of interest for the survey

Describe the population of interest for the survey

  When should a standard cost variance be investigated

When should a standard cost variance be investigated? Explain why the materials price variance is often computed at the point of purchase rather than at the point of issuance.

  The variance and standard deviation of n-1

Need calculations and answers for the following using the variance and standard deviation of N-1 in the denominator 5,6,2,8,7,6,6,12,6,5,4,5

  How do the major constructs of the research cycle

How do the major constructs of the research cycle create a scientific, logical, and orderly flow between them - effective strategy for finding information

  The distance from the sun

Nonlinear regression. The following data gives the distance from the sun (in millions of miles) and the length of year (in earth years) for the traditional 9 planets in the solar systems (including pluto, which is technically a dwarf-planet as..

  Explain when a z-test would be appropriate over a t-test

Explain when a z-test would be appropriate over a t-test.

  What is the probablility that the sample mean is less than

The Diameter of a brand of ping pong balls is approximatley normally distributed with the mean of 1.31 inches and the standard deviation of 0.04 inch a random sample of 16 ping pong balls is selected A) what is the probablility that the sample mean i..

  How biostatistics is used to quantify the evidence

Consider how biostatistics is used to quantify the evidence and explore the unknown in health issues, most particularly in public health.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd