Question: Refer to the data set EAR.DAT on the Companion Website. We will only consider a subject's first ear (`Ear=1`). Consider a subject cured if *

Refer to the data set EAR.DAT on the Companion Website. We will only consider a subject's first ear (`Ear=1`).

Consider a subject "cured" if

* the subject is a unilateral case and the ear clears by 14 days, or * the subject is a bilateral case and both ears are clear by 14 days.

Read the documentation on the dataset. **Delete all observations for the second ear** from the dataset before you complete the following.

## Part a (6 points)

Run a logistic regression with outcome variable `Clear` and independent variables antibiotic (`Antibo`), and age (`Age`).

Report your results by writing the logistic model in equation form. You must also clearly define the variables used in the equation (namely, the $x_i$'s).

\vspace{0.75in}

## Part b (6 points)

What is the $OR$ for 6+ year old children vs. children younger than 2?

Write a sentence interpreting this number in the context of the problem.

\vspace{0.75in}

## Part c (6 points)

What is the $OR$ for children receiving AMO antibiotic vs. children receiving CEF antibiotic?

Write a sentence interpreting this number in the context of the problem.

\vspace{0.25in}

## part d (6 points) Suppose a two year old child's ear infection in the first ear was cleared within 14 days. Would you classify that child to the group who have been given an antibiotic?

Can you help with creating R code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!