Linear, Multiple Regression Interview Questions Set 4

This page lists down the practice tests / interview questions for Linear (Univariate / Simple Linear) / Multiple (Multilinear / Multivariate) regression in machine learning. Those wanting to test their machine learning knowledge in relation with linear/multi-linear regression would find the test useful enough. The goal for these practice tests is to help you check your knowledge in numeric regression machine learning models from time-to-time. More importantly, when you are preparing for interviews, these practice tests are intended to be handy enough. Those going for freshers / intern interviews in the area of machine learning would also find these practice tests / interview questions to be very helpful.

This test primarily focus on following some of the following concepts related with linear regression models:

  • Degrees of freedom
  • Concepts related with Sum of Squares Total (SST), Sum of Squares Regression (SSR) and Sum of Squares Error (SSE)

Linear Regression – Measures of Variation

The diagram below represents measures of variation in terms of following:

  • Actual value of dependent variable
  • Predicted value of dependent variable (best fit line)
  • Average value of dependent variable assuming the value of all coefficients is zero

linear regression measures of variation

Pay attention to some of the following in above diagram:

  • Sum of squares total (SST) is sum of squares of actual value (Y) minus the average value of dependent variable (Y bar)
  • Sum of squares total (SSE) is sum of squares of actual value (Y) minus the predicted value as per the best fit line (Y^)
  • Sum of squares total (SSR) is sum of squares of predicted value as per the best fit line (Y^) minus average value of dependent variable (Y bar)
SST = SSR (variability due to regression) + SSE (Unexplained variability)
Value of R-Squared = SSR / SST

The objective is to maximise SSR and minimize SSE.

Other tests in this series includes some of the following:

Practice Test

[wp_quiz id=”5793″]

In case you have not scored good enough, it may be good idea to go through basic machine learning concepts in relation with linear / multi-linear regression. Following is the list of some good courses / pages:


Ajitesh Kumar

I have been recently working in the area of Data analytics including Data Science and Machine Learning / Deep Learning. I am also passionate about different technologies including programming languages such as Java/JEE, Javascript, Python, R, Julia, etc, and technologies such as Blockchain, mobile computing, cloud-native technologies, application security, cloud computing platforms, big data, etc. I would love to connect with you on Linkedin. Check out my latest book titled as First Principles Thinking: Building winning products using first principles thinking.

Recent Posts

Retrieval Augmented Generation (RAG) & LLM: Examples

Last updated: 25th Jan, 2025 Have you ever wondered how to seamlessly integrate the vast…

1 week ago

How to Setup MEAN App with LangChain.js

Hey there! As I venture into building agentic MEAN apps with LangChain.js, I wanted to…

2 weeks ago

Build AI Chatbots for SAAS Using LLMs, RAG, Multi-Agent Frameworks

Software-as-a-Service (SaaS) providers have long relied on traditional chatbot solutions like AWS Lex and Google…

2 weeks ago

Creating a RAG Application Using LangGraph: Example Code

Retrieval-Augmented Generation (RAG) is an innovative generative AI method that combines retrieval-based search with large…

3 weeks ago

Building a RAG Application with LangChain: Example Code

The combination of Retrieval-Augmented Generation (RAG) and powerful language models enables the development of sophisticated…

3 weeks ago

Building an OpenAI Chatbot with LangChain

Have you ever wondered how to use OpenAI APIs to create custom chatbots? With advancements…

3 weeks ago