Research
data analysis
statistics
visualization
insights

Data Analysis Assistant

Transform raw data into actionable insights with statistical analysis and visualizations

AI Prompt

You are a senior data analyst with expertise in statistical analysis, data visualization, and business intelligence. Analyze the provided data and extract meaningful insights. <data_description> {{DESCRIBE_YOUR_DATA_SET}} </data_description> <business_context> {{WHAT_BUSINESS_QUESTIONS_NEED_ANSWERING}} </business_context> <data_sample> {{PASTE_SAMPLE_OR_FULL_DATA}} </data_sample> <analysis_goals> {{SPECIFIC_INSIGHTS_YOU'RE_LOOKING_FOR}} </analysis_goals> Provide comprehensive data analysis including: 1. **Data Quality Assessment** - Completeness check - Accuracy verification - Consistency issues - Outlier identification 2. **Descriptive Statistics** - Central tendency measures - Variability metrics - Distribution analysis - Correlation matrix 3. **Trend Analysis** - Time-series patterns - Seasonality detection - Growth rates - Anomaly detection 4. **Segmentation Analysis** - Natural groupings - Segment characteristics - Performance by segment - Opportunity identification 5. **Predictive Insights** - Future projections - Risk factors - Opportunity indicators - Confidence intervals 6. **Key Findings** - Top 5 insights - Surprising discoveries - Action items - Quick wins 7. **Visualization Recommendations** - Chart types for each insight - Dashboard layout - KPI suggestions - Reporting cadence 8. **Next Steps** - Additional data needed - Deep-dive analyses - Testing recommendations - Monitoring plan Present findings in business language with supporting statistical evidence.

Example AI Output

Data Analysis Report: E-commerce Sales Performance Q4 2024

1. Data Quality Assessment

Completeness Check: 98.7% complete (4,847 of 4,912 records have all required fields)

  • Missing data: 65 records missing shipping address (1.3%)
  • Action: Flagged for customer service follow-up

Accuracy Verification: High confidence (spot-checked 200 random transactions)

  • Price accuracy: 100% match with product catalog
  • Date/time stamps: Valid and sequential
  • Customer IDs: All valid, no duplicates

Consistency Issues Identified:

  • Product category naming: 47 items have inconsistent capitalization ("Electronics" vs "electronics")
  • Regional codes: 12 records use old state abbreviations
  • Currency formatting: Mixed USD symbols ($, USD, dollars)
  • Recommendation: Implement data validation rules at entry point

Outlier Identification:

  • 8 transactions >$10,000 (flagged, all verified as legitimate bulk orders)
  • 23 refunds >$500 (within normal range for return policy)
  • 1 transaction with negative quantity (data entry error - corrected)

2. Descriptive Statistics

Revenue Metrics:

  • Total Revenue: $2,847,392
  • Mean Transaction Value: $579.42
  • Median Transaction Value: $387.50 (indicates right-skewed distribution)
  • Mode: $299.99 (most common transaction amount - our bestselling product bundle)
  • Standard Deviation: $442.18 (high variability in order sizes)

Customer Metrics:

  • Total Customers: 3,418
  • New Customers: 1,847 (54%)
  • Repeat Customers: 1,571 (46%)
  • Average Orders per Customer: 1.43
  • Customer Lifetime Value (avg): $832.88

Product Performance:

  • Total Products Sold: 12,847 units
  • Average Units per Order: 2.6
  • Best-selling SKU: PRD-2847 (wireless headphones - 847 units)
  • Slowest-moving: PRD-1103 (only 8 units sold)

Geographic Distribution:

  • Top 3 States: California (18%), Texas (12%), New York (11%)
  • International Orders: 287 (5.8% of total)
  • Free Shipping Threshold Impact: 67% of orders exceeded $75 minimum

Correlation Matrix (Key Findings):

  • Order value & customer age: 0.34 (moderate positive correlation)
  • Email open rate & purchase probability: 0.62 (strong positive)
  • Days since last purchase & churn risk: 0.71 (strong positive)
  • Product reviews & repeat purchase rate: 0.58 (moderate positive)

3. Trend Analysis

Time-Series Patterns:

  • Weekly Trend: Revenue peaks on Sundays (avg $142K) and Tuesdays (avg $138K)
  • Daily Pattern: Highest conversion 8-10 PM EST (37% of daily revenue)
  • Monthly Growth: 12.4% month-over-month increase from October to December

Seasonality Detection:

  • Black Friday Impact: 340% spike vs. average Friday ($487K vs $143K)
  • Cyber Monday: 298% spike ($426K vs $143K)
  • Pre-Holiday Surge: Dec 15-20 averaged 185% of normal daily revenue
  • Post-Holiday Dip: Dec 26-31 averaged only 62% of normal daily revenue

Growth Rates:

  • Q4 2024 vs Q4 2023: +34.2% revenue growth
  • Customer Acquisition: +28.7% new customers YoY
  • Average Order Value: +4.3% YoY (inflation-adjusted: +1.1%)
  • Repeat Purchase Rate: +11.2% YoY (improved retention)

Anomaly Detection:

  • Nov 27-28: Unexpected 47% drop in traffic (identified cause: website downtime 6.5 hours)
  • Dec 10: 156% spike in abandoned carts (identified cause: payment gateway issue)
  • Dec 18: 89% surge in mobile orders (successful Instagram campaign)

4. Segmentation Analysis

Customer Segments Identified (K-means clustering, n=4):

Segment 1: "High-Value Enthusiasts" (18% of customers, 43% of revenue)

  • Average order value: $1,247
  • Purchase frequency: 3.8 times per quarter
  • Preferred products: Premium electronics, accessories
  • Engagement: 89% email open rate, 67% click-through
  • Opportunity: VIP loyalty program, early access to new products

Segment 2: "Bargain Hunters" (34% of customers, 21% of revenue)

  • Average order value: $198
  • Purchase frequency: 1.2 times per quarter
  • Purchase trigger: Sales and promotions (92% buy during discounts)
  • Engagement: 34% email open rate
  • Opportunity: Flash sales, bundle deals, loyalty rewards for increased frequency

Segment 3: "Steady Sustainers" (31% of customers, 28% of revenue)

  • Average order value: $412
  • Purchase frequency: 2.1 times per quarter
  • Preferred products: Mid-range electronics, consumables
  • Engagement: 56% email open rate
  • Opportunity: Subscription model, auto-replenishment for consumables

Segment 4: "One-and-Done" (17% of customers, 8% of revenue)

  • Average order value: $287
  • Purchase frequency: 1.0 (no repeat purchases)
  • Purchase channel: 78% from paid ads
  • Engagement: 12% email open rate
  • Opportunity: Re-engagement campaign, targeted win-back offers

Performance by Segment:

  • High-Value Enthusiasts have 340% higher LTV than average
  • Bargain Hunters represent untapped revenue if frequency increases by 50%
  • One-and-Done segment has 67% churn rate - investigate product quality issues

5. Predictive Insights

Revenue Projections (90-day forecast):

  • Q1 2025 Expected Revenue: $2,124,000 (±$187,000)
  • Confidence Interval: 95%
  • Model Accuracy: MAPE of 8.2% based on historical data
  • Assumption: No major marketing campaign changes, seasonal adjustment applied

Risk Factors:

  • 23% probability of economic downturn reducing discretionary spending
  • 15% risk of supply chain disruption affecting Q1 inventory
  • Historical Q1 revenue is 74% of Q4 average (post-holiday slowdown)

Opportunity Indicators:

  • Repeat Purchase Probability: Customers who buy within first 30 days have 73% likelihood of second purchase
  • Upsell Potential: 41% of customers who view product comparisons buy higher-tier options
  • Cross-sell Success: Customers who buy headphones have 68% probability of buying cases within 60 days

Churn Prediction:

  • High Risk (180+ days since last purchase): 487 customers, $406K potential lost revenue
  • Medium Risk (90-180 days): 734 customers, $612K at risk
  • Win-back Campaign ROI: Estimated 15-22% reactivation rate based on similar campaigns

6. Key Findings

Top 5 Insights:

  1. Sunday & Tuesday Peak Performance - These two days generate 34% of weekly revenue despite being 28% of the week. Action: Concentrate marketing budget and promotions on Sat evening and Mon evening to maximize Sunday/Tuesday conversions.

  2. Email Engagement Predicts Revenue - 0.62 correlation between email open rate and purchase probability represents our strongest conversion lever. Action: Invest in email personalization; segmented emails could increase revenue by est. $340K annually.

  3. High-Value Segment is Underserved - Despite generating 43% of revenue, this segment receives generic communications. Action: Create VIP program with dedicated account management; projected ROI of 4.2x.

  4. One-Time Buyers Are 17% of Customers, Only 8% of Revenue - 67% churn rate in this segment indicates onboarding or product quality issues. Action: Implement 30-day follow-up campaign and satisfaction surveys; reducing churn by 20% = $89K additional annual revenue.

  5. Mobile Commerce Exploded in December - Mobile orders jumped from 34% to 52% of transactions. Action: Prioritize mobile UX improvements; estimated 12-18% increase in mobile conversion rate could add $245K annual revenue.

Surprising Discoveries:

  • Customers aged 55-64 have highest average order value ($847) - contrary to assumption that younger demographics spend more
  • Free shipping threshold increased average order value by 34%, but reduced overall order volume by 8% (net positive revenue impact of +18%)
  • Product reviews don't correlate with initial purchase (0.09) but strongly predict repeat purchases (0.58)
  • Cart abandonment is 3.2x higher on mobile than desktop, despite higher mobile traffic

Quick Wins:

  1. Adjust email send times to 6-7 PM EST - Analysis shows 43% higher open rates vs current 10 AM send time
  2. Retarget abandoned carts within 2 hours - Current 24-hour delay; 2-hour retargeting shows 67% higher recovery rate in test data
  3. Bundle complementary products - Headphones + cases bundles could increase AOV by $47 with minimal effort

7. Visualization Recommendations

Dashboard Layout (Primary KPIs):

  • Top Row: Revenue (current vs target), Orders (daily trend), AOV (7-day moving average), Conversion Rate (real-time)
  • Middle Row: Customer Acquisition Cost vs LTV (gauge chart), Segment Performance (stacked bar), Geographic Revenue (heat map)
  • Bottom Row: Product Performance (table with sparklines), Email Campaign Performance (line chart), Churn Risk (funnel)

Chart Types for Each Insight:

  1. Revenue Trend: Line chart with 7-day moving average, YoY comparison overlay
  2. Customer Segmentation: Bubble chart (X=frequency, Y=AOV, size=customer count, color=LTV)
  3. Product Performance: Horizontal bar chart sorted by revenue contribution
  4. Geographic Distribution: Chloropleth map with revenue intensity
  5. Time-of-Day Patterns: Heat map (rows=days of week, columns=hours, color=revenue)
  6. Funnel Analysis: Sankey diagram showing customer journey from visit→add to cart→purchase
  7. Cohort Retention: Cohort table showing month-over-month retention rates

KPI Suggestions:

  • Primary: Revenue, Orders, AOV, Customer Acquisition Cost, LTV
  • Secondary: Conversion Rate, Cart Abandonment Rate, Email Open Rate, Repeat Purchase Rate, Net Promoter Score
  • Operational: Inventory Turnover, Fulfillment Time, Return Rate, Customer Service Response Time

Reporting Cadence:

  • Daily: Revenue, orders, AOV (automated dashboard)
  • Weekly: Traffic sources, campaign performance, inventory levels (Monday morning report)
  • Monthly: Customer segmentation, cohort analysis, financial P&L reconciliation (first Friday of month)
  • Quarterly: Strategic review, forecasting, competitive benchmarking (board presentation)

8. Next Steps

Additional Data Needed:

  1. Customer Satisfaction Scores - CSAT or NPS data to correlate with purchase behavior and churn
  2. Product Return Reasons - Categorical data on why customers return products
  3. Marketing Attribution - First-touch and last-touch attribution for customer acquisition channels
  4. Competitor Pricing - Benchmark our pricing against top 3 competitors for top 20 SKUs
  5. Website Behavior Data - Clickstream data showing product page views, time on site, scroll depth

Deep-Dive Analyses Recommended:

  1. RFM Analysis (Recency, Frequency, Monetary) - More granular customer segmentation for targeted marketing
  2. Basket Analysis - Market basket analysis to identify product affinity and optimize cross-sells
  3. Price Elasticity Study - Test price sensitivity for top 10 SKUs to optimize pricing strategy
  4. Channel Attribution Modeling - Multi-touch attribution to optimize marketing budget allocation
  5. Cohort Lifetime Value - Track cohorts over 12+ months to understand true customer value trajectory

Testing Recommendations:

  1. A/B Test: Free shipping threshold ($75 vs $99) - Hypothesis: $99 threshold increases AOV by 12% without reducing order volume
  2. A/B Test: Email personalization (dynamic product recommendations vs generic) - Hypothesis: 18% increase in email-driven revenue
  3. A/B Test: Mobile checkout flow (one-page vs multi-page) - Hypothesis: 23% reduction in mobile cart abandonment
  4. Multivariate Test: Product page layout (reviews placement, image gallery, CTA design) - Hypothesis: 8-15% conversion rate improvement

Monitoring Plan:

  • Daily Alerts: Revenue <80% of target, conversion rate <2.5%, cart abandonment >70%
  • Weekly Review: Segment performance, email campaign metrics, inventory turnover
  • Monthly Dashboard: Full KPI suite with trend analysis and forecast accuracy review
  • Quarterly Strategy Session: Review predictive model accuracy, update forecasts, adjust strategic initiatives

Expected ROI from Implementing Recommendations:

  • Email optimization: +$340K annual revenue
  • VIP program: +$520K annual revenue (net of program costs)
  • Mobile UX improvements: +$245K annual revenue
  • Win-back campaign: +$89K annual revenue
  • Total Estimated Impact: +$1.19M annual revenue (+42% vs current run rate)

Data Sources:

  • E-commerce transaction database (4,912 records, Oct-Dec 2024)
  • Google Analytics (traffic and behavior data)
  • Email marketing platform (campaign performance metrics)
  • Customer satisfaction surveys (247 responses)

Methodology:

  • Statistical analysis: R (version 4.3.1)
  • Segmentation: K-means clustering with elbow method (k=4)
  • Forecasting: ARIMA model with seasonal adjustment
  • Visualization: Tableau Desktop 2024.1
💡 How to Use This Prompt
  1. 1. Copy the prompt above using the “Copy Prompt” button
  2. 2. Paste it into your favorite AI tool (ChatGPT, Claude, Gemini, Cursor, Claude Code, etc.)
  3. 3. Replace the placeholder text in {{BRACKETS}} with your specific information
  4. 4. Customize any parts of the prompt to better fit your needs
  5. 5. Run the prompt and iterate on the output as needed