IF YOU CAN NOT DONE ALL IN TIME, LET ME KNOW HOW MANY CAN YOU DO AND HOW MUCH FOR THAT ? AND IF YOU CAN DONE ALL LET ME KNOW PRICE FOR THAT TOO.. THANKS…
Sas Programming
1. You have the following datalines data with the given layout:
Variable TypeStarting_col Length
ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ
name Char 1 10
bday Num 12 10
Franklin 12/25/1903 Washington 02/29/1956 Mary 12/31/1999 Eric 01/01/2000 Janet 07/04/2001
Write a program to create a SAS data set called DATES, and list the resulting data set with PROC PRINT. Create variables NAME, BDAY, and also create the following new variables:
New Variables
Descriptions
SEX
Sex of the Person
Senior
=1 if a person is a senior Citizen (AGE of 65 or older)
=0 otherwise
Age
Age in Years
DaysBir
Number of Days Until Birthday from New Years Day
2. You are given the following codes to generate two SAS data sets.
/* start of the program */
Libname mylib ‘t:’;
data mylib.company;
input Name $ 1-25 Age 27-28 Gender $ 30;
datalines;
Vincent, Martina 34 F
Phillipon, Marie-Odile 28 F
Gunter, Thomas 27 M
Harbinger, Nicholas 36 M
Benito, Gisela 32 F
Rudelich, Herbert 39 M
Sirignano, Emily 12 F
Morrison, Michael 32 M
;
run;
data mylib.finance;
input IdNumber $ 1-11 Name $ 13-40 Salary;
datalines;
074-53-9892 Vincent, Martina 35000
776-84-5391 Phillipon, Marie-Odile 29750
929-75-0218 Gunter, Thomas 27500
446-93-2122 Harbinger, Nicholas 33900
228-88-9649 Benito, Gisela 28000
029-46-9261 Rudelich, Herbert 35000
442-21-8075 Sirignano, Emily 5000
;
run;
/*end of the program*/
After running the above program, you should write a SAS program to accomplish the following:
a. Combine the two data sets by the Individuals NAME.
b. Write down the Number of Observations, Number of Variables, the order of the variables in the new data.
3. You are given a SAS data set called TRIAL that contains patient ID and four variables…





