Question: Data below show the size of program wrote by a programmer in a specific period. The size of program is measured by line of
Data below show the size of program wrote by a programmer in a specific period. The size of program is measured by line of code, x and time to finish his program is measured by time in hour, y. Line of Code, x 100 200 Time in Hour, y 237 350 300 400 419 465 490 507 a) Assume that the line of code, x and time in hour, y are linearly related. Find the least-squares line relating y to x. The preliminary calculations are given below. [2M] = 1490 = 1978 . = 653,830 = 540,100 = 827,504 n=5 b) Construct the ANOVA table for the linear regression. [8M] c) Is the line of code useful in predicting the time taken to finish the program? Use the appropriate statistical test and measures to explain the usefulness of the regression model for predicting time taken to finish the program. [5M]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
