The post-lunch dip is the drop in mental alertness after a midday meal. Does an extract of the leaves of ginkgo tree reduce the post-lunch dip? To find out, 39 healthy participants aged 18 to 40 were randomly assigned to two groups: to take either ginkgo extract or placebo. After lunch, each person was asked to read seven pages of random letters and to place an X over every e. The average number of misses per line was recorded for each person. After analyzing the sample data, the decision has been made to perform the pooled t-test to compare the population means. Which of the provided R outputs has led to the decision to perform the pooled t-test? mean sd Ginkgo 0.06383 0.01462 21 Placebo 0.05342 0.01549 18 mean sd Ginkgo 0.06431 0.02412 21 Placebo 0.05349 0.01112 18

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

Use the following prompt to complete subquestions 4.a and 4.b

4.b
The post-lunch dip is the drop in mental alertness after a midday meal. Does an extract of the leaves of ginkgo tree reduce the post-lunch dip? To find
out, 39 healthy participants aged 18 to 40 were randomly assigned to two groups: to take either ginkgo extract or placebo. After lunch, each person
was asked to read seven pages of random letters and to place an X over every e. The average number of misses per line was recorded for each
person.
After analyzing the sample data, the decision has been made to perform the pooled t-test to compare the population means.
Which of the provided R outputs has led to the decision to perform the pooled t-test?
sd
Ginkgo 0.06383 0.01462 21
Placebo 0.05342 0.01549 18
mean
sd
Ginkgo 0.06431 0.02412 21
Placebo 0.05349 0.01112 18
mean
n
Transcribed Image Text:4.b The post-lunch dip is the drop in mental alertness after a midday meal. Does an extract of the leaves of ginkgo tree reduce the post-lunch dip? To find out, 39 healthy participants aged 18 to 40 were randomly assigned to two groups: to take either ginkgo extract or placebo. After lunch, each person was asked to read seven pages of random letters and to place an X over every e. The average number of misses per line was recorded for each person. After analyzing the sample data, the decision has been made to perform the pooled t-test to compare the population means. Which of the provided R outputs has led to the decision to perform the pooled t-test? sd Ginkgo 0.06383 0.01462 21 Placebo 0.05342 0.01549 18 mean sd Ginkgo 0.06431 0.02412 21 Placebo 0.05349 0.01112 18 mean n
In each scenario, a decision has been made to use pooled or general t-test for comparing the two population means. For each scenario, decide which
of the provided R outputs must have led to the decision of using a pooled or unpooled t-test.
Question 4 Subquestions
4.a
Does the population mean number of miles driven annually by the population of drivers who report living in rural areas (total per year, averaged per
driver) differ from the population mean number of miles driven annually by the population of all drivers who report living in urban areas? To address this
question, a random sample of 41 drivers living in rural areas was selected, and another random sample of 61 drivers living in urban areas was selected.
After analyzing the sample data, the decision has been made to perform the general (unpooled) t-test to compare the population means.
Which of the provided R outputs would have led to the decision to perform the general (unpooled) t-test?
> leveneTest(area ~
Levene's Test for Homogeneity of variance (center = "mean")
miles, data=Miles, center="mean");
Df F value Pr(>F)
1 2.3366 0.1295
100
group
> leveneTest(area
Levene's Test for Homogeneity of Variance (center
miles, data=Miles, center="mean");
"mean")
Df F value Pr(>F)
group
1
4.6355 0.03372 *
100
Transcribed Image Text:In each scenario, a decision has been made to use pooled or general t-test for comparing the two population means. For each scenario, decide which of the provided R outputs must have led to the decision of using a pooled or unpooled t-test. Question 4 Subquestions 4.a Does the population mean number of miles driven annually by the population of drivers who report living in rural areas (total per year, averaged per driver) differ from the population mean number of miles driven annually by the population of all drivers who report living in urban areas? To address this question, a random sample of 41 drivers living in rural areas was selected, and another random sample of 61 drivers living in urban areas was selected. After analyzing the sample data, the decision has been made to perform the general (unpooled) t-test to compare the population means. Which of the provided R outputs would have led to the decision to perform the general (unpooled) t-test? > leveneTest(area ~ Levene's Test for Homogeneity of variance (center = "mean") miles, data=Miles, center="mean"); Df F value Pr(>F) 1 2.3366 0.1295 100 group > leveneTest(area Levene's Test for Homogeneity of Variance (center miles, data=Miles, center="mean"); "mean") Df F value Pr(>F) group 1 4.6355 0.03372 * 100
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Groups
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
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