A model can fit its training data well without predicting new data well or representing the true causal process. A goodness-of-fit statistic measures how closely a model fits the data used to train it. section 2.3.4
Use goodness-of-fit measures with these distinctions in mind:
- Separate goodness-of-fit from cross-validation: fit statistics evaluate training data, whereas cross-validation generally evaluates prediction on data not used for training. section 2.3.4
- Do not treat a strong fit as causal evidence; multiple data-generating processes can explain the same dataset, and fit alone cannot identify the true one. section 2.3.4
- In score-based causal discovery, compare candidate directed acyclic graphs by their goodness-of-fit scores while incorporating available structural constraints or prior knowledge. section 4.6.1
Model selection versus causal discovery
A model may have better goodness-of-fit than alternatives yet predict poorly under cross-validation. Conversely, a good predictor may support bogus causal inferences. Score-based causal discovery instead searches for causal DAGs with high goodness-of-fit scores. section 2.3.4 section 4.6.1

