t.test (improved,local, var.equal=TRUE, paired=TRUE) Paired t-test data: improved and local t = 2.3294, df = 24, p-value = 0.02858 %3D alternative hypothesis: true difference in means is not equal to 95 percent confidence interval:

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
t.test(improved,local, var.equal=TRUE, paired=TRUE)
Paired t-test
data:
improved and local
t = 2.3294, df = 24, p-value
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
= 0.02858
43.55653 720.66977
sample estimates:
mean of the differences
382.1131
t.test (diff,mu=0, alternative =
"greater")
One Sample t-test
data:
diff
t = 2.3294, df = 24, p-value
alternative hypothesis: true mean is greater than 0
95 percent confidence interval:
= 0.01429
101.4644
Inf
sample estimates:
mean of x
382.1131
Select the correct output, and using the selected output:
(1)
Write the null and alternative hypotheses for the situation under question.
(ii)
ference in this case. Assume that all those conditions are satisfied and proceed further.
Write all the conditions/assumptions necessary for drawing statistical in-
Transcribed Image Text:t.test(improved,local, var.equal=TRUE, paired=TRUE) Paired t-test data: improved and local t = 2.3294, df = 24, p-value alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: = 0.02858 43.55653 720.66977 sample estimates: mean of the differences 382.1131 t.test (diff,mu=0, alternative = "greater") One Sample t-test data: diff t = 2.3294, df = 24, p-value alternative hypothesis: true mean is greater than 0 95 percent confidence interval: = 0.01429 101.4644 Inf sample estimates: mean of x 382.1131 Select the correct output, and using the selected output: (1) Write the null and alternative hypotheses for the situation under question. (ii) ference in this case. Assume that all those conditions are satisfied and proceed further. Write all the conditions/assumptions necessary for drawing statistical in-
The improved crop varieties are evaluated at farmers fields before their release for a
large scale production. The claim made by a chickpea breeder is that, on average,
her improved variety produces higher yield of chickpea compared to the local variety
grown by farmers in her region.
To examine her claim, the improved variety of chickpea was evaluated at 25 randomly
selected farmer-fields (farms) in that region. Each field was divided into two parts,
one part of the field was randomly assigned to the improved variety to be grown under
a crop management practice recommended for this variety, and the other part to the
local variety with an ongoing practice followed for it. You may note there were 25
different fields and the two varieties were grown within each of them.
The chickpea yields of the two varieties were measured, in kg per hectare, from each of
the fields. The following R- code outputs contain the information that you may use to
answer the questions. The data vectors, "improved" and "local" , hold the observed
yields of the improved variety and local variety, respectively, and are of same length
25. The "diff =improved - local". The row i of these vectors are the values for the
field i, i = 1,..., 25.
t.test (improved,local, var.equal=TRUE, paired=FALSE )
Two Sample t-test
data:
improved and local
t = 2.6664, df
48, p-value = 0.01042
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
93.97748 670.24882
sample estimates:
mean of x mean of y
2496.033
2113.919
t.test (improved,local, var.equal=TRUE, paired=FALSE, alternative =
c("greater"))
Two Sample t-test
improved and local
48, р-value
data:
t = 2.6664, df =
= 0.005209
alternative hypothesis: true difference in means is greater than 0
95 percent confidence interval:
141.7572
Inf
sample estimates:
mean of x mean of y
2496.033
2113.919
Transcribed Image Text:The improved crop varieties are evaluated at farmers fields before their release for a large scale production. The claim made by a chickpea breeder is that, on average, her improved variety produces higher yield of chickpea compared to the local variety grown by farmers in her region. To examine her claim, the improved variety of chickpea was evaluated at 25 randomly selected farmer-fields (farms) in that region. Each field was divided into two parts, one part of the field was randomly assigned to the improved variety to be grown under a crop management practice recommended for this variety, and the other part to the local variety with an ongoing practice followed for it. You may note there were 25 different fields and the two varieties were grown within each of them. The chickpea yields of the two varieties were measured, in kg per hectare, from each of the fields. The following R- code outputs contain the information that you may use to answer the questions. The data vectors, "improved" and "local" , hold the observed yields of the improved variety and local variety, respectively, and are of same length 25. The "diff =improved - local". The row i of these vectors are the values for the field i, i = 1,..., 25. t.test (improved,local, var.equal=TRUE, paired=FALSE ) Two Sample t-test data: improved and local t = 2.6664, df 48, p-value = 0.01042 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: 93.97748 670.24882 sample estimates: mean of x mean of y 2496.033 2113.919 t.test (improved,local, var.equal=TRUE, paired=FALSE, alternative = c("greater")) Two Sample t-test improved and local 48, р-value data: t = 2.6664, df = = 0.005209 alternative hypothesis: true difference in means is greater than 0 95 percent confidence interval: 141.7572 Inf sample estimates: mean of x mean of y 2496.033 2113.919
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
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