ScholarMatic | 24/7 Homework Help

ScholarMatic Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

SAS- 2

by | Nov 30, 2023 | questions

HELLO,
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…

Document Preview:

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…

Attachments:


ScholarMatic: Explanation & Answer

Your ready answer from a verified tutor is just a click away for as little as $14.99


  

Click Order Now to get 100% Original Answer Customized to your instructions!

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

ScholarMatic: Get Started

Assignment Writing Service

Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!