The cost of a leading liquid laundry detergent in different sizes is given below. Size (ounces) Cost ($) Cost per ounce 16 3.19   32 4.39   64 5.59   200 10.99   Part (a) Using "size" as the independent variable and "cost" as the dependent variable, make a scatter plot.         Part (b) Does it appear from inspection that there is a relationship between the variables? Why or why not? Yes, it appears that cost increases with size. No, there is no visible relationship between the variables.     Part (c) Calculate the least squares line. Put the equation in the form of:  ŷ = a + bx.  (Round your answers to three decimal places.) ŷ =  +  x

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
icon
Concept explainers
Question
The cost of a leading liquid laundry detergent in different sizes is given below.
Size (ounces) Cost ($) Cost per ounce
16 3.19  
32 4.39  
64 5.59  
200 10.99  
  1. Part (a)

    Using "size" as the independent variable and "cost" as the dependent variable, make a scatter plot.
       
       

Part (b)

Does it appear from inspection that there is a relationship between the variables? Why or why not?
  • Yes, it appears that cost increases with size.
  • No, there is no visible relationship between the variables.    
  • Part (c)

    Calculate the least squares line. Put the equation in the form of: 
    ŷ = a + bx.
     (Round your answers to three decimal places.)
    ŷ =  +  x
  • Part (d)

    Find the correlation coefficient r. (Round your answer to four decimal places.)
    r = 

    Is it significant?
    Yes or No ?   
  • Part (e)

    If the laundry detergent were sold in a 40-ounce size, find the estimated cost. (Use your equation from part (c). Round your answer to two decimal places.)
  • Part (f)

    If the laundry detergent were sold in an 82-ounce size, find the estimated cost. (Use your equation from part (c). Round your answer to two decimal places.)
  • Part (g)

    Use the two points in parts (e) and (f) to plot the least squares line. Show the points

Part (h)

Does it appear that a line is the best way to fit the data? Why or why not?
  • A line is the best way to fit the data because there seems to be a relationship between the variables.
  • A line is not the best way to fit the data because when you purchase double the amount of detergent, the cost does not double.    
  • A line is the best way to fit the data because the data follow an almost perfect positive linear trend.
  • A line is not the best way to fit the data because it should touch each data value in the scatter diagram.

Part (i)

Are there any outliers in the above data?Select the following
  • Yes, (16, 3.19) is an outlier.
  • Yes, (200, 10.99) is an outlier.    
  • Yes, (16, 3.19) and (200, 10.99) are outliers.
  • No, there are no outliers.

Part (j)

Is the least squares line valid for predicting what a 300-ounce size of the laundry detergent would cost? Why or why not? Select the following?
  • The least squares line is valid for predicting what a 300-ounce container of laundry detergent would cost because all equations can be used to make predictions.
  • The least squares line is valid for predicting the cost of a 300-ounce container of detergent because it is possible to purchase 300 ounces.    
  • The least squares line is not valid for predicting the cost of a 300-ounce container of detergent because 300 ounces is beyond the range of x-values.
  • The least squares line is not valid for predicting the cost of a 300-ounce container of detergent because the cost would be unreasonable.

Part (k)

What is the slope of the least squares (best-fit) line? (Round your answer to three decimal places.)


Interpret the slope.Select the following
  • As the cost of liquid laundry detergent increases by $1, the detergent size increases by this many ounces.
  • As the number of ounces increases by one, the cost of the liquid laundry detergent increases by this many dollars.    
Expert Solution
Step 1

Since you have posted a question with multiple sub parts, we will solve first 3 sub parts for you. To get remaining sub parts solved, please repost the complete question and mention the sub parts to be solved.

Let X be the size as independent variable and 

Y be the cost  as dependent variable

n= number of observations = 4

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Correlation, Regression, and Association
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman