Question: Hey can I pls get help with exercise 2 i) the data set will be attached below. Please explain using Rstudio. Let M and m

 Hey can I pls get help with exercise 2 i) the

Hey can I pls get help with exercise 2 i) the data set will be attached below. Please explain using Rstudio.

data set will be attached below. Please explain using Rstudio. Let Mand m be the current mean price of Unleaded petrol in the

Let M and m be the current mean price of Unleaded petrol in the Australian cities of Darwin and Adelaide respectively. In both Danivin and Adelaide, 30 petrol stations were selected at random and their prices (in c/L) of Unleaded petrol was recorded. The data is stored in the file petrol.txt. Assuming the petrol prices within each city are independent and identically distributed N011, 0'2) and Man, 0'2) variables respectively, complete the exercises below. Exercise 1 It is claimed that the mean prices of Unleaded petrol in Darwin and Adelaide are different. i) What is the appropriate hypothesis test to use in this situation? Compute the absolute value of the test statistic for this hypothesis ii) test. Write you answer to at least 3 decimal places in the space provided. Select the null distribution of the test statistic. That is, the distribution I") of the test statistic assuming H0 is true. iV) Compute the P-Value for this hypothesis test. Write you answer to at least 3 decimal places in the space provided. v) Select the appropriate statistical outcome for the test when a = 0.05. vi) Select the appropriate statistical outcome for the test when a = 0.01 . One One - Two Paired sample t- sample 2 sample 1'- ttest test test test! 0.984 v - t(58) .N'(0, 1) t(60) 1(30) v t(29) 0.329 v Reject - Do not reject Accept H 0 H 0 V H 0 Accept Reject - Do not reject H 0 H 0 H 0 V Exercise 2 An estimate of the difference in the mean prices of Unleaded in Darwin and Adelaide (in units c/L), is required. Compute the absolute value of the critical value for a 1.960 i ) two-sided 95% CI for M1 - M2 , the difference in mean Unleaded. Write you answer to at least 3 decimal places X in the space provided. Compute the lower and upper bounds for a two-sided 95% CI for, M1 - M2, the difference in mean Unleaded -2.474 7.262 ii) petrol prices between Darwin and Adelaide. Write you answer to at least 3 decimal places in the space provided. Compute the absolute value of the critical value for a iii) two-sided 82% Cl for M1 - M2 , the difference in mean 1.341 Unleaded. Write you answer to at least 3 decimal places X in the space provided. Compute the lower and upper bounds for a two-sided 82% CI for, M1 - M2 , the difference in mean Unleaded -0.907 5.695 iv) petrol prices between Darwin and Adelaide. Write you answer to at least 3 decimal places in the space provided

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 Mathematics Questions!