Week 12

Week 12 · Marketing Research & Analytics

Text Analytics, AI-Driven Insights, and Reporting

Davood Wadi, PhD

Research informs decisions only when its findings are valid, obtained lawfully, and communicated in a form that decision makers can act upon.

Part 1: Text as Research Data

A large proportion of the information available about customers exists as text rather than numbers.

Advances in language models have made the systematic analysis of such text feasible at large scale.

This week examines text as a source of research data, the methods by which it is analyzed, the protection of the people who produce it, and the communication of findings.

User-Generated Content

User-generated content is material created and published by consumers, such as online reviews, social media posts, and forum discussions.

Firms also hold large volumes of text from their own channels, such as customer service transcripts, chat logs, and open-ended survey responses.

Two columns of customer text. Published by consumers: an online review with four of five stars, a social media post with a like, and a forum thread with two replies. The firm's own channels: a chat log between a customer and an agent, a transcript of a customer service call, and an open-ended survey answer written in a large text boxPUBLISHED BY CONSUMERSTHE FIRM’S OWN CHANNELS

Such text is unsolicited, expressed in consumers’ own language, available in large volumes, and generated continuously.

It extends the netnographic approach introduced in Week 3 from the close reading of a few communities to the systematic analysis of many thousands of texts.

Social Listening

Social listening is the systematic monitoring and analysis of online conversations about a brand, its competitors, and its category.

Share of voice is the proportion of conversations in a category that mention a particular brand.

Social listening tracks changes in the volume and sentiment of conversations over time, identifies emerging issues, and provides early warning of potential crises.

Data are typically collected through the access that platforms provide to their content, and the extent of that access varies across platforms and has been restricted on several of them.

Weekly mentions in a category over 26 weeks: our brand, with its negative mentions in ochre, under brands B and C. Our negative mentions surge from week 18. A window covers weeks 4 to 9: our share of voice there is 31%, and 10% of our mentions are negativeWEEKLY MENTIONS IN THE CATEGORYSIMULATED05001,000BRAND BBRAND COUR BRANDNEGATIVE1510152026WEEKSHARE OF VOICE, WEEKS 4–9BC31%of mentions are of our brandOF OUR MENTIONS10%negative

Limitations of User-Generated Content

The authors of online content are self-selected. They are not a probability sample of customers, and the findings cannot be projected to the customer base with a known precision, as introduced in Week 5.

Consumers with extreme experiences are more likely to post than those with moderate experiences, so that ratings are concentrated at the highest and lowest values.

The users of each platform differ demographically from the population, and from the users of other platforms.

Ratings of 1 to 5 stars. All customers: 4%, 8%, 22%, 41% and 25%, a mean of 3.75. Posted reviews, when extreme experiences are 5 times as likely to be posted: 9%, 4%, 10%, 19%, 58%, a mean of 4.13; 67% of posted reviews are 1 or 5 stars, against 29% of customersSIMULATEDALL 1,000 CUSTOMERS4%18%222%341%425%5MEAN RATING3.75THE 65 WHO POST A REVIEW9%14%210%319%458%5MEAN RATING4.13
5

Fake reviews and automated accounts, including accounts that use language models to generate text, distort the content.

The visibility of content is determined by platform algorithms, so that the content collected may not represent all the content published.

Findings from user-generated content are therefore compared with evidence from surveys and customer records before they inform decisions.

Exercise · Which one is it?

A restaurant group studies online reviews of its restaurants. Which limitation of user-generated content does each problem show?

Most reviews give one star or five stars, although guests surveyed after their meals mostly rate the visit a three or a four.

Which concept does this case show?

Part 2: Methods of Text Analytics

Text analytics is the use of computational methods to extract structured information from unstructured text.

Its principal methods are sentiment analysis, topic modeling, and text classification.

Large language models are now used for all three tasks, frequently without training on labeled examples.

Sentiment Analysis

Sentiment analysis assigns a polarity, positive, negative, or neutral, and sometimes an intensity, to a text.

Lexicon-based methods score texts according to lists of words associated with positive and negative sentiment.

Machine learning methods are trained on texts whose sentiment has been coded by people, and large language models can classify sentiment from instructions alone.

Aspect-based sentiment analysis identifies the sentiment expressed toward each attribute mentioned in a text. A review of a phone may be positive about the battery and negative about the camera.

Sentiment analysis is complicated by sarcasm, negation, and domain-specific meaning. “Unpredictable” is favorable in a review of a film and unfavorable in a review of a car’s steering.

A review of a phone: "The battery is great but the camera is awful." The lexicon finds great (+1) and awful (−1), a score of 0, neutral. A person reads it as positive about the battery and negative about the cameraA REVIEW OF A PHONE“The battery is great but the camera is awful.”LEXICON-BASED SCOREgreat+1awful−1NEUTRAL0A PERSON’S READING, BY ASPECTBATTERYPOSITIVECAMERANEGATIVE
Review

Topic Modeling

Topic modeling identifies the themes present in a large collection of texts, without categories specified in advance.

Latent Dirichlet allocation, LDA, the most established method, represents each text as a mixture of topics and each topic as a distribution over words.

The analyst interprets and labels each topic by examining its most probable words and a sample of the texts in which it is prominent.

Methods based on the embeddings introduced in Week 10 cluster texts by meaning, and frequently produce more coherent topics for short texts such as social media posts.

The number of topics is chosen by the analyst, and the interpretation of each topic is a judgment that is documented.

Topics found in 8,400 cancellation comments with 4 topics: topic 1, PRICE (price, increase, afford, raised, expensive); topic 2, CONTENT (series, movies, season, nothing, library); topic 3, QUALITY (buffering, app, crashes, slow); topic 4, BILLING (charged, refund, twice, card). Three comments are shown as mixtures of these topics4 TOPICS IN 8,400 CANCELLATION COMMENTSSIMULATED1PRICEpriceincreaseaffordraisedexpensive2CONTENTseriesmoviesseasonnothinglibrary3QUALITYbufferingappcrashesslow4BILLINGchargedrefundtwicecardEACH COMMENT AS A MIXTURE OF TOPICS“The price went up again and there is nothing new to watch.”1 · 55%2 · 45%“The app keeps crashing, and I was charged twice for May.”3 · 50%4 · 50%“My series ended and I cannot justify the money any more.”1 · 40%2 · 60%
4

Text Classification With Large Language Models

Text classification assigns each text to one or more predefined categories, such as the type of complaint expressed.

In zero-shot classification, categories are assigned by a large language model on the basis of written instructions alone. In few-shot classification, the instructions include a small number of coded examples.

Classification with a language model is the application of a codebook, introduced in Week 3, to texts at large scale.

Language models can also extract specific information from texts, such as the product mentioned, the problem described, and the resolution requested.

The classifications can vary with the wording of the instructions and between versions of the model, and are therefore validated before use.

A language model classifies twelve customer messages into delivery, billing, product fault or account. Instructions: What is the customer unhappy about? Choose delivery, billing, product fault, or account. 4 of 12 messages receive a different category than under wording A.INSTRUCTIONS B, ZERO-SHOTSIMULATEDWhat is the customer unhappy about? Choose delivery, billing, product fault, or account.DELIVERYBILLINGPRODUCTFAULTACCOUNTMy parcel arrived four days late.I was charged twice for one order.The kettle stopped working after a week.I cannot reset my password.Charged for an order that never arrived.I cannot log in to track my parcel.Still no refund for the broken blender.Wrong size sent, and now a return fee.The box was crushed and the lamp cracked.My account shows an order I did not place.Left in the rain; the speaker is ruined.The app bills me in the wrong currency.4 of 12messages change category from wording A
Instructions

Selecting a Text Analytics Method

Sentiment analysis is appropriate when the decision requires the overall favorability of the conversation, such as the trend in sentiment toward a brand after a campaign.

Aspect-based sentiment analysis is appropriate when the decision concerns specific product attributes, such as which features of a product generate complaints.

Topic modeling is appropriate when the relevant themes are not known in advance, as in exploratory analysis of reasons for cancellation.

Text classification is appropriate when the categories are known in advance and each text must be assigned to them, as in the routing of customer service messages.

Exercise · Which one is it?

Each manager holds a large collection of customer text. Which method suits each decision?

A brand sponsored a football tournament and wants to know whether posts about it became more favorable in the following month.

Which concept does this case show?

Validating Text Analytics

The analyst first draws a random sample of texts from the collection.

Two or more people then code the sample independently, and their agreement is measured, as introduced in Week 3.

The automated method then codes the same sample.

The analyst then compares the automated coding with the human coding, reporting precision and recall for each category, as introduced in Week 11.

The analyst then examines whether accuracy differs across products, customer groups, or languages.

Finally, the analyst repeats the validation periodically, since the language of consumers and the behavior of the model change over time.

Precision and recall of an automated classification against human coding of 600 sampled texts in all languages: delivery 91% and 89%; billing 88% and 84%; product fault 86% and 90%; account 93% and 87%600 SAMPLED TEXTSSIMULATEDTwo people agree on 92% of texts.The model is compared with them.0%50%100%DELIVERY91%PRECISION89%RECALLBILLING88%84%PRODUCT FAULT86%90%ACCOUNT93%87%
Texts
Exercise · Put it in order

An insurer will use a language model to classify claim emails. Put the validation steps in order.

Tap a step, then the number where it belongs.

Discussion: Ten Thousand Reviews

Discussion: A hotel chain holds 10,000 online reviews from the past year and seeks to identify the causes of declining ratings. Which text analytics methods are appropriate, how should their results be validated, and which limitations of review data should qualify the conclusions?

Part 3: Privacy and Data Protection

Every week of this course has involved data that describe people.

Data protection law governs the collection, use, and storage of personal data in many jurisdictions.

The obligations to respondents introduced in Week 1 are particularly relevant to text data and to AI tools.

Principles of Data Protection

  1. Lawfulness: personal data are processed only on a legal basis, such as the informed consent of the individual.

  2. Purpose limitation: data collected for one purpose are not used for an incompatible purpose without a further legal basis.

  3. Data minimization: only the personal data necessary for the purpose are collected.

  4. Storage limitation: personal data are retained only as long as the purpose requires.

  5. Security: personal data are protected against unauthorized access and loss.

  6. Individual rights: individuals may access the data held about them, request their correction or deletion, and object to certain uses, including some forms of automated decision-making.

Privacy in Text and Social Data

Content that is publicly accessible is not necessarily free to use for any purpose. Its use is limited by platform terms, by law, and by the reasonable expectations of its authors.

Texts frequently contain personal information, such as names, locations, and health conditions, that the author did not intend to be analyzed.

Removing names does not anonymize a text. A verbatim quotation from a public post can be located with a search engine, which identifies its author.

Quotations used in reports are therefore paraphrased or used with permission when their authors could be identified.

Combinations of characteristics that are individually harmless, such as postal code, age, and occupation, can identify an individual.

A respondent's record with the name removed, keeping postal code. In a city of 40,000 adults, 1,850 residents matchONE RESPONDENT’S RECORDSIMULATEDNAMEREMOVEDPOSTAL CODEH2X 1Y4AGEOCCUPATIONRESIDENTS WHO MATCH, CITY OF 40,0001,8501101001,00010,000and 1,820 more
Keep in the record

Special categories of data, such as health, religion, and sexual orientation, require additional protection.

Knowledge Check

A report on a pharmacy chain quotes a public forum post word for word, with the author's username removed: "My pharmacist at the Elm Street store told everyone in line about my insulin prescription." What is the problem?

Privacy and AI Tools

Submitting data to an external AI service is a form of processing, and in many cases a transfer of data to a third party.

The terms of the service determine whether submitted data are retained, and whether they are used to train future models.

Personal data are therefore removed or replaced before submission where the analysis permits it.

Inside the firm, a customer's chat message: Hi, this is Maria Lopez, 514-555-0182. My order to 22 Rue Saint-Denis never arrived. Below it, the same message with the personal data replaced: Hi, this is [NAME], [PHONE]. My order to [ADDRESS] never arrived. Only the replaced message crosses the firm's boundary to an external AI serviceINSIDE THE FIRMEXTERNAL AI SERVICEHi, this is Maria Lopez, 514-555-0182. My order to22 Rue Saint-Denis never arrived.Hi, this is [NAME], [PHONE]. My order to[ADDRESS] never arrived.

Many organizations provide AI tools under contracts that exclude the retention of data and its use for training, or operate models within their own infrastructure.

As introduced in Week 1, the use of respondents’ data in an AI tool falls within the scope of the consent they gave.

Part 4: Communicating Findings

The value of research is realized only when its findings inform a decision.

The final step of the research process, introduced in Week 1, is the preparation and presentation of the report.

A report is written for the decision maker, and its structure follows the decision rather than the sequence of the analysis.

The Research Report

01

The executive summary states the problem, the principal findings, the conclusions, and the recommendations, and is intelligible without the rest of the report.

  1. The background section restates the management decision problem and the marketing research problem.

  2. The method section describes the research design, the sample, the measures, and the analysis, in sufficient detail for the reader to evaluate the findings.

  3. The findings section presents the results, organized by research question.

  4. The limitations section states the constraints on the conclusions, such as the sample, the response rate, the measures, and the methods of analysis.

  5. The conclusions and recommendations section interprets the findings in relation to the decision and proposes a course of action.

Findings, Conclusions, and Recommendations

A finding states what the data show: “42 percent of customers who cancelled cited the price increase as their main reason.”

A conclusion interprets the findings in relation to the research problem: “The price increase is the principal cause of the rise in cancellations among long-standing customers.”

A recommendation proposes an action on the basis of the conclusions: “Offer long-standing customers a loyalty rate for twelve months, and test its effect on cancellations in a randomized experiment before extending it.”

Each recommendation is supported by conclusions, and each conclusion by findings.

The report distinguishes the three clearly, so that the decision maker can assess the strength of the evidence behind each recommendation.

Exercise · Which one is it?

These sentences come from a report on a meal-kit company's falling orders. Is each a finding, a conclusion or a recommendation?

Customers who skipped three or more weeks fell from 18% to 31% of subscribers after the menu change.

Which concept does this case show?

Data Storytelling

Data storytelling is the organization of findings into a coherent argument that leads from the decision to the evidence and to the recommended action.

The presentation begins with the answer to the decision maker’s question, and then presents the evidence that supports it.

Each chart communicates one finding, as introduced in Week 6, and its title states that finding.

Uncertainty is stated explicitly, for example through confidence intervals, as introduced in Week 7.

A presentation chart of the main reasons for cancelling among 400 customers interviewed, with 95% confidence intervals: price increase 42% plus or minus 5 points, service 24% plus or minus 4 points, content 19% plus or minus 4 points, other 15% plus or minus 3 points. Its title reads: Price is the main reason customers cancelPrice is the main reason customers cancelMain reason for cancelling, 400 customers interviewed, 95% confidence intervalsSIMULATEDPrice increase42% ± 5Service24% ± 4Content19% ± 4Other15% ± 30%20%40%60%
400

Causal language is used only when the research design supports a causal conclusion, as introduced in Week 8.

A persuasive presentation remains faithful to the evidence. Findings that do not support the recommendation are reported together with those that do.

Reporting the Use of AI

The report states where AI tools were used in the research, for example in drafting the questionnaire, moderating interviews, coding responses, or analyzing data.

It describes how the output of each tool was verified, such as the agreement between AI coding and human coding.

It states whether any synthetic respondents or simulated subjects were used, and for what purpose.

It states the limitations that the use of AI introduces into the conclusions.

A page from a research report, section 3.4, Use of AI tools: a table of steps and how each was verified. Drafting the questionnaire: revised by the research team and pretested with 12 customers. Coding 2,400 open-ended responses: agreement with two human coders on 300 responses, 89%. Synthetic respondents: used to pilot the questionnaire, not the source of any finding. Limitations: coding agreement is lower for Spanish responses, 78%3 · METHOD3.4 Use of AI toolsSTEPVERIFICATION AND LIMITSDrafting thequestionnaireRevised by the research team;pretested with 12 customers.Coding 2,400 open-ended responsesAgreement with two human coderson 300 responses: 89%.SyntheticrespondentsUsed to pilot the questionnaire;not the source of any finding.LimitationsCoding agreement is lower forSpanish responses (78%).

Disclosure allows decision makers to evaluate the evidence, and allows other researchers to reproduce the work.

Part 5: The Insights Function in an AI-Enabled Organization

The insights function is the part of the organization responsible for marketing research and analytics.

AI tools have changed the cost and speed of nearly every step of the research process covered in this course.

The final part of the course considers how the function, and the role of the researcher, is changing as a result.

How AI Is Changing the Insights Function

Tasks that previously required days, such as drafting questionnaires, coding open-ended responses, and producing descriptive reports, can now be completed in hours.

Managers increasingly conduct surveys, analyses, and experiments themselves through self-service platforms and AI assistants.

Continuous streams of data, such as social listening, customer records, and ongoing experiments, supplement discrete research projects.

Synthetic respondents and simulated subjects are offered as alternatives to research with real people, with the limitations examined in Weeks 5 and 8.

As the volume of research output increases, the ability to distinguish valid evidence from plausible but unfounded output becomes more valuable.

The Role of the Researcher

  1. The researcher defines the problem, since no tool can determine which question a decision requires.

  2. The researcher selects the research design and determines at which steps AI is appropriate.

  3. The researcher verifies the output of AI tools against sources, human judgments, and empirical data.

  4. The researcher integrates evidence from surveys, experiments, customer data, and text into a coherent assessment.

  5. The researcher ensures that research is conducted lawfully and ethically, and that the people who provide data are protected.

  6. The researcher remains accountable for every finding in the report, as introduced in Week 1.

Agent-Mediated Markets as a Research Agenda

As AI agents search, evaluate, and purchase on consumers’ behalf, the insights function studies the agents as well as the consumers.

How agents choose: which product information agents acquire, how they weight attributes, and how the presentation of information in the storefront affects their choices (Wadi & Ma, 2026b).

Whom agents serve: whether the agent’s recommendations change with the party it is told it serves, and whether sponsorship disclosures protect consumers when the agent rather than the consumer reads them (Wadi & Ma, 2026c).

How brands appear to agents: whether the brand is included in the alternatives that AI assistants present, in which position, and with which attributes.

An AI agent shops for instant coffee; each inspection of an attribute costs the user $10, and the prompt says: find the best deal. Across eight models, sessions opened the dollars in 97%, the cents in 39% and the weight in 55% of cases, and 29% chose Coffee B, the lower price per ounce. Data: Wadi and Ma 2026b, Table 1“You need to find the best deal on instant coffee.”Each inspection costs the user $10.COFFEE ACOFFEE B$0.499 PER OZ$0.455 PER OZSESSIONS THAT OPENED ITDOLLARS$4$597%CENTS99¢00¢39%WEIGHT10 oz11 oz55%CHOSE COFFEE B, THE LOWER PRICE PER OUNCE29%WADI & MA (2026B), TABLE 1 · 3,200 SESSIONS, 8 MODELS
Cost per inspection
Goal in the prompt

The methods of this course apply directly: audits describe agent behavior, controlled experiments test its causes, and validated measures and adequate samples make the evidence reliable.

Exercise · Sort into groups

An insights team plans studies of AI shopping agents. Which question of the research agenda does each study address?

        Tap a card, then tap the group it belongs to.

        Discussion: The Insights Team of the Future

        Discussion: A chief executive proposes to reduce the firm’s insights team to two people, and to rely on AI tools and self-service platforms for all other research. Which research activities could such an arrangement perform adequately, which would be at risk, and how should the insights function be organized to use AI tools while maintaining the validity of its evidence?

        The Course in Review

        1. Marketing research provides evidence that reduces uncertainty in managerial decisions, beginning with the precise definition of the research problem.

        2. The research design determines which conclusions the evidence can support: exploratory research clarifies, descriptive research describes, and causal research tests the effect of an action.

        3. Valid evidence depends on sound measurement, appropriate samples, and careful data preparation.

        4. Statistical analysis, from hypothesis tests to regression and multivariate methods, quantifies the evidence and its uncertainty.

        5. Customer analytics and predictive models inform decisions about individual customers, subject to evaluation, fairness, and explanation.

        6. AI tools accelerate every step of the research process, and the researcher’s responsibility to verify their output increases accordingly.

        7. AI models and AI agents are also subjects of research, evaluated with the same standards of measurement, sampling, and experimental design that apply to human respondents.

        Key Takeaways

        1. User-generated content provides large volumes of unsolicited evidence, but its authors are self-selected and its findings cannot be projected to the customer base.

        2. Sentiment analysis, topic modeling, and text classification extract structured information from text, and large language models are now used for all three.

        3. Automated text analysis is validated against human coding, with precision and recall reported for each category.

        4. Data protection requires a legal basis, limited purposes, minimal data, and respect for individual rights, including when data are submitted to AI tools.

        5. A research report distinguishes findings, conclusions, and recommendations, states its limitations, and discloses the use of AI.

        6. The researcher’s role in an AI-enabled organization centers on problem definition, research design, verification, integration, and accountability.

        7. In agent-mediated markets, the insights function studies how AI agents choose, whom they serve, and how brands appear to them, with the methods of measurement, sampling, and experimentation developed in this course.