The following table shows the hot dogs bought from a street vendor over the course of eight days ("Demand"). Also shown is the temperature for each day in degrees Celsius. Complete parts a and b below. Temperature (°C) Demand 18 12 22 19 8 13 18 23 D 49 32 34 41 19 23 44 33 a. Calculate the slope and y-intercept for the linear regression equation for these data. (Round to two decimal places as needed.) b. Predict the demand for hot dogs on a day with a temperature of 21°C. The predicted demand for hot dogs on a day with a temperature of 21°C is (Round to the nearest integer as needed.)
Correlation
Correlation defines a relationship between two independent variables. It tells the degree to which variables move in relation to each other. When two sets of data are related to each other, there is a correlation between them.
Linear Correlation
A correlation is used to determine the relationships between numerical and categorical variables. In other words, it is an indicator of how things are connected to one another. The correlation analysis is the study of how variables are related.
Regression Analysis
Regression analysis is a statistical method in which it estimates the relationship between a dependent variable and one or more independent variable. In simple terms dependent variable is called as outcome variable and independent variable is called as predictors. Regression analysis is one of the methods to find the trends in data. The independent variable used in Regression analysis is named Predictor variable. It offers data of an associated dependent variable regarding a particular outcome.
![The following table shows the hot dogs bought from a street vendor over the course of eight days ("Demand"). Also shown is the temperature for each day in degrees
Celsius. Complete parts a and b below.
Temperature (°c) 18
12
22
19
8
13
18
23
Demand
49
32
34
41
19
23
44
33
a. Calculate the slope and y-intercept for the linear regression equation for these data.
%3D
+
(Round to two decimal places as needed.)
b. Predict the demand for hot dogs on a day with a temperature of 21°C.
The predicted demand for hot dogs on a day with a temperature of 21°C is
(Round to the nearest integer as needed.)](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F8afbe3b1-2558-4234-a034-471c89fba57e%2F96127bbe-1cee-4078-a025-c6d7b7769e82%2Fmmtth6_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
![Elementary Statistics: Picturing the World (7th E…](https://www.bartleby.com/isbn_cover_images/9780134683416/9780134683416_smallCoverImage.gif)
![The Basic Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319042578/9781319042578_smallCoverImage.gif)
![Introduction to the Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319013387/9781319013387_smallCoverImage.gif)