Question

In: Statistics and Probability

A study was conducted to see whether two types of cars, A and B, took the...

A study was conducted to see whether two types of cars, A and B, took the same time to parallel park. Seven drivers were randomly obtained and the time required for each of them to parallel park (in seconds) each of the 2 cars was measured. The results are listed below in order of driver (e.g. the first listing for A and B are driver 1; the second listing driver 2; etc.) Car A: 19, 21.8, 16.8, 24.2, 22, 34.7, 23.8 Car B: 17.8, 20.2, 16.2, 41.4, 21.4, 28.4, 22.7

A. Explain why this is a paired test and not a two sample test.

B. Test whether the there is a difference in mean parallel parking time of the two cars at a 0.05 level of significance. Include the hypotheses, the test statistic, the p-value, test decision and conclusion in the context of the problem.

C. Do you believe the test results are valid? Explain.

D. What test decision error could you have made and provide an explanation of this error in context of the problem. E. Include a copy of your R-code and test output.

Solutions

Expert Solution

(A) This is the paired test because each of the 7 drivers has driven both cars - and hence, his observations (times) for two cars are paired.

(B)

Thus, P-value = 0.7796. Which is greater than the level of significance (0.05) hence, we fail to reject the null hypothesis. Hence, In the context of the problem we can conclude there is no difference in mean parallel parking time for two cars.

(C) The values of d are respectively : 1.2, 1.6, 0.6, -17.2, 0.6, 6.3, 1.1. Notice that, except for 4th driver all other shows more time on second car. Fruther, the value of 4th driver seems unusually low which might be due to mistake or outlier observations. It seems that, if the test is done with ignoring this observation, test will suggest significant difference between two cars. Hence test result doesn't seem valid.

(D) The type II error can be made in this situation. i.e. the error of accepting null hypothesis when it is false. In terms of the problem, it is error of declaring no difference in parking time between two cars when actually the difference exists.

(E)

A <- c(19, 21.8, 16.8, 24.2, 22, 34.7, 23.8 ); B <- c(17.8, 20.2, 16.2, 41.4, 21.4, 28.4, 22.7); d <- A - B; xbar_d <- mean(d); t_cal <- (xbar_d - 0)/(sd(d)/sqrt(length(d))) p_value <- 2* pt(q = abs(t_cal), df=length(d)-1, lower.tail=F); cat("\nsample mean paired diff: ", xbar_d, "\npaired t statistic : ", t_cal, "\nP-value :", p_value);

Output:

sample mean paired diff: -0.8285714
paired t statistic : -0.2926594
P-value : 0.7796396

We were unable to transcribe this image

We were unable to transcribe this image

We were unable to transcribe this image

We were unable to transcribe this image


Related Solutions

A study was conducted to investigate whether a new diet lowers cholesterol. The researchers took a...
A study was conducted to investigate whether a new diet lowers cholesterol. The researchers took a random sample of 100 subjects with high cholesterol and measured the cholesterol levels for each. Then each subject began the new diet as instructed. After six months, the subjects' cholesterol levels were measured again. The differences in cholesterol level, calculated as After - Before, follow an approximately normal distribution. Suppose a 99% confidence interval for the mean cholesterol difference is (-13.89, -7.66). Which of...
A study was conducted to determine whether the mean braking distance of four-cylinder cars is greater...
A study was conducted to determine whether the mean braking distance of four-cylinder cars is greater than the mean braking distance of six-cylinder cars. A random sample of 20 four-cylinder cars and a random sample of 20 six-cylinder cars were obtained, and the braking distances were measured. (a) What would be the appropriate hypothesis test for this analysis? - t-test for two independent samples - t-test for dependent samples - z-test for population mean -correlation (b) Explain the rationale for...
A study was conducted to see whether monetary incentives to use less water during times of...
A study was conducted to see whether monetary incentives to use less water during times of drought had an effect on water usage. Sixty single family homeowners were randomly assigned to one of two groups: 1) monetary incentives and 2) no monetary incentives. At the end of three months, the total amount of water usage for each household, in gallons, was measured. (a) What would be the appropriate hypothesis test to use to test the claim that monetary incentives reduce...
A study is to be conducted to see how long it takes for a taxpayer to...
A study is to be conducted to see how long it takes for a taxpayer to complete his income tax return. Assume that the time required to complete the return is normally distributed. A random sample of 17 taxpayers is taken whose mean (of the time in hours to complete the return) is 7.8 hours with a standard deviation of 2.3 hours. A) Determine the value of t B) Find the approximate error C) Find the interval with 95% confidence...
Study was conducted to find out whether types of tools stolen from work sites differ across...
Study was conducted to find out whether types of tools stolen from work sites differ across New Jersey. The following table shows the theft data collected. Place Saw type 1 Drill 1 Saw type2 Drill 2 Edison 280 175 390 19 Jersey City 248 165 448 10 Rah-way 310 196 996 25 Metuchen 152 108 441 18 Can it be concluded that the type of tools stolen dependent on the place at 1 percent level of significance?
1. A study was conducted with vegetarians to see if the number of grams of protein...
1. A study was conducted with vegetarians to see if the number of grams of protein each ate per day was related to diastolic blood pressure. The data is given below. What is the correlation coefficient of the regression line that relates protein to diastolic pressurep. Round to 3 decimals. grm protein 4 6.5 5 5.5 8 10 9 8.2 10.5 dias pressure 73 79 83 82 84 92 88 86 95 2. The relationship between a fathers age and...
A fuel consumption study is conducted for two types of automobiles. One representative vehicle of each...
A fuel consumption study is conducted for two types of automobiles. One representative vehicle of each type is selected, and the mileage performance is observed for 10 tanks of fuel in each car. The data obtained, expressed in miles per gallon (mpg), are as follows: Car 1: 24.7 24.9 24.8 24.6 24.9 23.9 24.7 24.9 24.5 24.6 Car 2: 41.7 42.8 42.3 42.4 41.6 39.9 39.5 40.8 41.9 39.6 a) Using the appropriate distribution model and a 95% confidence interval,...
A survey of 175 state representatives is conducted to see whether their opinions on a bill...
A survey of 175 state representatives is conducted to see whether their opinions on a bill related to their party affiliation. The following data are obtained.                         Opinion                            Party Approve Disapprove No opinion             Republican 30 15 10             Democrat 40 20 15            Independent 10 15 20 a). Input the data into R. b). Use R to get a barplot representing the percentage of three parties’ opinion. c). Conduct Chi-Square test to see whether the data suggest that the opinions are...
A study was conducted to determine whether a the final grade of a student in an...
A study was conducted to determine whether a the final grade of a student in an introductory psychology course is linearly related to his or her performance on the verbal ability test administered before college entrance. The verbal scores and final grades for 1010 students are shown in the table below. Student Verbal Score x Final Grade y 1 62 72 2 60 76 3 76 93 4 60 69 5 77 88 6 27 31 7 80 96 8...
A study was conducted to detemine whether a the final grade of a student in an...
A study was conducted to detemine whether a the final grade of a student in an introductory psychology course is linearly related to his or her performance on the verbal ability test administered before college entrance. The verbal scores and final grades for 1010 students are shown in the table below. Student Verbal Score xx Final Grade yy 1 60 75 2 37 42 3 70 86 4 71 81 5 42 47 6 26 30 7 69 83 8...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT