Skip to content

AIMI 102 · Module 2

AI Analytics & Decisions

Core question: how far can AI topic and sentiment analysis be trusted, and what can it never prove on its own?

Start Section 1
0 / 6 completed
Sync my progressJoin a session to keep progress across devices and share it with your instructor

Info

After you join, your completed lesson numbers are sent to your instructor together with your learner code, so they can see your progress. Use the codes your instructor gave you or the email you sign in with, and do not enter your name, company secrets or other personal data. Progress is kept with the rest of that session's data.

Learning objectives

  • Use AI to propose topics against a codebook that a person fixes and approves
  • Define sentiment toward a named entity and recognise where AI sentiment labels often go wrong
  • Compare AI classification with a human-labelled baseline of at least 10 items and name the error types
  • Separate observation, inference and causation, and explain why correlation is not causation
  • Choose a chart that answers the decision question and label its axes, sample and period honestly
  • Keep an AI use record (tool, prompt, date, changes) that a reviewer can trace

Topic Analysis with AI

10 min

Topic Analysis with AI: Codebook First

Learning objective: use AI to speed up topic analysis while a person owns the codebook. This module covers 102-CLO2 and 102-CLO3.

Topic analysis loop
  1. Human drafts a codebook from the decision question
  2. AI proposes topics for each record, with a short reason
  3. Human reviews disagreements and revises the codebook if needed
  4. AI re-labels with the approved codebook
  5. Human spot-checks and records the result
Example codebook for the scenario (simulated)
Topic labelDefinitionExample headline type
Earnings and guidanceResults, forecasts and revisionsQuarterly results announced
Supply chainCapacity, materials, logisticsNew plant or shipment delay
Regulation and policyRules, tariffs, subsidies, investigationsNew export rule announced
ESG and governanceEnvironment, labour, board, disclosureEmissions report published
OtherRelevant to the industry but none of the aboveIndustry event coverage

Info

AI use record: write down the tool type, the date, the exact prompt and codebook version, and every change a person made. Without this record nobody can repeat or check the analysis.
Check yourself

Halfway through labelling, the AI starts using a new topic called "Market mood" that is not in the codebook. What should happen?

Halfway through labelling, the AI starts using a new topic called "Market mood" that is not in the codebook. What should happen?

Key takeaway: People own the codebook; AI applies it, and every revision is recorded and applied to all records.

Sentiment Analysis and Its Limits

10 min

Sentiment Analysis and Its Limits

Learning objective: define sentiment precisely (whose tone, toward whom) and recognise the cases where AI sentiment labels are most often wrong in financial news.

Vague definition

  • "Is this article positive?"
  • Mixes market mood, the writer's tone and the company's news
  • Labels drift between people and between runs

Usable definition

  • "What is the coverage tone toward Company X?"
  • Labels: positive, neutral, negative, mixed, unknown
  • One example per label in the codebook
  • Financial wording: "losses narrowed" or "cut costs" can be good news even with negative-sounding words
  • Several entities: an article can be negative for a competitor and neutral for the company you track
  • Mixed tone: good results with a weaker outlook is "mixed", not an average
  • Headline only: a headline may not carry the tone of the full article
  • Hedging and quotes: reported opinions are not the outlet's own judgement

Warning

Coverage sentiment describes how media wrote about something. It is not a measure of the company's performance and not a signal to buy or sell.
Check yourself

Headline: "Rival's plant fire disrupts supply; Company X expects limited impact." What is the sentiment toward Company X?

Headline: "Rival's plant fire disrupts supply; Company X expects limited impact." What is the sentiment toward Company X?

Key takeaway: Define sentiment as tone toward a named entity, and expect AI errors on financial wording, mixed tone and multiple entities.

AI vs Human Baseline

10 min

AI vs Human Classification: The 10-Item Baseline

Learning objective: test AI labels against a human-labelled baseline of at least 10 items before trusting them on the full sample, and describe the errors by type.

  1. Pick the baseline
    Choose at least 10 records that cover both periods and several topics; do not pick only easy ones.
  2. Label by hand first
    A person labels topic and sentiment using the codebook, before seeing the AI output (AIMI102_Gold_Labels.csv provides a simulated set).
  3. Run the AI
    Use the same codebook and prompt for every record and save the output.
  4. Compare
    Count matches and list every disagreement with its article_id.
  5. Classify the errors
    For each disagreement, name the error type and decide whether the codebook or the prompt needs changing.
Simulated teaching result (10 items, not a benchmark)
ResultItemsError type
Same label7None
Neutral labelled negative1Negative-sounding financial wording
Mixed labelled positive1Missed the weaker outlook
Tone toward rival assigned to company1Entity confusion

Info

Report agreement as "7 of 10 items (simulated)", not as a general accuracy figure. Ten items show the error types; they do not prove how the AI performs on every sample.
Check yourself

AI labels match the human baseline on 7 of 10 items. How should this be reported in the brief?

AI labels match the human baseline on 7 of 10 items. How should this be reported in the brief?

Key takeaway: Ten human-labelled items do not prove accuracy; they reveal error types you must fix or disclose.

Correlation Is Not Causation

12 min

Observation, Inference and Causation: Correlation Is Not Causation

Learning objective: separate what you observed from what you infer, and explain why a pattern between news sentiment and share prices does not show that one causes the other.

Three levels of claim
LevelWhat it saysExample (simulated)Evidence needed
ObservationWhat the data shows, with n and periodNegative share of coverage was higher in period B (n = 80) than in period A (n = 40)Clean data and a defined metric
InferenceA reasoned interpretation, stated with uncertaintySupply-chain stories may have driven the shift, since that topic grew mostObservation plus a stated reason and alternatives
CausationX made Y happenNegative coverage caused the share price to fallA design that rules out other explanations; rarely available from media data
  • Reverse direction: a falling price can produce negative headlines, not the other way round
  • Common cause: an earnings release can move both coverage and price at the same time
  • Timing: coverage published after the market moved cannot have caused that move
  • Selection: a sample chosen around dramatic days will show dramatic patterns
  • Chance: with few records and many comparisons, some patterns appear by coincidence

Warning

Critical Fail: claiming that news sentiment directly caused a share-price rise or fall. In this course such a statement can only be an observation of co-occurrence, with its limits stated.
Check yourself

In the simulated data, days with more negative coverage also show more share-price declines. Which conclusion is acceptable?

In the simulated data, days with more negative coverage also show more share-price declines. Which conclusion is acceptable?

Key takeaway: Write observations as observations; causation needs a design that media data rarely provides.

Data Storytelling and Charts

10 min

Data Storytelling and Charts

Learning objective: choose a chart that answers the decision question and label it so a reader cannot misread the size of a change.

Choosing a chart for the question
QuestionSuitable chartHonesty check
How did topic shares differ between two periods?Grouped or side-by-side barsBars start at zero; show n per period
How did coverage change week by week?Line chartMark collection gaps; do not smooth them away
How did AI and human labels differ?Small table or confusion gridShow counts, not only percentages
Which topics carry most negative coverage?Sorted horizontal barsState the sentiment definition and the entity
One-sentence chart story

"In this simulated sample, supply-chain coverage rose from 20% of records in period A (n = 40) to 35% in period B (n = 80), the largest change of any topic; the sample covers free-to-read outlets only."

Info

Do not use colour alone to carry meaning; label series directly so the chart still reads in greyscale and for colour-blind readers.
Check yourself

A bar chart of negative share shows 20% and 23%, with the vertical axis starting at 18% so the second bar looks several times taller. What is the problem?

A bar chart of negative share shows 20% and 23%, with the vertical axis starting at 18% so the second bar looks several times taller. What is the problem?

Key takeaway: A chart answers one question, starts its bars at zero and always shows n and period.

Exercise: AI vs Human Classification

8 min

Exercise: AI vs Human Classification

Learning objective: run an AI classification on the cleaned sample, compare it with the human-labelled baseline and record the error types.

  1. Prepare
    Use your cleaned sample from the data-quality exercise and the course codebook.
  2. Classify with AI
    Ask an approved AI tool to label topic and sentiment toward the named company; keep the prompt and output.
  3. Compare
    Compare the AI labels with AIMI102_Gold_Labels.csv for at least 10 items.
  4. Name the errors
    List each disagreement by article_id with its error type, and note any codebook or prompt change.
  5. Write one observation
    Write one observation about the two periods with n, and one sentence on what it does not show.

Done

This is exercise 2 (aimi102-m2-ai-vs-human-classification). Your comparison table and observation feed the Baseline comparison and Key findings fields of the decision brief in the next module.

Key takeaway: Module summary: AI speeds up classification, but a human baseline, a clear definition and honest claims decide what the result can support.

What next?