# The data set HIVrisk.dta contains two columns

Question

The data set HIVrisk.dta contains two columns: risk for unprotected sex and HIV for HIV status. Each woman knew her HIV status.A 2007 study of women in Miami (Brewer et al., Ann Epidemiol. 17:533-539) examined the link between HIV status and high-risk sexual activity. Eligible participants were female, at least 18 years of age, English-speaking, self-reported having vaginal or anal sex in the past 30 days, and self-reported having smoked crack or snorted or injected cocaine or heroin in the last 30 days and having not been in drug treatment in the last 30 days.

What proportion of the women was HIV-positive? _____What proportion was HIV-negative? _______

What proportion engaged in unprotected sex (regardless of HIV-status)? _____________

What proportion of the HIV-positive group engaged in unprotected sex? Provide a 95% CI for the true proportion.____________; ____________________

What proportion of the HIV-negative group engaged in unprotected sex? Provide a 95% CI for the true proportion. _____________; ________________________

Test the null hypothesis that the proportion of HIV-positive women having unprotected sex is equal to the proportion of HIV-negative women having unprotected sex (group proportion comparison). Provide the p-value and state the conclusion.

HIV

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

risk

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Negative

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

no

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

Positive

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

yes

**20%**with the discount code: ESSAYHELP