Data Preparation
This section explains how to prepare X and y for PanelMMM.
It covers the required columns, how panel rows are organised when you use
dims or a named FE or CRE estimator, and how AMMM3 scales channels and the
target before fitting.
Pages
- Input Data Requirements — Required
Xandyinputs, column roles, alignment rules, and common input errors. - Panel Data Layout — How to structure rows for named
FE and CRE panels, no panel dims, one dim such as
geo, or multiple dims such asgeoandbrand. - Scaling and Preprocessing — What AMMM3
scales automatically, how
Scalingworks, and what to preprocess yourself.