Describe your variables and hypothesis. Get a complete regression analysis workflow with code, interpretation tips, and pitfall warnings.
Share your dependent and independent variables. The AI walks you through the full analysis with code and interpretation.
Walk me through a complete regression analysis for my dataset. Explain everything in plain language alongside the code. What I am trying to predict: [DEPENDENT VARIABLE, e.g., sales revenue, customer churn, house price] Factors I think influence it: [INDEPENDENT VARIABLES, e.g., advertising spend, season, customer age, location] Dataset size: [NUMBER OF ROWS] Tool: [PYTHON / R / EXCEL] Provide a step-by-step guide: 1. Data preparation: - How to check if my data is ready for regression - Tests for multicollinearity, normality, and outliers - Code for each check with interpretation of results 2. Model selection: - Should I use linear, logistic, or another type of regression? Explain why based on my variables. - Code to build the model 3. Model evaluation: - R-squared: what it means in plain English for my case - P-values: which variables actually matter and which do not - Residual analysis: how to check if the model is valid - Code for all evaluation metrics 4. Interpretation: - Explain what each coefficient means in business terms (not just math) - Example: "For every $1,000 increase in ad spend, sales increase by approximately $X" 5. Common pitfalls: - What could make my results misleading - How to handle categorical variables - When to add interaction terms 6. Next steps: What to do if the model is not good enough
"Regression Analysis Guide" succeeds because it mirrors how AI models are trained to respond - with clear instructions, specific constraints, and defined success criteria. Expect actionable analytical insights with methodology documentation and visualization recommendations. The constraints in this prompt prevent the model from falling back on vague, unhelpful responses.
These data analysis tips will help you get stronger results when using "Regression Analysis Guide" and similar prompts in this category.
"Regression Analysis Guide" is particularly useful in these situations. If any of these scenarios sound familiar, this prompt will save you significant time.
When you use "Regression Analysis Guide" with ChatGPT, Claude, or Gemini, here is what to expect in the AI output.
Adapt "Regression Analysis Guide" to your specific situation by modifying these key areas. The more context you add, the better the results.