Correlation coefficient Return to: Homeworks ] Given a sample bivariate data (in the companion te...
![Correlation coefficient Return to: Homeworks ] Given a sample bivariate data (in the companion text file) that represents the](https://www.subjectmate.com/img/openquestion/298uid1597512447mceclip0.png)

In any programming language
help
Correlation coefficient Return to: Homeworks ] Given a sample bivariate data (in the companion text file) that represents the number of absence days and the final marks for some students. Write a program to: 1- Open the text file and read the data contained in it, 2- compute the value of r. 3- compute the values of a and b to form a the correlation formula y = a+bx. 4- The program asks the user to enter some value that represnts the number of absence days, and the program estimates his/her final grade. Bonus: The program is able to draw a scatter plot for all points, abd draws the line of correlation.
1 Student Number of Absences 0 2 3 1 4 2 5 3 6 3 7 4 8 5 9 6 10 7 Final Grades 90 85 88 84 82 80 75 60 72 64
Solved
COMPUTER SCIENCE
1 Answer
Tom Almojera

Login to view answer.