BookmarkSubscribeRSS Feed
pawandh
Fluorite | Level 6

In linear regression we have y=b0 +b1x

 where bo is the itercept and b1 is the slope.

 

b1=y2-y1/x2-x1 ,by this we get the slope

and b0 we get by putting the x=0

 

In multiple linear regression we have Y=b0+b1x1+b2x2+b3x3

now here how can we get the intercept and slope??

For intercept do we need to put x1,x2 and x3 all to 0??

2 REPLIES 2
Norman21
Lapis Lazuli | Level 10

The coefficients of each x term are the slopes.

 

If you set all the x to zero, you can calculate the intercept.

 

This explains it well: https://www.st-andrews.ac.uk/media/capod/students/mathssupport/Simple-linear-regression.pdf

 

Norman.

Norman.
SAS 9.4 (TS1M6) X64_10PRO WIN 10.0.17763 Workstation

Ksharp
Super User

No. You can't . It is high dimension data. There are lots of  intercept and slope satisfied multiple linear regression Y=b0+b1x1+b2x2+b3x3

But only one of them is nearest center(has the smallest NORM), and SAS use OLS or ML to get that one .

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1362 views
  • 1 like
  • 3 in conversation