Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using PROC SORT, arrange (or sort) the SASHELP.HEART dataset in ascending order by STATUS and SEX to a new temporary SAS data set. Then, transpose

Using PROC SORT, arrange (or sort) the SASHELP.HEART dataset in ascending order by STATUS and SEX to a new temporary SAS data set. Then, transpose the character variable, SMOKING STATUS, from the temporary sorted HEART dataset and create a new temporary transposed data set by SMOKING_STATUS. Then, construct a DATA step with 3, 221 elements that selects and changes the STATUS = "Alive" and _NAME_ = "Smoking Status observations for SMOKING STATUS -smoker "Smoke-free" for each patient. Finally , produce an EXCEL spreadsheet file using PROC REPORT by specifying the ODS EXCEL destination containing the revised results.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Contabilidad Para No Contadores

Authors: Wayne Label

2nd Edition

9587712986, 9789587712988

More Books

Students also viewed these Accounting questions

Question

=+a. Consumer-Focused show benefits.

Answered: 1 week ago