Logo

A software company tracks the number of hours its employees spend on coding (X) and the corresponding number of bugs they encounter during testing…

BIT Basic Statistics · 2081 · Solved Question with Answer

A software company tracks the number of hours its employees spend on coding (X) and the corresponding number of bugs they encounter during testing (Y). The data collected over 10 projects is as follows:

Project 1 2 3 4 5 6 7 8 9 10
Hour spent on coding (X) 20 25 30 35 40 45 50 55 60 65
Bugs encountered (Y) 5 7 8 12 15 13 17 18 20 25

(a) Calculate the Pearson correlation coefficient to determine the strength and direction of the linear relationship between the number of hours spent on coding and the number of bugs encountered.

(b) Find the regression equation of bugs encountered on hours spent on coding.

(c) Predict the number of bugs encountered if an employee spends 48 hours coding based on the regression equation.

Solution

Please login to view the answer.