Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!