prompt

Correlation vs Causation Analysis

Identify spurious correlations, confounders, and latent variables; recommend causal inference methods when correlation exists.

Updated June 2026
The prompt
I've observed a correlation between {{variable_x}} and {{variable_y}} (r={{correlation}}, p={{p_value}}).

Context:
- Time period: {{time_range}}
- Sample size: {{sample_size}}
- Potential confounders: {{confounders}}
- Business assumption: {{hypothesis}}

Analyze causality:
1. Is this correlation likely spurious? (e.g., both driven by {{potential_confounder}})
2. Confounding variables to control for
3. Temporal lag analysis (does X precede Y?)
4. Dose-response relationship (nonlinear?)
5. Mechanisms: how would X cause Y?
6. Recommended causal inference method (matching, regression, IV, RCT design)

Provide risk score for false causation assumption.
Did it work? Rate this prompt

Variables

Variable X
Variable Y
Correlation coefficient
P-value
Time period
Sample size
Potential confounders
Business hypothesis
Specific confounder

Details

Author

AI Khazna

License

Security

Type

prompt

Related assets

More curated picks in Data & Analytics.

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Data & Analytics