Linear Regression and Multiple Regression

Simple Linear Regression :

Suppose you have a business and if I ask you, what is your monthly sales in your business?

You can see, Sales depends on different things like Marketing (i.e. Sales depends on number of Advertisement), Gender, Education, Experience etc. affect Number of Sales.

So, here Sales is a dependent variable and Marketing is an independent variable.

When one dependent variable depends on one independent variable

then it is called Simple Linear Regression.

In the below table you can see,

If we spend Re.1 in Advertisement then Sales will be 3.


The following is a collection of latest nagarro coding problems:

  1. Love Letter Coding Problem
Love Letter

2. Minimum Height Coding Problem

Minimum Height

3. Shortest Substring Coding Problem

Shortest Substring

4. JSON Parse and Stringify Coding Problem

JSON Parse and Stringify

5. Electrostatics Coding Problem


6. Number of Selective Arrangements Coding Problem

Number of Selective Arrangements

7. Big Prime Number Coding Problem

Big Prime Number

8. String within a String Coding Problem

String within a String

9. String Palindrome Coding Problem

String Palindrome

10. Trailing Zeroes Coding Problem

Trailing Zeroes

11. Max Occuring Character Coding Problem

Max Occuring Character

12. Fanny’s Occurences Coding Problem

Fanny’s Occurences

13. Adam’s Charity Coding Problem

Adam’s Charity

14. Reverse String Word Wise Coding Problem

Reverse String Word Wise

15. Prime Number Coding Problem

Prime Number

16. Mango Distribution Coding Problem

Mango Distribution

Thanks for reading.

Rajesh Gole

Go to this youtube channel for On/Off Campus Coding preparation👉 Input Output Campus

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store