Suppose you are a dolphin trainer at SeaWorld. You teach the dolphins by rewarding them with fish treats after each successful attempt at a new trick. The following table lists the dolphins, the number of treats per success given to each, and the average number of attempts necessary for each to learn to perform the tricks. Dolphin Number of Treats Number of Attempts Diana 2 5 Frederick 4 4 Fatima 1 7 Marlin 3 4 You can use the preceding sample data to obtain the regression line, where Ŷ is the predicted value of Y: ŶŶ = = bX + abX + a One formula for the slope of the regression line is as follows: bb = = SPSSxSPSSx To calculate the slope, first calculate SP and SSxx: SP = , and SSxx = . (Hint: For SP use the computational formula and for SSxx use the definitional formula.) The slope of the regression line is , and the Y intercept of the regression line is . The difference between Y and Ŷ for a particular sample point (observation) is called a residual. Calculate the predicted Y (Ŷ) for each of the dolphins, and then calculate the residuals. Dolphin Number of Treats Number of Attempts Predicted Y (Ŷ) Residual Diana 2 5 Frederick 4 4 Fatima 1 7 Marlin 3 4 On the following scatter diagram of the blue sample points (circle symbol), use the orange points (square symbol) to plot the regression line. Make sure that the orange line spans the entire graph (from left to right). A line segment will automatically connect the points. Regression Line012345109876543210NUMBER OF ATTEMPTSNUMBER OF TREATS Use the regression line to estimate the number of trials it would take to learn these tricks if a dolphin received five treats per trick. Ŷ for X = 5 would be . The head dolphin trainer is pressuring you to teach the dolphins many new tricks quickly. She has asked you to use the least-squares regression line to predict how fast the dolphins can learn tricks if you were to give them 9 treats. Which of the following is the most appropriate response? The regression line predicts that the dolphins will need 5.5 attempts to learn a trick if they are given 9 treats. The regression line predicts that the dolphins will need -1.5 attempts to learn a trick if they are given 9 treats. The regression line was estimated using 1 to 4 treats and should not be used to predict what would happen if the dolphins were given 9 treats. Since the regression line predicts that the dolphins will need a negative number of attempts, you can assume the dolphins need 0 attempts if given 9 treats.
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.
Dolphin
|
Number of Treats
|
Number of Attempts
|
---|---|---|
Diana | 2 | 5 |
Frederick | 4 | 4 |
Fatima | 1 | 7 |
Marlin | 3 | 4 |
ŶŶ | = = | bX + abX + a |
bb | = = | SPSSxSPSSx |
Dolphin
|
Number of Treats
|
Number of Attempts
|
Predicted Y (Ŷ)
|
Residual
|
---|---|---|---|---|
Diana | 2 | 5 |
|
|
Frederick | 4 | 4 |
|
|
Fatima | 1 | 7 |
|
|
Marlin | 3 | 4 |
|
|
Trending now
This is a popular solution!
Step by step
Solved in 7 steps with 19 images