C D and E

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
C D and E
Question 8:
Suppose we are interested in comparing the proportion of male students who smoke to the
proportion of female students who smoke. We have a random sample of 150 students (60 males
and 90 females) that includes two variables: Smoke = "yes" or "no" and Gender = "female (F)" or
"male (M)." The two-way table below summarizes the results.
Smoke = Yes
Smoke = No
Sample Size
Gender M
Gender F
9.
51
60
9.
81
90
a. If the parameter of interest is the difference in proportions, pm- Pf, where pm and pf
represent the proportion of smokers in each gender, find the difference in proportions
based on the data in the table. Report your answer with two decimal places.
Smoke =yes
Smo ke z
F
b. Describe how to use the data to construct a bootstrap distribution. What value should be
recorded for each of the bootstrap samples.
Pm - sm Gke =yes
Smoke ves
Samplesize
sample si 2e
60
90
-0.IS
ニo.1
Transcribed Image Text:Question 8: Suppose we are interested in comparing the proportion of male students who smoke to the proportion of female students who smoke. We have a random sample of 150 students (60 males and 90 females) that includes two variables: Smoke = "yes" or "no" and Gender = "female (F)" or "male (M)." The two-way table below summarizes the results. Smoke = Yes Smoke = No Sample Size Gender M Gender F 9. 51 60 9. 81 90 a. If the parameter of interest is the difference in proportions, pm- Pf, where pm and pf represent the proportion of smokers in each gender, find the difference in proportions based on the data in the table. Report your answer with two decimal places. Smoke =yes Smo ke z F b. Describe how to use the data to construct a bootstrap distribution. What value should be recorded for each of the bootstrap samples. Pm - sm Gke =yes Smoke ves Samplesize sample si 2e 60 90 -0.IS ニo.1
C. Use STATKEY or some technology to construct a bootstrap distribution with at least 1,000
samples and estimate the standard error.
d. Use the estimate of the standard error to construct a 95% confidence interval for the
difference in the proportion of smokers between male and female students, Pm - Pf-
Round the margin of error to three decimal places. Provide an interpretation of the
interval in the context of this data situation.
e. You wish to provide a 98% confidence interval for the difference in the proportion of
smokers between male and female students. State which percentiles of your bootstrap
distribution you would use.
a. Use the 1%- and 99%-tiles
b. Use the 2%- and 98%-tiles
C. Use the 4%- and 96%-tiles
d. Use the 5%- and 95%-tiles
Transcribed Image Text:C. Use STATKEY or some technology to construct a bootstrap distribution with at least 1,000 samples and estimate the standard error. d. Use the estimate of the standard error to construct a 95% confidence interval for the difference in the proportion of smokers between male and female students, Pm - Pf- Round the margin of error to three decimal places. Provide an interpretation of the interval in the context of this data situation. e. You wish to provide a 98% confidence interval for the difference in the proportion of smokers between male and female students. State which percentiles of your bootstrap distribution you would use. a. Use the 1%- and 99%-tiles b. Use the 2%- and 98%-tiles C. Use the 4%- and 96%-tiles d. Use the 5%- and 95%-tiles
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman