Question: Construct a two-way table in R of frequency counts with cap.shape as the row variable and class as the column variable. Report it here and

Construct a two-way table in R of frequency counts with cap.shape as the row variable and class as the column variable. Report it here and use it for the parts that follow. (a) If mushrooms with "bell" and "flat" cap shapes are to be compared with "bell" viewed as the baseline, calculate and interpret the relative risk for being of the "poisonous" class. Add 95% confidence limits. (b) If now all four cap shapes are considered, carry out an appropriate test for whether an association exists. In other words, does knowing something about the mushroom's cap shape tell us anything about its class as "edible" or "poisonous" You may use 0.05 for the level of significance

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!