Back to the 2026 paper

Module 2: Statistical Decision Theory and Bayesian Learning

20267m

The following data shows the hours studied (X) and marks obtained (Y) by 6 students: X = 2, 3, 5, 6, 8, 9; Y = 50, 55, 65, 70, 80, 85. Find the regression equation of Y on X and predict the marks for a student who studies 7 hours.

Worked SolutionAI Assisted

Regression of marks on study hours

Data: (X=(2,3,5,6,8,9)), (Y=(50,55,65,70,80,85)). The points lie exactly on a straight line: every additional study hour corresponds to 5 additional marks.

The least-squares line is (\hat Y=a+bX), with slope (b=S_{xy}/S_{xx}=5) and intercept (a=\bar Y-b\bar X=40).

Regression equation: (\boxed{\hat Y=40+5X})

For (X=7): (\hat Y=40+5(7)=\boxed{75}) marks.

SVGVector Architecture Diagram (SVG)
Study hours (X)Marks (Y)Y = 40 + 5X

Similar questions

MACHINE LEARNINGA company wants to predict the sales (y) of a product based on its advertising expenditure (x). The observed data for 5 months is: | x (Advertising) | y (Sales) | |-----------------|-----------| | 1 | 3 | | 2 | 4 | | 3 | 2 | | 4 | 5 | | 5 | 7 | Calculate the regression coefficients for the linear regression model: y = w_0 + w_1 x Then, predict the value of y when x = 6.20257mData MiningThe results of an exam are recorded along with some data about the students. The results can be found in the table below : | ID | Cell No. | Language | Passed all Assignments | GPA | Passed Exam | | :---: | :---: | :---: | :---: | :---: | :---: | | 1 | 93333-11101 | Java | No | 3.1 | Yes | | 2 | 93333-11112 | Java | No | 2.0 | No | | 3 | 93333-11102 | C++ | Yes | 3.5 | Yes | | 4 | 93333-11113 | Python | Yes | 2.5 | Yes | | 5 | 93333-11103 | Java | Yes | 3.9 | No | | 6 | 93333-11114 | C++ | No | 2.9 | No | | 7 | 93333-11104 | Java | No | 1.9 | No | | 8 | 93333-11115 | Python | Yes | 3.2 | Yes | In no more than one page of text, describe the design of a K-Nearest Neighbour classifier to predict if a student will fail or pass the exam.202110mIntroduction To Java Programming LanguageA student record system stores marks of 50 students in an array. Construct a Java program to calculate the highest, lowest and average marks and analyse the time complexity of the operations.20267mData MiningUsing the dataset from Q5a, use your K-NN classifier to predict whether the following student (who overslept and missed the original exam) will pass the re-exam : | ID | Cell No. | Language | Passed all Assignments | GPA | Passed Exam | | :---: | :---: | :---: | :---: | :---: | :---: | | 9 | 93333-11109 | C++ | Yes | 3.0 | ?? |20214m
Budget AppAndroid App

Pocketly on Android

Log daily food, travel, and hostel expenses instantly. Set monthly spending limits and see where your money goes without complex spreadsheets.