Question: Write a SAS program to create a SAS data set named world using the data in Table B.5. Label variables as appropriate. Create category variables

Write a SAS program to create a SAS data set named world using the data in Table B.5. Label variables as appropriate. Create category variables as described below:

Variable Groupings Category variable Infmort

< 24 = 1 (low)

24–73 = 2 (moderate)

≥ 74 = 3 (high)

Infgrp Levtech < 24 = 1 (low)

≥ 24 = 2 (high) Techgrp Degree of civil liberties 1, 2 = 1 (low degree of denial)

3, 4, 5 = 2 (moderate degree of denial)

6, 7 = 3 (high degree of denial)

Civilgrp Use a libname statement and a two-level name to save the SAS data set permanently in a folder in your computer, so that you will be able to access it for analyses later.

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 Categorical Data Analysis Questions!