Assignment 4. 

1)      Run this code to make some datasets:

data tumor;

                * location part of the body diseased;

                * the size of tumor in cubic mm

                                size -1000 is unknown

                                size -2000 is > 10;

                input subject location $ theSize;

                datalines;

1 head 3

2 neck 4

4 elbow -1000

5 toe -2000

6 navel 5

7 hair 6

;

run;

 

data drugs;

                input zone $ treatment $;

                datalines;

hair scissors

head sucrosa

neck sucrosa

;

run;

 

data resutls;

                input subject score;

                datalines;

1 0

2 5

3 2

7 100

;

run;

2)      Make a dataset that has all the information in tumor plus a column for the drugs given.  Include only people who were given a drug.  Call this table onDrugs 

3)      Make a dataset that has all the information in tumor plus a column for the drugs given.  Include all people in the tumor table. Call this table everybodyWithDrugs.

4)      Make a dataset that has everybody in the everybodyWithDrugs dataset plus their results score.