Question

In: Statistics and Probability

The table below contains bus fares in 20 different cities 1.2, 1.3, 1.4, 1.6, 1.65, 1.8,...

The table below contains bus fares in 20 different cities

1.2, 1.3, 1.4, 1.6, 1.65, 1.8, 1.9, 2.0, 2.2, 2.25

2.5, 2.6, 2.7, 2.9, 3.0, 3.2, 4.0, 5.0, 8, 10

(b) Carry out a t-test of the hypothesis H0: μ = 3 vs. Ha: μ < 3. Find the p-value and state your conclusions at α = 0.05.

** Please clearly explain how to obtain P-value** This is what is confusing me most.

Solutions

Expert Solution

Solution:

The null and alternative hypothesis are as follows:

To test the hypothesis the most appropriate test is one sample t-test. The test statistic is given as follows:

  

Where, ,   , n is sample size and μ​​​​​​0 is value of μ specified under H​​​​​​0.

We have n = 20

The value of the test statistic is 0.1189

Our test is left tailed test, therefore we shall obtain left tailed p-value for the test statistic. The left tailed p-value for the test statistic is given as follows:

p-value = P(T < t)

p-value = P(T < 0.1189)

To obtain the p-value we can use R software. The R code for the one sample t-test is given below:

When we execute the above code in R we get the following output:

p-value = 0.5467

Given that significance level α = 0.05

(0.5467 > 0.05)

Since, p-value is greater than the significance level of 0.05, therefore we shall be fail to reject the null hypothesis (H​​​​​​0) at 0.05 significance level.

Conclusion: At α = 0.05, there is not sufficient evidence to support the claim that bus fair is less than 3.


Related Solutions

The table below contains the average daily temperature (C) in two cities: NYC and Philly, recorded...
The table below contains the average daily temperature (C) in two cities: NYC and Philly, recorded during the month of July. Transform the dataset from the wide to the long format. i.e. the new table should have three columns: day, city, and temperature. import numpy as np np.random.seed(seed=0) Cities = ['New York City','Philadelphia'] Temperatures_Data = [] Day = 1 for i in range(100):        Daily_Temperatures = [Day]     for City in Cities:         Temperature = round(np.random.normal(loc=50,scale=12),2)         Daily_Temperatures.append(Temperature)     Temperatures_Data.append(Daily_Temperatures)...
The table below contains summary statistics of measurements of the same variable for four different groups....
The table below contains summary statistics of measurements of the same variable for four different groups. Statistics 1 2 3 4 n 10 10 10 10 xbar 2 2 6 8 s^2 20 20 20 20 (a) Write down the ANOVA table for this data, including the sum ofsquares, degrees of freedom, and mean square for each group. Source of VariationDegree of freedomSum of SquaresMean Square Treatment Error Total b) Using a 5% significant level, test whether these four factor...
The table below contains observations of breakdown time of 3 different machines at a manufacturing site....
The table below contains observations of breakdown time of 3 different machines at a manufacturing site. The production manager believes that the main reason for machines breaking down is the difference in quality of raw material that comes from 3 different sources. On the contrary, the procurement department, which is responsible for supplies, considers as the main reason the old age of some production machines and their poor maintenance. Some young machine operators believe that the problem is more complicated;...
The table below contains data on the enzyme activity of mannose-6-phosphate isomerase (MPI) for three different...
The table below contains data on the enzyme activity of mannose-6-phosphate isomerase (MPI) for three different genotypes (SS, FS, FF) in the amphipod crustacean Platorchestia platensis. Because the effects of sex are not known, specimens were classified by sex. Conduct a two-way ANOVA on this dataset. Test for the effect of genotype, the effect of sex, and whether there is an interaction effect between two factors. Show all calculations and state your conclusions. SS FS FF Females 3.65 3.57 3.99...
The table below contains national income data for Macroeconomics Land: (20 Marks) Year Nominal GDP GDP...
The table below contains national income data for Macroeconomics Land: Year Nominal GDP GDP Deflator Real GDP 2014 $3237.0 93.3 3469.45 2015 $3156.4 97.2 3247.3 2016 $2995.3 100 2995.3 2017 $3376.2 103.2 3271.5 2018 $3517.6 101.4 3469.03 2019 $3797.3 102.6 3701.1 Fill in the missing data in the table. Which year is the base year and what role does this year play in determining real GDP?
The table below contains average cost data for four different-sized plants—1, 2, 3, and 4—which are...
The table below contains average cost data for four different-sized plants—1, 2, 3, and 4—which are the only four sizes possible.     Output Plant 1 Plant 2 Plant 3 Plant 4 110 $135 $155 $180 $200 160 125 135 160 180 210 135 120 135 150 260 150 140 115 140 310 180 160 140 110 360 210 180 165 150 410 245 205 195 180 a. What is the economic capacity output for each of the four plants?      Plant...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT