Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Linear Regression forecasting for 12 months for multiple groups

SecretChimpanzee
7 - Meteor

Hi,

 

I am trying to produce a 12 month forecast using linear regression for multiple groups - see sample of file data below.

I need to forecast "Occupancy" for the next 12 months based on the Ratio value. Hoping someone can help me with this. 

 

MonthGroupRatioOccupancy
1/09/18A1.10.97
1/10/18B0.80.85
1/11/18C0.90.87
1/12/18D1.20.98
1/1/18E0.7 
1/2/18F1.0 
1/3/18G1.3 
3 REPLIES 3
jdunkerley79
ACE Emeritus
ACE Emeritus

Do you mean just perform a linear regression between Ratio and Occupancy?

 

If so:

2018-12-19_08-12-15.png

 

Attached a simple sample doing this.

 

If you need to forecast ratio first this would take a little more work.

 

 

 

SecretChimpanzee
7 - Meteor

Picture1.png

thanks for your reply. I can't open your example as I have an older version of alteryx. I tried your workflow but keep getting an error...

 

SecretChimpanzee
7 - Meteor

Never mind, turns out I had omitted the ! from one of the filter formulas! Works great, thanks so much

Labels