首页 >
> 详细

MATH2392 Practice of Analytics

Assignment 4

Due date: Friday, 23 October, 2020

1. The data file satisfaction.csv (located on Canvas -> Assignment 4)

recoded satisfaction score for two flights. This data has been collected

from different group of passages. Complete the following tasks using R.

a. Read the data set into R. Write a simple code to compute the mean of

satisfaction score for each flight.

b. Create a comparison boxplot for the score of two flights.

c. Perform the hypothesis test for the satisfaction score of the two flights.

Does the sample provide enough evidence to support the claim that the

mean score satisfaction of flight 1 is less than the mean score

satisfaction of flight 2?

d. Extract p-value from your output results. Base on the p-value, make

simple conclusion about your test. (ie., whether or not the null

hypothesis should be rejected. The null hypothesis in this problem is:

mean score satisfaction of flight 1 is equal to the mean score

satisfaction of flight 2).

e. Check whether the assumption of equal variance is valid or not.

Copy and Paste the coding and output on your answer sheet.

Submit your answer sheet with simple answer to the question where it is

required.

(2 + 1 + 2 + 2 + 1 = 8 marks)

2. Researchers would like to know if the variation in the weight that plane

carries affect its fuel consumption. The dataset consumption.csv on

Canvas -> Assignment 4 presents the fuel consumption and the weight

that plane is carrying. Use R to complete the following tasks.

a. Read the data set consumption.csv into R. Compute the correlation

between fuel consumption and weight.

b. Create a scatter plot for fuel consumption and weight. Does the plot

indicate that there is linear relationship between the fuel consumption

and weight?

c. Create the regression model with fuel consumption as dependent

variable and weight as independent variable.

d. Check the result by extracting the estimated coefficient, the fitted

values and residuals;

e. Add a line of best-fit to the scatter plot.

Copy and Paste the coding and output on your answer sheet.

Submit your answer sheet with simple answer to the question where it is

required.

(2 + 1 + +1 + 2 + 1 = 7 marks)

联系我们

- QQ：99515681
- 邮箱：99515681@qq.com
- 工作时间：8:00-23:00
- 微信：codinghelp2

- Cs2461-10实验程序代做、代写java，C/C++，Python编程设 2021-03-02
- 代写program程序语言、代做python，C++课程程序、代写java编 2021-03-02
- Programming课程代做、代写c++程序语言、Algorithms编程 2021-03-02
- 代写csc1-Ua程序、代做java编程设计、Java实验编程代做 代做留学 2021-03-02
- 代做program编程语言、代写python程序、代做python设计编程 2021-03-02
- 代写data编程设计、代做python语言程序、Python课程编程代写 代 2021-03-02
- Cse 13S程序实验代做、代写c++编程、C/C++程序语言调试 代写留学 2021-03-02
- Mat136h5编程代做、C/C++程序调试、Python，Java编程设计 2021-03-01
- 代写ee425x实验编程、代做python，C++，Java程序设计 帮做c 2021-03-01
- Cscc11程序课程代做、代写python程序设计、Python编程调试 代 2021-03-01
- 代写program编程、Python语言程序调试、Python编程设计代写 2021-03-01
- 代做r语言编程|代做database|代做留学生p... 2021-03-01
- Data Structures代写、代做r编程课程、代做r程序实验 帮做ha 2021-03-01
- 代做data留学生编程、C++，Python语言代写、Java程序代做 代写 2021-03-01
- 代写aps 105编程实验、C/C++程序语言代做 代写r语言程序|代写py 2021-03-01
- Fre6831 Computational Finance 2021-02-28
- Sta141b Assignment 5 Interactive Visu... 2021-02-28
- Eecs2011a-F20 2021-02-28
- Comp-251 Final Asssessment 2021-02-28
- 代写cs1027课程程序、代做java编程语言、代写java留学生编程帮做h 2021-02-28