Your Perfect Assignment is Just a Click Away

We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

UCLA Creating a SAS Data sets Reading Spreadsheet and Database Data

UCLA Creating a SAS Data sets Reading Spreadsheet and Database Data

UCLA Creating a SAS Data sets Reading Spreadsheet and Database Data

Question Description

detail see the attached file, this is the first question.

1. Creating a SAS Data Set

a. Retrieve and submit the starter program p106e01.

What is the name of the variable that contains gender values?

What are the two observed gender values?

b. Add a DATA step before the PROC PRINT step to create a new data set named work.youngadult. Use the data set orion.customer_dim as input. Include a WHERE statement to select only female customers.

Submit the program and confirm that work.youngadult was created with 30 observations and
11 variables.

c. Modify the program to select female customers whose ages are between 18 and 36. Submit the program and confirm that work.youngadult was created with 15 observations and 11 variables.

d. Modify the program to select 18- to 36-year-old female customers who have the word Gold in their Customer_Group values. Submit the program and confirm that work.youngadult was created with five observations and 11 variables.

e. Add an assignment statement to the DATA step to create a new variable, Discount, and assign it
a value of .25.

f. Modify the PROC PRINT step to print the new data set as shown below. Use an ID statement to display Customer_ID instead of the Obs column. Results should contain five observations.

Customer_ Customer_

Customer_ID Customer_Name Age Gender Customer_Group Discount

5 Sandrina Stephano 28 F Orion Club Gold members 0.25

9 Cornelia Krahl 33 F Orion Club Gold members 0.25

45 Dianne Patchin 28 F Orion Club Gold members 0.25

49 Annmarie Leveille 23 F Orion Club Gold members 0.25

2550 Sanelisiwe Collier 19 F Orion Club Gold members 0.25

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Top Grade Essays only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Top Grade Essays are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Top Grade Essays is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Top Grade Essays, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.