Instructions: Be sure to define all parameters and randomvariables used. Also, you must provide any code you use (finalcomputed values are not sufficient). I strongly recommend that youcreate Jupyter Notebooks for this assignment, embedding yourwritten comments in Markdown cells.
6. A biologist wishes to examine the collisionavoidance behaviour of bullfrogs housed in experimental boxes. Heplaced an object in the upper visual field of each frog and thenmoved the object progressively closer until the frog jumped toavoid collision. He is interested in how the angle (in degrees) ofa frog's escape direction depends on its angular velocity(degrees/second). The data (for only the 69 frogs whose escapedirection was less than 50 degrees) are available in the filefrog50.csv.
a) Give the equation of the fitted regressionline.
b) Create a plot of direction vs. velocity, includingthe fitted regression line
c) Interpret the slope of the fitted regression linein the language of the problem
d) State the R2 value and its interpretation (in thelanguage of the problem)
e) What is the best prediction of the velocity of ajump with a direction of 25 degrees?
f) Can you provide an accurate prediction of thevelocity of a jump with direction of 60 degrees? If so, providethis prediction. If not, explain why
frog50.csv.file
"Direction","Velocity"
1.9,22.3
4.9,34.8
6.6,57.3
16.9,124.6
5.8,14.1
32,191.6
26,129.3
1.1,8.5
6.7,33.1
1.7,1.7
19.1,125.3
9.5,35.9
9.2,50.9
35.2,183.2
7.3,53.2
47.5,286.7
37.5,173.4
4.8,19.8
21.4,90.3
1.4,7.2
1.9,7.5
2.4,10.6
1,17.5
1.3,6.1
11.7,83.8
24.3,193.2
1.4,27
1.6,11.5
9.7,59.2
44.4,265.8
4.6,5.1
4.2,31
1.8,17.3
21.3,154.6
19.1,88.5
4.9,10
15.6,96.6
30,178
38.1,299.6
1.2,7.1
12.5,70.4
43.7,269.8
6.7,9.1
1.1,0.6
32,237.2
8.1,35.9
16.6,74.3
25.1,130.3
2.7,26
1.7,17.4
6.9,39.2
8.4,17.2
2,3.7
47.5,280.2
2.9,0.1
1.2,8.8
15.4,97.4
19.8,104.5
3.8,12.4
16.1,91
1.5,8
6.3,51.7
25,157.1
3,10
36.6,193.8
5.3,21.4
4.5,13.5
3.8,43.4
3.1,27.8