Skip to content

Commit ce83ebc

Browse files
Add files via upload
updated to fix issues with the appendix, and a few bibliographic issues.
1 parent ab5ceaf commit ce83ebc

3 files changed

Lines changed: 55 additions & 21 deletions

File tree

documentation/paper.md

Lines changed: 53 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ Any data can be used as long as it includes the required fields from the schema
130130

131131
![Parameter schema for CMAP text segments. \label{schema}](figures/schema.png){width=70%}
132132

133-
134-
135133
All parameters are configurable in labeled execution blocks (\autoref{config}), which set how the visuals are produced. For instance short text windows and few words for syntactic analyses, larger windows and more seeds to look at overlapping themes. Users can designate colored grouping to correspond to deeper readings of text [@abramson2024inequality].
136134

137135
![Configurable Execution Block. \label{config}](figures/config.png){width=70%}
@@ -265,34 +263,56 @@ $$
265263
Cosine similarity measures how close two word vectors are in direction, regardless of their length. For two embeddings $\vec{e}^{\,\phi}_{w_i}$ and $\vec{e}^{\,\phi}_{w_j}$, it is defined as the cosine of the angle between them. Values near $1$ indicate strong semantic similarity, while values near $0$ or negative suggest weak or opposite meaning. For example, the vectors for *doctor* and *nurse* would yield a high cosine similarity, reflecting their related meanings, whereas *doctor* and *banana* would yield a value close to $0$. This makes cosine similarity a simple and effective tool for comparing words in our semantic network analysis.
266264

267265
## Other Resources
266+
268267
### Workflow Steps Example (End-to-End)
268+
269269
The workflow for analyzing text as data is iterative. This synthesized workflow integrates pragmatic qualitative steps [@abramson2025pragmatic; @li2025ethnography] with frameworks established in CSS [@grimmer2022text].
270+
270271
- **Define Question/Theory**
271272
Specify the research question or Quantity of Interest (QoI). Work may begin inductively [@nelson2020computational] or deductively [@grimmer2022text].
273+
272274
- **Aggregation (Building the Corpus)**
273275
Define population, sampling frame, and document units. Data sources can include transcribed interviews, ethnographic fieldnotes, historical documents, webscraped data, policy documents, administrative text, or open-ended survey responses. Record provenance and metadata.
274-
>*Python Tools:* pandas for manifests; requests + beautifulsoup4 (web scraping), or API clients. Store as JSONL/CSV + raw text. Export from QDA >software, or integrate text into a data frame.
276+
277+
> *Python Tools:* pandas for manifests; requests + beautifulsoup4 (web scraping), or API clients. Store as JSONL/CSV + raw text. Export from QDA software, or integrate text into a data frame.
278+
275279
- **Digitization and Processing (Data Wrangling)**
276-
*Digitization (OCR & QA):* Convert PDFs/scans. Perform manual Quality Assurance (QA). Choose digitization to preserve meaningful structure (speaker turns, page breaks) for citation integrity.
277-
*Processing:* Clean and format text into machine-readable and tabular formats (see Schema below). Data can be imported from QDA software or read directly from .txt (UTF-8) files. Tokenize/segment and normalize.
278-
>*Python Tools:* pytesseract (OCR); spaCy (normalization/tokenization).
280+
281+
*Digitization (OCR & QA):* Convert PDFs/scans. Perform manual Quality Assurance (QA). Choose digitization to preserve meaningful structure (speaker turns, page breaks) for citation integrity.
282+
283+
*Processing:* Clean and format text into machine-readable and tabular formats (see Schema below). Data can be imported from QDA software or read directly from .txt (UTF-8) files. Tokenize/segment and normalize.
284+
285+
> *Python Tools:* pytesseract (OCR); spaCy (normalization/tokenization).
286+
279287
- **Representation**
280288
Transform text into formats suitable for computational analysis. Choose representations (BOW/TF-IDF, dictionaries, embeddings) to fit the QoI. This involves visualizing patterns, combined with readings.
281-
*Python Tools:* scikit-learn vectorizers (DTM/TF-IDF); Hugging Face transformers (Embeddings).
289+
290+
> *Python Tools:* scikit-learn vectorizers (DTM/TF-IDF); Hugging Face transformers (Embeddings).
291+
282292
- **Annotating and Linking**
283-
>*Annotating:* Build human system for indexing data. Utilize a hybrid approach—combining automation (lists, machine learning) and human coding >depending on scope and complexity [@abramson2025pragmatic]. This involves managing tradeoffs: while accuracy is key for a realist approach, >time efficiency and identifying insights otherwise missed are also crucial considerations. Entity tagging (persons/orgs/places) via spaCy NER.
284-
>
285-
>*Linking:* Join texts to variables in dataframe (site, time, treatment, demographics) for comparison and modeling. If using qualitative >software or purposeful file naming, this can be done with minimal work [@li2025ethnography].
286-
>*Python Tools:* spaCy NER; pandas (linking).
293+
294+
> *Annotating:* Build human system for indexing data. Utilize a hybrid approach—combining automation (lists, machine learning) and human coding depending on scope and complexity [@abramson2025pragmatic]. This involves managing tradeoffs: while accuracy is key for a realist approach, time efficiency and identifying insights otherwise missed are also crucial considerations. Entity tagging (persons/orgs/places) via spaCy NER.
295+
>
296+
> *Linking:* Join texts to variables in dataframe (site, time, treatment, demographics) for comparison and modeling. If using qualitative software or purposeful file naming, this can be done with minimal work [@li2025ethnography].
297+
>
298+
> *Python Tools:* spaCy NER; pandas (linking).
299+
287300
- **Analysis, Modeling & Visualization**
288-
*Descriptions & Visualization:* LDA topics + human validation ("Reading Tea Leaves"); word-embeddings for schemas combined with in-depth narrative [@abramson2024inequality]. Use visualization tools (e.g., CMAP) to explore patterns and comparisons [@abramson2015beyond].
289-
>*Modeling:* Supervised coding/stance with scikit-learn baselines and transformers (BERT-class); report metrics, calibration, and error >analysis. Combine unsupervised exploration (topics/clusters) with supervised measurement/prediction.
290-
>*Deep Reading & Interpretation:* Always return to exemplar passages to contextualize model patterns (scale down), examine disconfirming cases, >update explanations to account for data while noting contextual limits.
301+
302+
*Descriptions & Visualization:* LDA topics + human validation ("Reading Tea Leaves"); word-embeddings for schemas combined with in-depth narrative [@abramson2024inequality]. Use visualization tools (e.g., CMAP) to explore patterns and comparisons [@abramson2015beyond].
303+
304+
> *Modeling:* Supervised coding/stance with scikit-learn baselines and transformers (BERT-class); report metrics, calibration, and error analysis. Combine unsupervised exploration (topics/clusters) with supervised measurement/prediction.
305+
>
306+
> *Deep Reading & Interpretation:* Always return to exemplar passages to contextualize model patterns (scale down), examine disconfirming cases, update explanations to account for data while noting contextual limits.
307+
291308
- **Dissemination and Archiving**
292309
Reproducible Jupyter notebooks (see workshop repo), CMAP visualizations, codebooks, curated quotes. Pair patterns + passages in presentation. Archive code/data where allowed; follow de-identification guidance and document limits/ethics.
310+
293311
### Data Schema Example (CMAP)
312+
294313
For structured analysis and visualization (e.g., using the CMAP toolkit), data should be organized into a consistent tabular format (e.g., CSV or DataFrame). Below is an example schema:
295-
```
314+
315+
```python
296316
# Updated schema with Python typing
297317
schema = {
298318
"project": str, # List project
@@ -310,35 +330,48 @@ schema = {
310330
"codes": list[str] # Critical for analyses with codes, Must be a list of strings
311331
}
312332
```
333+
313334
### Modes of Combining Computation and Qualitative Analysis
335+
314336
A key consideration is how—or whether—to integrate computational tools into the analytical workflow. Researchers adopt different modes based on project needs, data sensitivity, and analytical goals [@abramson2025pragmatic].
337+
315338
- **Streamline (Organizational):**
316339
Using computational tools to manage the logistics of research—organizing manifests, facilitating de-identification, managing quotes, automating basic indexing and tracking team progress—even if the core coding and analysis remain mostly manual.
340+
317341
- **Scaling-up (Efficiency/size):**
318-
When the corpus is large, longitudinal, or multi-site, machine learning (e.g., supervised classification) is used to assist human coding andc omputational tools are used to compile data sets of larger sizes. This may require high-quality human-labeled training data and rigorous human checks and validation (e.g., hybrid approaches).
342+
When the corpus is large, longitudinal, or multi-site, machine learning (e.g., supervised classification) is used to assist human coding and computational tools are used to compile data sets of larger sizes. This may require high-quality human-labeled training data and rigorous human checks and validation (e.g., hybrid approaches).
343+
319344
- **Hybrid (Iterative Refinement and Mixed Methods):**
320345
Combining human analysis with computational methods to answer different types of questions or refine understanding, often as a form of mixed-methods like computational ethnography or historical analysis with computational text analysis. This can involve iterative coding refinement, or using computational patterns (e.g., visualization, network analysis) to identify typologies or variations that guide subsequent in-depth reading and comparison [@abramson2025pragmatic].
346+
321347
- **Discovery (Pattern Finding):**
322348
Utilizing unsupervised methods (e.g., topic modeling, clustering, visualization) to identify latent patterns, themes, or typologies that guide subsequent deep reading and theory development [@nelson2020computational]. This is compatible with human inductive reading.
349+
323350
- **Minimal/No Computation (The "Sociology of Computation"):**
324351
Deliberately choosing not to automate analysis when ethical considerations. Documenting the rationale for this choice, as any choice, is practical and important for transparency [@abramson2025pragmatic].
325-
---
352+
326353
## Related Software Resources
354+
327355
**Li, Zhuofan and Corey M. Abramson.** 2022. *An Introduction to Machine Learning for Qualitative Research.* Jupyter Notebooks (Python). American Sociological Association Methodology Workshop. [GitHub Repository](https://github.com/lizhuofan95/ASA2022_Workshop)
356+
328357
**Nelson, Laura K.** 2020. "Computational Grounded Theory: A Methodological Framework." *Sociological Methods & Research* 49(1):3-42. [Article](https://journals.sagepub.com/doi/10.1177/0049124117729703) | [Homepage](https://www.lauraknelson.com/)
358+
329359
**Commercial Qualitative Data Software** (limited scalability for large datasets, lacks advanced CSS/statistical methods, and/or requires cloud computing):
330360
- ATLAS.ti Scientific Software Development GmbH. 2023. ATLAS.ti Mac (version 23.2.1). https://atlasti.com
331361
- Dedoose Version 9.0.107. 2023. Los Angeles, CA: SocioCultural Research Consultants, LLC. www.dedoose.com
332362
- Lumivero. 2023. NVivo (Version 14). https://www.lumivero.com
333-
---
363+
334364
## Representative Scientific Applications
365+
335366
### Peer-Reviewed Articles
367+
336368
- Abramson, Corey M., Tara Prendergast, Zhuofan Li, and Martín Sánchez-Jankowski. 2024. "Inequality in the Origins and Experiences of Pain: What 'Big (Qualitative) Data' Reveal About Social Suffering in the United States." *Russell Sage Foundation Journal of the Social Sciences* 10(5):34-65. [Link](https://www.rsfjournal.org/content/rsfjss/10/5/34.full.pdf)
337369
- Arteaga, Ignacia, Alma Hernández de Jesús, Brandi Ginn, Corey M. Abramson, and Daniel Dohan. 2025. "Understanding How Social Context Shapes Decisions to Seek Institutional Care: A Qualitative Study of Experiences of Progressive Cognitive Decline Among Latinx Families." *The Gerontologist* gnaf207. [Link](https://doi.org/10.1093/geront/gnaf207)
338370
- Li, Zhuofan and Corey M. Abramson. 2025. "Ethnography and Machine Learning: Synergies and Applications." In *Oxford Handbook of the Sociology of Machine Learning*, edited by [editors]. Oxford University Press. [Preprint](https://arxiv.org/abs/2412.06087)
339371
- Abramson, Corey M., Zhuofan Li, and Tara Prendergast. Expected 2026. "Qualitative Research in an Era of AI: A Pragmatic Approach to Data Analysis, Workflow, and Computation." *Annual Review of Sociology*. [Preprint available]
372+
340373
### Conference Presentations (2024-2025)
374+
341375
- Abramson, Corey M., Kieran Turner, Ignacia Arteaga, Alma Hernández de Jesús, Brandi Ginn, Yuhan Nian, and Daniel Dohan. 2025. "Pragmatic Sensemaking: Semantic Maps of Dementia Narratives." ARS'25: Tenth International Workshop on Social Network Analysis. Naples, Italy. [Preprint](https://arxiv.org/pdf/2509.12503)
342376
- Abramson, Corey M., Kieran Turner,Ignacia Arteaga, Alma Hernández de Jesús, Brandi Ginn, Yuhan Nian, and Daniel Dohan. 2025. "Pragmatic Sensemaking: Mapping the Cultural Work of Living with Dementia." American Sociological Association Annual Meeting. Chicago, IL.
343-
- Abramson, Corey M., Zhuofan Li, and Tara Prendergast. 2024. "Qualitative Sociology in a Computational Era: Classic Issues, Emerging Trends, and New Possibilities." American Sociological Association Annual Meeting. Montreal, Canada.
344-
377+
- Abramson, Corey M., Zhuofan Li, and Tara Prendergast. 2024. "Qualitative Sociology in a Computational Era: Classic Issues, Emerging Trends, and New Possibilities." American Sociological Association Annual Meeting. Montreal, Canada.

documentation/paper.pdf

2.35 MB
Binary file not shown.

documentation/paper_ref.bib

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ @book{grimmer2022text
3535
@article{abramson2025pragmatic,
3636
title={Qualitative Research in an Era of AI: A Pragmatic Approach to Data Analysis, Workflow, and Computation},
3737
author={Abramson, Corey M. and Li, Zhuofan and Prendergast, Tara},
38-
journal={Annual Review of Sociology},
38+
journal={Annual Review of Sociology, invited, pre-print},
3939
year={2025},
4040
note={Print expected 2026},
4141
url={https://arxiv.org/pdf/2509.12503}
@@ -161,6 +161,7 @@ @incollection{li2025ethnography
161161
title={Ethnography and Machine Learning: Synergies and Applications},
162162
author={Li, Zhuofan and Abramson, Corey M.},
163163
booktitle={Oxford Handbook of the Sociology of Machine Learning},
164+
editor={Borch, Christian and Pardo-Guerra, Juan Pablo},
164165
year={2025},
165166
publisher={Oxford University Press},
166167
url={https://arxiv.org/abs/2412.06087}

0 commit comments

Comments
 (0)