Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SAS Coding Question 1. Create categories (tertiles) for age at visit 9 and generate a frequency distribution of the new tertiles variable for age at

SAS Coding
Question 1.
Create categories (tertiles) for age at visit 9 and generate a frequency distribution of the new tertiles variable for age at visit 9. What would be the code to do this in SAS?
image text in transcribed
data test; 2 set nghslib.nghsdatal; 3 run; 5/917 6 Proc contents data=test; 7 run; 9/92/ 10 Proc means data-test; 11 var activescorel activescore2 activescore activescore18; run; 1 14/"q37 15 proc means median min pi p25 pse pse p75 099 max maxdec 2; 16 var activescorel; 17 run; 15 19 / 937 20 proc univariate data-nghslibingsdatol; 21 var ActiveScore10; 22 histogram ActiveScorele; run; data test; 2 set nghslib.nghsdatal; 3 run; 5/917 6 Proc contents data=test; 7 run; 9/92/ 10 Proc means data-test; 11 var activescorel activescore2 activescore activescore18; run; 1 14/"q37 15 proc means median min pi p25 pse pse p75 099 max maxdec 2; 16 var activescorel; 17 run; 15 19 / 937 20 proc univariate data-nghslibingsdatol; 21 var ActiveScore10; 22 histogram ActiveScorele; run

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

Database Basics Computer EngineeringInformation Warehouse Basics From Science

Authors: Odiljon Jakbarov ,Anvarkhan Majidov

1st Edition

620675183X, 978-6206751830

More Books

Students also viewed these Databases questions

Question

9. Understand the phenomenon of code switching and interlanguage.

Answered: 1 week ago