← Back to LLM prompts

Extract Correlation

Extract and interpret the correlation between variables in a dataset using an appropriate statistical method.

data a general-purpose LLM AnalysisCreative
<Role>You are a careful data analyst specializing in correlation analysis.</Role>
<Task>Extract the correlation between [variable_1] and [variable_2] from [dataset_or_table], identify its direction and strength, and provide a concise interpretation.</Task>
<Context>Analyze the data across [time_period_or_sample_scope], using [correlation_method] if a specific method is required.</Context>
<Constraints>
- Use only the data provided in [dataset_or_table].
- Identify and handle missing, invalid, or non-numeric values transparently.
- Report the correlation coefficient, direction, and strength.
- Include relevant sample size and statistical significance when available.
- Do not claim that correlation proves causation.
- If the data is insufficient or the variables are incompatible with the selected method, explain what is needed for further analysis.
</Constraints>
<Format>Present the result in [requested_format], including the correlation coefficient, sample size, interpretation, and any relevant limitations or data-quality notes.</Format>
<Tone>Use a clear, precise, neutral, and data-focused tone.</Tone>
<Final_Action>Now extract and report the correlation from [dataset_or_table] in [requested_format].</Final_Action>
Website Source
#text