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

Answer the question completely in R language,please.
the data made from "http://www1.maths.leeds.ac.uk/~arief/MATH1712/data/vessels.csv"
Answer the question completely in R language,please.the data made from "http://www1.maths.leeds.ac.uk/~arief/MATH1712/data/vessels.csv" Still

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!