Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Dataset: exposure.sas7bdat Location: S:courseBIOS500Binongo2021_LabDatasets Background: This dataset contains information about body mass index and the factors associated with obesity. General instructions: Access the dataset and

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Dataset: exposure.sas7bdat

Location: S:\course\BIOS500\Binongo\2021_Lab\Datasets

Background: This dataset contains information about body mass index and the factors associated with obesity.

General instructions: Access the dataset and run procedures to explore the data. Only questions 9-11 will require you to use SAS and the mentioned dataset. You will need to use the variable BMI.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
What statement makes counts and percentages missing data show up inside the table produced by a PROC FREQ? O tables gender; Tables gender .; O Tables gender / missing O Tables gender/missing; Question 2 10 pts What statement do you use to create a new data set based on another dataset? (dsn refers to data set name) O set dan; O new dan; O set dsn create dsn Question 3 10 pts What statement can be used to set implausible values to missing, or missing data to appropriate entries? if/where O var/where O if/then O if/varQuestion 4 10 pts What symbol(s) represents missing data for numeric data? O O ; O O None of the above Question 5 10 pts SAS automatically prints the data after every DATA step. O True O False Question 6 10 pts Which of the following is a correct label statement? O label trt='Treatment; O label trt="Treatment" O label trt="Treatment'; O label trt="Treatment";Question 7 10 pts What two statements are needed to create a new dataset using data that you will provide within the DATA step? 0 a.An INPUT statement and a DATALINES statement 0 b. An INPUT statement and a DATASEI' statement 0 c. A DATASEI' statement and aVALUES statement 0 d. A DATASEF statement and an OBS statement Question 8 10 pts What statement would set the implausible value of age 199 to missing? 0 if age='199' then age=missing; 0 var age=199 then age=.; C) if age=199 then age=.; 0 if age=199; Using If/Then statements, create a categorical variable from BMI in the exposure dataset, using the following categories: Underweight: less than 18.5 Normal: >= 18.5, but less than 25 Overweight: >=25, but less than 30 Obese: 30 or higher How many subjects in the dataset are classified as "overweight"? O 229 O 999 O 696 Question 10 10 pts Create a format for the binary coding scheme for variables that are 0/1 so that 1 prints as YES and 0 prints as NO. Apply the format to two of the variables in the exposure dataset that have this coding scheme (e.g. the variables flu and cancer are coded 0/1 . Cross-tabulate the two variables flu and cancer and print the output table (it should display the formats YES and NO, not 1 and 0). How many subjects had values YES/YES O 21 O 18 O 821 O 1064Question 11 George would rather you use formatted values for question 9 instead of creating a character variable. O True O False

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

Functional Analysis And The Feynman Operator Calculus

Authors: Tepper L Gill, Woodford W Zachary, Zachary Woodford

1st Edition

331927595X, 9783319275956

More Books

Students also viewed these Mathematics questions