Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A questionnaire has been given to men in South Africa who are HIV positive and have an active genital ulcer. The baseline and lab data

A questionnaire has been given to men in South Africa who are HIV positive and have an active genital ulcer. The baseline and lab data collected includes age, whether they are on antiretroviral medication (ARVs), their ethnic group, the area/size of their ulcer in millimeters, their plasma HIV viral load , herpes 2 status, and whether their ulcer is shedding HIV.

The variable names in the SAS dataset are as follows:

AGE ARV ETHNIC AREA HIVLoad HERPES HIVShed

Coding Guide

Ulcer shedding HIV:1=Yes 0=No

Taking antiretrovirals:1=Yes 0=No

What is your Ethnicity? 1=Xhosa2=Zulu

3=Sotho 4=Tsonga 5=Other

Herpes 2 Status: 1=Positive 0=Negative

The data is stored in SAS dataset called baseline.sas7bdat in a folder on your computer (just make up a name of the folder).

Which SAS program would accomplish the following below? (2 points each)

1.Create user-defined formats for the variables listed in the coding guide above.

2.Use a Data step to read the permanent SAS data set into a temporary dataset called HIV. Use a libname statement consistent with the version of SAS you have been using this semester.

3.Assign the user defined formats to the appropriate variables in the data step.

4.Have SAS draw a histogram of plasma HIV viral load.

5.Have SAS examine whether there is a relationship between HIV shedding and Herpes result. Request the odds ratio and the p-value for the chi-square test.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Applied Regression Analysis And Other Multivariable Methods

Authors: David G. Kleinbaum, Lawrence L. Kupper, Azhar Nizam, Eli S. Rosenberg

5th Edition

1285051084, 978-1285963754, 128596375X, 978-1285051086

Students also viewed these Mathematics questions