Question

In: Statistics and Probability

You must download the file “Assn3_Qu#2_W19” to use the required data. It gives the number of...

You must download the file “Assn3_Qu#2_W19” to use the required data. It gives the number of city-bus users (Ridership) on a public transportation system of a large city in 3 given working days chosen at random in units of hundreds. It gives this data separately for the 4 busy bus routes and for 5 time slots. Here, TSlot1: from start of day to 9:30 am, TSlot2: 9:30 – 12:30, TSlot3: 12:30 – 15:30, TSlot4: 15:30 – 18:30 and Time-Slot5: 18:30 to end of day a. Test if the mean ridership for the four bus routes are the same or different. b. Show how the MSE can be calculated from the individual sample variances. c. Based on the residual plots, can you comment on the aptness of this single factor model? d. Use the Bonferroni Multiple Comparison (BMC) approach to rank (in descending order) the bus routes in terms of their mean ridership.

BRoute1   BRoute2   BRoute3   BRoute4
27 24   28   28
25   24   28   30
23   24   28   26
19   20   24   24
15   24   23   22
14   25   22   20
19   23   25   23
21   21   29   23
23   19   24   20
24   20   30   26
20   24   28   25
24   22   29   24
18   14   20   19
15   17   21   22
21   20   22   25

Solutions

Expert Solution

a. Test if the mean ridership for the four bus routes are the same or different.

Ans:

Source DF SS MS F P
Route 3 272.8 90.9 7.52 0.000
Error 56 677.3 12.1
Total 59 950.2

Comment: The p-value of Route is 0.000 and less than 0.05. Hence, the mean ridership for the four bus routes is different at 0.05 level of significance that is at least one route has the significant mean difference.

b. Show how the MSE can be calculated from the individual sample variances.

c. Based on the residual plots, can you comment on the aptness of this single factor model?

From the above residual plots, we can conclude that the assumptions of the normality, randomness, and homoscedasticity are satisfied. Hence, it is appropriateness this single factor model.

d. Use the Bonferroni Multiple Comparison (BMC) approach to rank (in descending order) the bus routes in terms of their mean ridership.

Multiple Comparisons
Y
Bonferroni
(I) Time (J) Time Mean Difference (I-J) Std. Error Sig. 95% Confidence Interval
Lower Bound Upper Bound
BRoute1 BRoute2 -1.5333 1.26992 1.000 -5.0068 1.9402
BRoute3 -5.5333* 1.26992 .000 -9.0068 -2.0598
BRoute4 -3.9333* 1.26992 .018 -7.4068 -.4598
BRoute2 BRoute1 1.5333 1.26992 1.000 -1.9402 5.0068
BRoute3 -4.0000* 1.26992 .016 -7.4735 -.5265
BRoute4 -2.4000 1.26992 .384 -5.8735 1.0735
BRoute3 BRoute1 5.5333* 1.26992 .000 2.0598 9.0068
BRoute2 4.0000* 1.26992 .016 .5265 7.4735
BRoute4 1.6000 1.26992 1.000 -1.8735 5.0735
BRoute4 BRoute1 3.9333* 1.26992 .018 .4598 7.4068
BRoute2 2.4000 1.26992 .384 -1.0735 5.8735
BRoute3 -1.6000 1.26992 1.000 -5.0735 1.8735

a


Related Solutions

You must download the file “Assn3_Qu#2_W19” to use the required data. It gives the number of...
You must download the file “Assn3_Qu#2_W19” to use the required data. It gives the number of city-bus users (Ridership) on a public transportation system of a large city in 3 given working days chosen at random in units of hundreds. It gives this data separately for the 4 busy bus routes and for 5 time slots. Here, TSlot1: from start of day to 9:30 am, TSlot2: 9:30 – 12:30, TSlot3: 12:30 – 15:30, TSlot4: 15:30 – 18:30 and Time-Slot5: 18:30...
Assignment 3 Qu #2 W19 You must download the file “Assn3_Qu#2_W19” to use the required data....
Assignment 3 Qu #2 W19 You must download the file “Assn3_Qu#2_W19” to use the required data. It gives the number of city-bus users (Ridership) on a public transportation system of a large city in 3 given working days chosen at random in units of hundreds. It gives this data separately for the 4 busy bus routes and for 5 time slots. Here, TSlot1: from start of day to 9:30 am, TSlot2: 9:30 – 12:30, TSlot3: 12:30 – 15:30, TSlot4: 15:30...
Download the file data.csv (comma separated text file) and read the data into R using the...
Download the file data.csv (comma separated text file) and read the data into R using the function read.csv(). Your data set consists of 100 measurements in Celsius of body temperatures from women and men. Use the function t.test() to answer the following questions. Do not assume that the variances are equal. Denote the mean body temperature of females and males by μFμF and μMμMrespectively. (a) Find the p-value for the test H0:μF=μMH0:μF=μM versus HA:μF≠μM.HA:μF≠μM. Answer (b) Are the body temperatures...
2.6 Collins temperature data (Data file: ftcollinstemp) The data file gives the mean temperature in the...
2.6 Collins temperature data (Data file: ftcollinstemp) The data file gives the mean temperature in the fall of each year, defined as Sep- tember 1 to November 30, and the mean temperature in the following winter, defined as December 1 to the end of February in the following calendar year, in degrees Fahrenheit, for Ft. Collins, CO (Colorado Climate Center, 2012). These data cover the time period from 1900 to 2010. The question of interest is: Does the average fall...
Please use R to solve part e and f The data file data2.txt gives a data...
Please use R to solve part e and f The data file data2.txt gives a data set with two variables x and y. The first column in the data set is just row numbers not useful for this question. (e) Use the Shapiro-Wilks test to test for Normality of the data. State your null and alternative hypotheses, p-value and conclusion. Use α = 0.05 (f) Apply the transformation y 0 = log(y) and run the regression on y 0 on...
Question 2: Download the Excel data file "Arlington_Homes" from the folder "Data" under "Chapter 12." a)...
Question 2: Download the Excel data file "Arlington_Homes" from the folder "Data" under "Chapter 12." a) read the data file in R. b) using R, answer question 65 (a, b, and c) on page 411 of your book. Run the regression, show the estimates and test. Write what you are testing using a comment in the R program. Question #65. link for page 411 #65 https://imgur.com/s0SgxP3 please show every step for R frmulas Price Sqft Beds Baths Col 840000 2768...
warpbreaks is a built-in R dataset which gives This data set gives the number of warp...
warpbreaks is a built-in R dataset which gives This data set gives the number of warp breaks per loom, where a loom corresponds to a fixed length of yarn. We are interested in some descriptive statistics related to the warpbreaks dataset. We can access this data directly and convert the time series into a vector by using the assignment x <- warpbreaks$breaks. (In R, use ? warpbreaks for info on this dataset.) The values of x if assigned as above...
you need to submit the following files: Main.java Additionally, you need to download file ‘letter_count.csv’, that...
you need to submit the following files: Main.java Additionally, you need to download file ‘letter_count.csv’, that contains counts for characters in a text (see submission folder on iCollege) and put it into the root of related Eclipse project folder. To view your project folder through system file explorer, right-click on ‘src’ folder in the Eclipse project explorer and choose ‘Show In->System Explorer’. Consider the following Java code, that reads a .csv file: BufferedReader csvReader = new BufferedReader(new FileReader("letter_count.csv")); String currentRow...
. You must use Excel (submit either a pdf, word or Excel file only). . You...
. You must use Excel (submit either a pdf, word or Excel file only). . You must identify the 5 steps (you must address each in detail). Problem: Use the given data to complete a t-test using Excel. Question: Is there a difference in group means between the number of words spelled correctly for two groups of fourth graders? Group Assignment Score 1 3 1 4 1 10 2 14 2 7 2 8 2 10 2 15 2 9...
Download the following zip file Bag and complete the program. You will need to complete files...
Download the following zip file Bag and complete the program. You will need to complete files MyBag and . MyBag uses the java API class ArrayList as the underline data structure. Using the class variables given, complete the methods of the MyBag class. In your BagHand class you should set appropriate default values for select class variables in the constructor in the add method, use the MyBag object to add a PlayingCard type to the bag and find and set...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT