Question: Answer the question completely in R language,please. the data made from http://www1.maths.leeds.ac.uk/~arief/MATH1712/data/vessels.csv Still considering Ardglass and Newlyn, use a Welch t-test to test the following
Still considering Ardglass and Newlyn, use a Welch t-test to test the following hypotheses at 5%-level: H0 : overall vessel lengths at both ports have the same mean H1 : overall vessel lengths at both ports have different means and H0 : vessel engine powers at both ports have the same mean H1 : vessel engine powers at both ports have different means. For both tests, first compute the test statistic yourself (using simple R commands), and then re-do the test using the R function t.test() (see help(t.test) for how to use this function). Make sure that both methods give the same result. Comment on the applicability of the chosen test, and discuss the results of the test. Note: By default, the command t.test () will perform Welch t-test in R
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
