Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NHLQualifiers.txt is a tab delimited file containing information on the 2020 Stanley Cup Playoff Qualifiers. The data set includes the variables WinningTeam (the name of

NHLQualifiers.txt is a tab delimited file containing information on the 2020 Stanley Cup Playoff Qualifiers. The data set includes the variables WinningTeam (the name of the winning team), WTScore (the winning team's score), LosingTeam (the name of the losing team), LTScore (the losing team's score), and Date (the date on which the game was held). Take note of the date format in the .txt file. (a) Load the NHLQualifiers.txt file into SAS. The entirety of the team names should be stored and the Date variable should be stored as date data. Use functions in SAS to create a variable called DaySince. This variable should be the number of days since the game took place. Print the resulting SAS data set and report the output. (b) Load the NHLQualifiers.txt file into R. Convert the Date variable into date data. Create a new variable called EndQual. This variables should be the number of hours between the date of the game and the date the qualifying round ended, which was August 9, 2020. Print the resulting data frame and report the output.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Applied Calculus

Authors: Stefan Waner, Steven Costenoble

6th Edition

1285415310, 9781285415314

More Books

Students also viewed these Mathematics questions

Question

How to reverse a Armstrong number by using double linked list ?

Answered: 1 week ago

Question

d. Who are important leaders and heroes of the group?

Answered: 1 week ago