Get started • Machine learning
Difference in differences
Estimate whether a change, such as a new store layout, made a difference, compared with a group that did not change.
Sample data
Made-up data. If you have not loaded it yet, ask your assistant:
Load https://gotsimplified.com/samples/shops.csv into my data lake as samples.shops, replacing it if it already exists.
Download: shops.csv
Try this
In samples.shops, the shops with layout new changed on 2026-04-13. Did that change sales compared with the old layout?
Your assistant may word its answers differently each time; the numbers come from your tables.
Was it really our change?
What is it?
Sales rose after you redecorated. But maybe they rose everywhere.
How does it work?
It compares your changed shops with unchanged ones over the same weeks. Only the extra counts.
Good to know
Something else that happened only to the changed shops would be mixed in.
Before you start
Load the sample file below into your data lake first.
Make it yours
Your assistant needs the real names. Replace the table and column names in the prompt above with yours. If you are not sure of them, ask first: "Describe my table called orders."
Then ask
Each question builds on the last answer. Ask follow-ups in plain words.
"Can I trust this?"