5. A survey designed to study the relationship bctween hypertension and cigarette smoking yiclded the following data (sample size n = 200). Nonsmoker Moderate Smoker Heavy Smoker Нурertension 30 40 30 No hypertension 50 30 20 (i) Test the hypothesis that whether or not an individual has hypertension is independent of how much that person smokes. Describe how to calculate the p-value. (ii) Write some R code for (i).

A First Course in Probability (10th Edition)
10th Edition
ISBN:9780134753119
Author:Sheldon Ross
Publisher:Sheldon Ross
Chapter1: Combinatorial Analysis
Section: Chapter Questions
Problem 1.1P: a. How many different 7-place license plates are possible if the first 2 places are for letters and...
icon
Related questions
Question

5

5.
A survey designed to study the relationship between hypertension and cigarctte smoking
yiclded the following data (sample size n = 200).
%3D
Nonsmoker Moderate Smoker Heavy Smoker
Hypertension
No hypertension
30
40
30
50
30
20
(i) Test the hypothesis that whether or not an individual has hypertension is independent of how much
that person smokes. Describe how to calculate the p-value.
(ii) Write some R code for (i).
Transcribed Image Text:5. A survey designed to study the relationship between hypertension and cigarctte smoking yiclded the following data (sample size n = 200). %3D Nonsmoker Moderate Smoker Heavy Smoker Hypertension No hypertension 30 40 30 50 30 20 (i) Test the hypothesis that whether or not an individual has hypertension is independent of how much that person smokes. Describe how to calculate the p-value. (ii) Write some R code for (i).
Expert Solution
steps

Step by step

Solved in 3 steps with 4 images

Blurred answer