Question: In SAS Studio, 1 ) Create a comment at the top of your code with your FirstName, LastName, and Lab 3 . 2 ) Using

In SAS Studio, 1) Create a comment at the top of your code with your FirstName, LastName, and Lab 3.
2) Using the sashelp.demographics dataset use an IF/THEN DO statement that does the following if the Region is AMR
A. Creates a new variable called Country that will be set equal to America
B. Creates a new variable called Domestic_Flag that will be set to 1.
3) Create a new dataset that utilizes the following conditions in an IF/ELSE IF/ELSE format on
the sashelp.cars dataset
A. If the make is Audi create a new variable called Manufacturer that is set equal to Germany
B. Or if the make is is Chevrolet Manufacturer will be set equal to America
C. Else if the make is any other make not listed above, set Manufacturer equal to Unknown
4). Create a new dataset that uses datalines. Your dataset needs to have 4 variables (at least one needs to be numeric or a date) and at least 4 observations (see this weeks discussion board for guidance)

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!