Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Other

STA610 SAS Programming Book 1 Exercise Chapter 9 Assignment

Rating
-
Sold
-
Pages
10
Uploaded on
17-09-2024
Written in
2023/2024

An assignment was written for the STA610 (SAS Programming) subject, focusing on exercise chapter 9, book 1, with questions and answers.

Institution
Course

Content preview

COLLEGE OF COMPUTING, INFORMATICS AND MEDIA


BACHELOR OF SCIENCE (HONS.) STATISTICS


COURSE CODE:
SAS PROGRAMMING (STA610)

TOPIC:
EXERCISES CHAPTER 9

NAME:
NUR HUSNINA BINTI ZAMZURI

STUDENT ID:
2023376445

GROUP:
CDCS241 4B

LECTURER NAME:
DR. SHAMSIAH BINTI SAPRI

, Chapter 9.1
Level 2

Q2.

a. Write DATA step that reads orion.customer to create work.birthday.
b. Create 3 variables: Bday2012, BdayDOW2012, and Age2012
• Bday2012 is combination of the month of Birth_Date, the day of Birth_Date and
the constant of 2012 in MDY function.
• BdayDOW2012 is the day of the week of Bday2012.
• Age2012 is the age of the customer in 2012. Subtract Birth_date from
Bday2012 and divide the result by 365.25.
c. Include only: Customer_Name, Birth_Date, Bday2012, BdayDOW2012, Age2012.
d. Format Bday2012 to appear in the form 01Jan2012. Age2012 Should be formatted with
no decimal places.
e. Write PROC PRINT step to create report below. Contain 77 observations.




libname orion "C:\Users\ASUS\OneDrive - Universiti Teknologi
MARA\Desktop\STA610\P1 2017 Data";

data work.birthday;
set orion.customer;
Bday2012=mdy(month(Birth_Date),day(Birth_Date),2012);
BdayDOW2012=weekday(Bday2012);
Age2012=(Bday2012-Birth_Date)/365.25;
keep customer_name birth_date bday2012 bdaydow2012 age2012;
format bday2012 DATE9. age2012 3.;
run;

proc print data=work.birthday;
run;

Written for

Institution
Course

Document information

Uploaded on
September 17, 2024
Number of pages
10
Written in
2023/2024
Type
OTHER
Person
Unknown

Subjects

$6.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
husnina6801

Also available in package deal

Get to know the seller

Seller avatar
husnina6801 UiTM
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
7
Last sold
-
Ninaza

Sells documents used for assignments. I am majoring in Statistics.

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions