Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Complete this is SAS Studio: 1 . Create a comment at the top of your code that states your name and Lab 2 2 .

Complete this is SAS Studio:
1
.
Create a comment at the top of your code that states your name and
Lab
2
2
.
Create a DATA step that creates a data set called
cars
that is reading the permanent
SAS data set
sashelp
.
cars
3
.
Create a DATA step that creates a data set called
cars
that is reading the permanent SAS data set
sashelp
.
cars
.
Within that SAME DATA step create a new variable called
Total
_
MPG
that is equal to the sum of the two variables
MPG
_
City
and
MPG
_
Highway
4
.
Create a DATA step that concatenates the
MPG
_
City
and
MPG
_
Highway
columns
together separated by a dash (-)
5. Print out the data set above and add a title and footnote within the PROC Print

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions