topic Re: Solve Linear Equations for multiple variables in Anaplan Platform
https://community.anaplan.com/t5/Anaplan-Platform/Solve-Linear-Equations-for-multiple-variables/m-p/66019#M12378
<P><LI-USER uid="29030"></LI-USER> </P><P>We did something similar to this to solve some complicated formulas that forecast the inventory needed by health care facilities to support the COVID-19 challenge.</P><P>The way we solved this was we first create a list for for each of the product types: replenishable (e.g., masks), reusable (e.g., ventilators), and staff (e.g., ventilator technicians).</P><P>Then we built a system module for the products and one of the properties was the product type.</P><P>Each product type had a process for generating the quantities needed based on their respective independent variables, or drivers, as we called them. For example, infection rate, recovery rate, avg time on ventilator, average use of mask, etc.</P><P>The "X" values in your example of the linear equation would be calculated in separate calculation modules for each product type then "lookup" in the consolidated calc module.</P><P>The big assumption here is that the coefficients of the linear equation, or the "a values in your example, are calculated outside of Anaplan, perhaps in Knime or Alteryx and imported into Anaplan as the model learns.</P><P>Anyway, let me know specifically the type of equations you're working on, or a made up example, and I'll map out a data model for you.</P><P>Sounds like a fun project!!</P><P> </P><P> </P>Fri, 03 Apr 2020 22:08:09 GMTJaredDolich2020-04-03T22:08:09ZSolve Linear Equations for multiple variables
https://community.anaplan.com/t5/Anaplan-Platform/Solve-Linear-Equations-for-multiple-variables/m-p/66013#M12375
<P>Hi - One of the business requirements will require me to solve the linear equations with multiple variables - does Anaplan has any functionality of how that can be achieved? To give more details, our client has the requirement of regression with multiple causals (Say 5). This means we need to solve for 5 independent variables and a constant. The linear equation for the dependent variable would be y = a0 + a1 x1 + a2 x2 + a3 x3 + a4 x4 + a5 x5.</P><P>To get the value of y i.e. forecast - we need to solve for the six variables in total: a0 to a6. Mathematically, this will give me six equations (say we have derived the six equations in Anaplan).</P><P>The question now is to solve all these six equations and get the values of these variables a0 to a6 so I can generate the forecast. I would like to seek help from the community how this can be done.</P><P>Thanks,</P><P>Regards - Guru</P><P> </P>Fri, 03 Apr 2020 19:55:18 GMThttps://community.anaplan.com/t5/Anaplan-Platform/Solve-Linear-Equations-for-multiple-variables/m-p/66013#M12375GuruAP2020-04-03T19:55:18ZRe: Solve Linear Equations for multiple variables
https://community.anaplan.com/t5/Anaplan-Platform/Solve-Linear-Equations-for-multiple-variables/m-p/66019#M12378
<P><LI-USER uid="29030"></LI-USER> </P><P>We did something similar to this to solve some complicated formulas that forecast the inventory needed by health care facilities to support the COVID-19 challenge.</P><P>The way we solved this was we first create a list for for each of the product types: replenishable (e.g., masks), reusable (e.g., ventilators), and staff (e.g., ventilator technicians).</P><P>Then we built a system module for the products and one of the properties was the product type.</P><P>Each product type had a process for generating the quantities needed based on their respective independent variables, or drivers, as we called them. For example, infection rate, recovery rate, avg time on ventilator, average use of mask, etc.</P><P>The "X" values in your example of the linear equation would be calculated in separate calculation modules for each product type then "lookup" in the consolidated calc module.</P><P>The big assumption here is that the coefficients of the linear equation, or the "a values in your example, are calculated outside of Anaplan, perhaps in Knime or Alteryx and imported into Anaplan as the model learns.</P><P>Anyway, let me know specifically the type of equations you're working on, or a made up example, and I'll map out a data model for you.</P><P>Sounds like a fun project!!</P><P> </P><P> </P>Fri, 03 Apr 2020 22:08:09 GMThttps://community.anaplan.com/t5/Anaplan-Platform/Solve-Linear-Equations-for-multiple-variables/m-p/66019#M12378JaredDolich2020-04-03T22:08:09ZRe: Solve Linear Equations for multiple variables
https://community.anaplan.com/t5/Anaplan-Platform/Solve-Linear-Equations-for-multiple-variables/m-p/66068#M12400
<P>Hi <LI-USER uid="22354"></LI-USER>, - I am more interested to learn your approach, can you take me to some visual example.</P>Sat, 04 Apr 2020 10:46:25 GMThttps://community.anaplan.com/t5/Anaplan-Platform/Solve-Linear-Equations-for-multiple-variables/m-p/66068#M12400prabhu2020-04-04T10:46:25Z