Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use RSTUDIO is 5. In a classic study of peptic ulcer, blood types were determined for 1,655 ulcer patients. The accompanying table shows the

image text in transcribed

Please use RSTUDIO

image text in transcribed
is 5. In a classic study of peptic ulcer, blood types were determined for 1,655 ulcer patients. The accompanying table shows the data for these patients and for an independently chosen group of 10,000 healthy controls from the same city. Perform a test to see if the population distribution of the ulcer patients is different from the population distribution of the patients in the control group. Patient Group Blood Type Ulcer Control O 911 4578 A 579 4219 B 124 890 AB 41 313 Total 1655 10000 (a) We have discussed 3 different x tests: Goodness of Fit, Independence Test and Homogene- ity Test. Which test should you run for the information given and how do you know? (b) Get the data table into R as a matrix. Do not include the column totals. (c) Calculate the expected values for the observed values in the table. Do these pass the greater than 5 criteria for the expected values? (d) Perform the x2 test you decided upon. Give me your hypotheses, test code and output, and a well written conclusion

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

Elementary Linear Programming With Applications

Authors: Bernard Kolman, Robert E Beck

2nd Edition

0080530796, 9780080530796

More Books

Students also viewed these Mathematics questions

Question

Personal role: This consists of service to family and friends.

Answered: 1 week ago

Question

The role of life: It consists of your own service to yourself.

Answered: 1 week ago