by refrigerator · 6y ago · 0 comments
We've implemented almost precisely this in Causal (https://causal.app) — models come with the 'time' dimension as a first-class citizen [1], letting you write a single formula like
Revenue[t] = Revenue[t-1] * (1 + Growth Rate)
to calculate the Revenue at all points in time. And you can do vectorised operations along the time dimension by writing formulas like this: Profit = Revenue - Costs
where Revenue and Costs, and therefore Profit, vary over time.---
[1]: You can specify the time dimension yourself, e.g. "Monthly, Jan 2018 – Jan 2023" or "Yearly, 2020 – 2030"
In Causal any cell (we call them variables) can be computed by another spreadsheet (we call them models). To make this more powerful a model can have input parameters like functions in programming languages. So a model can be composed of reusable submodels.
There’s a bunch of spreadsheet templates floating around the internet but there’s no way to compose them or update them. Wouldn’t it be great to have something like npm for spreadsheet models?
The only thing I couldn't figure out is how to rename a scenario.
Is adding inference on the roadmap?