Fitting of Data Based on Reference Curve
Posted: Mon Dec 07, 2009 2:45 pm
Here's a challenge I've been struggling with for a while now...
In a nutshell, it is a fitting exercise involving two constraints and a reference curve. The reference curve is the prior year actuals of product sales by location. The constraints relate to establishing next year's budget which are dictated in a tops-down manner for:
1) total company sales by product
2) total store sales by location
The challenge is to best fit the two above constraints using last year's actuals as the starting point. The "best" answer is the one that minimizes (in all directions - stores & product) the deviation from last year's curve.
I can imagine an iterative hold / solve approach in TM1 but I'm concerned that this approach will by nature "squeeze" the final hold/solve elements to a much greater degree than the beginning elements and thus not reflect the best overall solution.
The attached spreadsheet details the problem and has a small example to solve.
If this isn't possible within TM1, I assume I'll need to look for a statistical tool to do the work and I'd value thoughts on how one might generally configure such a tool to tackle tihs problem.
Thanks,
-- John
In a nutshell, it is a fitting exercise involving two constraints and a reference curve. The reference curve is the prior year actuals of product sales by location. The constraints relate to establishing next year's budget which are dictated in a tops-down manner for:
1) total company sales by product
2) total store sales by location
The challenge is to best fit the two above constraints using last year's actuals as the starting point. The "best" answer is the one that minimizes (in all directions - stores & product) the deviation from last year's curve.
I can imagine an iterative hold / solve approach in TM1 but I'm concerned that this approach will by nature "squeeze" the final hold/solve elements to a much greater degree than the beginning elements and thus not reflect the best overall solution.
The attached spreadsheet details the problem and has a small example to solve.
If this isn't possible within TM1, I assume I'll need to look for a statistical tool to do the work and I'd value thoughts on how one might generally configure such a tool to tackle tihs problem.
Thanks,
-- John