8.
Draw a Scatter Diagram
Compute the Regression Equation
Predict Mr. LeBron James shoe size, given his height is 95 inches.
(10 Points)
Height Inches (x) Shoe Size (y) n = 6
76 |
12 |
72 |
11 |
65 |
8 |
78 |
13 |
82 |
16 |
67 |
9 |
Sum of x = 440 Sum of y = 69
Sum of x*y = 5,153
Sum of x2 = 32,482
Sum of y2 = 835
X |
Y |
XY |
X2 |
Y2 |
76 |
12 |
912 |
5,776 |
144 |
72 |
11 |
792 |
5,184 |
121 |
65 |
8 |
520 |
4,225 |
84 |
78 |
13 |
1,014 |
6,084 |
169 |
82 |
16 |
1,312 |
6,724 |
257 |
67 |
9 |
603 |
4,489 |
81 |
440 |
69 |
5,153 |
32,482 |
835 |
8. Draw a Scatter Diagram Compute the Regression Equation Predict Mr. LeBron James shoe size, given...
Question 2 - Programming Exercise 1. Make a directory for this lab and change into it. 2. Copy files using the following command: cp/net/data/ftp/pub/class/115/ftp/cpp/Inheritance/Exercise.cpp Exercise.cpp Finish the program so that it compiles and runs. The instructions are contained in the C++ file. Your completed program should generate output similar to the following: TwoD default constructor This program asks for the coordinates of two points in 3D space and calculates their distance. Please enter the xyz coordinates for the first point:...
Designing functions Reminder: When designing functions, follow the given steps to reinforce good software development practices and problem solving strategies: a) Start by writing the documentation for the function. Use docstrings shown in lecture and lab. b) Write test calls to the function in your main function for the different cases of input the function will encounter. This will help you understand the behavior of the function and later behave as tests for your function. c) Define the function d)...