Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Regression In SQL
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

Sri Lanka
2 Posts

Posted - 09/22/2014 :  07:47:58  Show Profile  Reply with Quote
how to do the Regression in TSQL with multiple variables

as example

if there X1,x2,x3 variables

how to do the regression and get the intercept

Arun Babu N
Starting Member

26 Posts

Posted - 09/22/2014 :  09:50:52  Show Profile  Reply with Quote

Go to Top of Page

Starting Member

Sri Lanka
2 Posts

Posted - 09/23/2014 :  05:31:47  Show Profile  Reply with Quote
the site which u mentioned there are example for only one X variable, but I need x1,x2,x3 and like that many x variables,
as a example

month sale (Y) price(X1) advertising cost (X2)

1 100 500 400
2 120 400 1000
3 130 600 1500

so I want to forecast 4th month sale how to do this in sql

Edited by - hasitha.necromancer on 09/23/2014 05:36:57
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2019 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000