Homework
For each of the problems below do:
- State the null and alternative hypothesis.
- will this be a one tail or two-tail test?.
- Indicate the type of test to use (Z-test or T-test).
- Run the given test in R, or by hand, which ever is easier.
- Report your results on top of a publication quality plot.
- Describe your conclusion.
Problem 1: Public safety standards indicate that CO2 emissions of gasoline cars should be 8.89kilogram +/-.2 kg for each gallon of gasoline used.A car company is being sued by costumers who claim these cars produce much more carbon emissions. A sample of 500 cars of this given company were used to measure carbon emissions and the results indicated that on average the cars produced 9.2 CO2kg/gallon of gas. Do the data support the claim of these costumers?
Problem 2: An energy drink company recently purchased a bottling machine for their 250ml trade-mark product. Before releasing any product, the factory manager wants to confirm the right volume of liquid is being dispensed by this machine. He measured the volume of liquid in several samples, which were 245.5, 249.2, 251.2, 251.1, 252ml. Given these data, what will be your recommendation about starting to pack the product with his machine?