Manuscript Offprint
arXiv:2610.19164From Qualitative Text to Integrated Evidence: The Parallel-Then-Integrated (PTI) Procedure
Abstract
Mixed methods research offers established strategies for integrating qualitative and quantitative evidence, but less guidance for integrating two computational representations of the same qualitative corpus. This methodological study introduces Parallel-Then-Integrated (PTI), a four-step procedure for explicit and traceable integration. We present PTI using 1,203 interview paragraphs from 29 mothers in Nepal. The two representations were ontology-guided Patient Voice (PV) coding with PVminer and data-driven themes generated through non-negative matrix factorization (NMF). A theme-complete crosswalk documented convergence, divergence, and preprocessing-sensitive differences. Depression status, based on Patient Health Questionnaire-9 (PHQ-9) scores, served as a secondary external anchor for exploratory association checks. PTI provides a structured approach for integrating computational representations of qualitative text within mixed methods research.
Keywords
Mixed methods research, Parallel-Then-Integrated, PVminer, Meta-inference, Perinatal mental health
Department of Emergency Medicine, Yale School of Medicine, Yale University, New Haven, CT, USA
Department of Social and Behavioral Sciences, Yale School of Public Health, Yale University, New Haven, CT, USA
Corresponding author:
Samah Fodeh
Email: samah.fodeh@yale.edu
(Tai et al., 2024; Mathis et al., 2024; Mannstadt et al., 2024). These capabilities can reduce some of the manual burden of text analysis, support consistent application of structured coding frameworks across larger corpora, and help researchers examine patterns that would be difficult to review manually, while still requiring human interpretation and validation (Dunivin, 2025; Zeng et al., 2026). Mixed methods research already provides strategies for connecting qualitative and quantitative evidence. Qualitative data may be transformed into quantitative variables (Sandelowski et al., 2009), organized within joint displays (Guetterman et al., 2015), or integrated to generate meta-inferences (Teddlie and Tashakkori, 2009). As computational methods increasingly transform qualitative text into quantitative representations, researchers also need to make clear how those representations relate to participant meaning and to one another (Grimmer and Stewart, 2013; Roberts et al., 2014; Zhang et al., 2023). Two contrasting computational approaches are particularly relevant: data-driven theme discovery and ontology-guided coding. Unsupervised methods such as non-negative matrix factorization (NMF) identify patterns from participant language that do not automatically correspond to predefined clinical or social constructs (Lee and Seung, 1999; Miner et al., 2023). Ontology-guided coding takes a different approach by mapping text to predefined conceptual categories (Garla and Brandt, 2012). These approaches parallel inductive and deductive qualitative analysis: one develops patterns from the data, while the other begins with an existing conceptual framework (Proudfoot, 2023). Their comparison can also involve abductive reasoning, because empirical patterns are considered in relation to existing concepts when developing interpretations (Timmermans and Tavory, 2012). The challenge is that two computational representations generated from the same qualitative corpus are not automatically comparable. Existing mixed methods frameworks establish principles for integration and document challenges in connecting findings across analytic components (Bryman, 2007; O'Cathain et al., 2007). Less guidance is available for determining how multiple computational representations of the same qualitative corpus should first be aligned, where they converge or diverge, and how those relationships should inform interpretation. We address this methodological gap with the Parallel-Then-Integrated (PTI) procedure, a structured approach for preserving two computational representations separately before aligning and interpreting them together. PTI is not proposed as a theory-building framework, its purpose is to make the integration process explicit and traceable. It consists of four steps: parallel quantitizing, cross-stream alignment, assessment of overlap & uniqueness, and integrated interpretation through a joint display.
Objectives
The methodological aim of this study is to develop and illustrate PTI as a procedure for integrating multiple computational representations of the same qualitative corpus within mixed methods research. We apply PTI to participant-response text from a community-based perinatal mental health study (van
Heerden et al., 2024) and evaluate how two computational representations ontology-guided Patient Voice (PV) coding and data-driven non-negative matrix factorization (NMF) contribute to integrated interpretation. The analysis includes 1,203 participant-response paragraphs from 29 mothers. Patient Health Questionnaire-9 (PHQ-9) score-based depression status is used only as a mother-level external anchor for exploratory association checks. Accordingly, the demonstration addresses two questions: (1) How do ontology-guided Patient Voice coding and data-driven NMF contribute overlapping, distinct, and potentially unstable information when applied to the same qualitative corpus? (2) As a secondary association check, how do the individual representations and their combination relate to PHQ-9-based depression status?
Mixed Methods Integration in Computational Text Analysis
Contemporary mixed methods integration techniques provide useful starting points for connecting findings from different analytic components. Bringing multiple analyses into the same study does not, by itself, establish integration (O'Cathain et al., 2007). Researchers need to show how findings are connected and how each contributes to the overall study purpose (Bryman, 2006; Bazeley, 2009; Morgan, 2014). The triangulation protocol classifies relationships as agreement, partial agreement, silence, or disagreement. Following a thread traces findings across study components, while the mixed methods matrix organizes evidence within a shared case structure (O'Cathain et al., 2010). Applying these approaches to computational text outputs introduces an additional problem: the outputs being compared may have different conceptual and numerical forms. For example, an ontology-guided method may assign a predefined code to a paragraph, while a data-driven model may assign a continuous numerical weight indicating how strongly that paragraph is associated with a particular theme (Baumer et al., 2017; Jacobs and Tschötschel, 2019). Placing the two values together identifies their common source, but does not establish that they represent the same concept. Joint displays can organize these relationships and support integrated conclusions (Fetters and Tajima, 2022; Haynes-Brown and Fetters, 2021). Interpreting these relationships still depends on earlier decisions about which outputs should be aligned and what constitutes a meaningful correspondence (Peters and Fabregues, 2024). A documented alignment stage can make these decisions transparent before integrated interpretation (Andreotta et al., 2019). Related computational approaches within qualitative research also emphasize the need to connect model outputs back to source text. Computational grounded theory and multi-method text analysis combine pattern detection with close examination of qualitative material (Nelson, 2020; Andreotta et al., 2019). Quali-quantitative approaches similarly demonstrate the value of combining computational and interpretive analyses without treating their outputs as interchangeable (Blok and Pedersen, 2014). Computational methods can identify recurring patterns across larger collections of text, but researchers remain responsible for interpreting those patterns in relation to participant meaning and substantive questions (Guetterman et al., 2018).
Topic modeling illustrates this interpretive process. A topic is a weighted pattern of terms, where larger term weights indicate that particular words or phrases contribute more strongly to that topic (Jacobs and Tschötschel, 2019). Paragraphs can also receive topic weights indicating how strongly a topic is represented in the text. For example, a topic with highly weighted terms such as mother, in-law, sister, and husband may suggest family-related talk, but interpretation still requires examination of the participant paragraphs in which the topic is strongly represented (Towler et al., 2023; Melnikov et al., 2024). Analysts can also examine sensitivity to preprocessing choices when interpreting computational themes (Gillings and Hardie, 2023). Comparisons of topic modeling and human coding further show that the same qualitative material may be organized differently across analytic approaches (Miner et al., 2023; Gillies et al., 2022). Machine-assisted quantitizing extends this issue by transforming qualitative material into numeric variables that can enter statistical or mixed methods analyses (Karjus, 2023). Quantitizing makes it possible to summarize and compare patterns across a corpus, but computational representations may still differ in conceptual meaning, structure, and scale (Baumer et al., 2017). Current approaches such as the Pillar Integration Process (PIP) and the triangulation protocol provide structures for integrating or comparing findings (Johnson et al., 2019; O'Cathain et al., 2010). These approaches were not developed specifically to operationalize the pre-integration alignment of multiple computational representations generated from the same qualitative corpus. PTI focuses on this narrower problem by making conceptual correspondence, unmatched outputs, and preprocessing-sensitive divergence explicit before joint interpretation.
Methods
Parallel-Then-Integrated (PTI) Procedure
PTI organizes two computational representations of qualitative text and integrates them through four steps as follows:
(1) Parallel quantitizing: Apply ontology-guided and data-driven methods independently to the same corpus, producing separate numeric representations (Karjus, 2023).
(2) Cross-stream alignment: Map the outputs of both representations to shared conceptual domains so that their relationships can be examined.
(3) Assessment of overlap and uniqueness: Examine where the representations converge, diverge, or contribute distinct information.
(4) Integrated interpretation: Synthesize the aligned evidence through a joint display to generate meta-inferences.
To make the relationship between the two representations explicit and traceable, PTI uses four heuristic checks: domain uniqueness, feature overlap, signal increment, and interpretive richness (Table 1). Each check captures a different aspect of the relationship, and the checks are considered separately.
without producing a single score or decision threshold. Here, domains refer to conceptual areas represented by a code or theme, features are the numeric variables derived from each representation, signal refers to association with the optional external anchor, and insights refer to interpretations that emerge when the two representations are considered together.
Table 1. Heuristic checks for examining relationships between PTI representations
| Check | What it examines | Illustrative evidence |
|---|---|---|
| Domain uniqueness | Domains represented by only one representation | Representation-specific domains |
| Feature overlap | Association between features from the two representations | Cross-representation associations |
| Signal increment | Added signal when an external anchor is available | Comparison with the individual representations |
| Interpretive richness | Insights produced through integrated interpretation | Meta-inferences drawing on both representations |
Algorithm 1 presents the four PTI steps as a reusable analytic sequence. Specific coding and topic-modeling methods can vary across applications.
Data Source
The analysis uses de-identified interview transcripts from a community-based perinatal mental health study of adolescent and young mothers in Chitwan, Nepal (van Heerden et al., 2024). Interviews were conducted in Nepali, transcribed verbatim in Nepali, and translated into English, preserving culturally meaningful terms (Poudyal et al., 2019). The interviews elicited experiences of young motherhood and passive-sensing technology. Participants were recruited through postnatal clinics and immunization camps. The analytic corpus included only participant responses, interviewer questions, template text, and non-speech metadata were excluded.
Study Design
The illustrative analytic sample comprised n = 29 mothers from the parent Nepal study with participant-response text and binary depression status (9 depressed, 20 non-depressed). Here, the external anchor refers to depression status measured independently of the two text representations. Depression status was defined from the PHQ-9 screening score using a cutoff of 9, following the parent study's Chitwan-based validation approach (van Heerden et al., 2024). Paragraphs were coded at the text level and aggregated to mother-level features before modeling. The binary outcome was defined at the mother level. Let denote depression status for mother i, where indicates depressed and indicates non-depressed:
Algorithm 1 Parallel-Then-Integrated (PTI) procedure
Require: Text corpus X; ontology-guided method O; data-driven text-analysis method T; optional external anchor Y
Ensure: Cross-stream crosswalk C; joint display J; meta-inferences M
Step 1: Parallel quantitizing
Apply O to each text unit and retain codes and supporting text spans
Apply T independently to the same text units and retain theme weights
Aggregate both representations to the common analytic unit
Step 2: Cross-stream alignment
Map ontology codes and themes to shared conceptual domains
Construct a theme-complete crosswalk C, retaining unmatched domains
Step 3: Assessment of overlap and uniqueness
Assess domain uniqueness and feature overlap
if Y is available then
Assess signal increment against Y
end if
Record supporting evidence for each assessment
Step 4: Integrated interpretation
Construct joint display J from the aligned evidence
Identify convergence, divergence, and representation-specific information
Generate meta-inferences M from the integrated evidence
Assess interpretive richness
Document applicable boundary conditions
return C, J, M
The 4,253 transcript rows included participant responses, interviewer questions, and other non-analytic text. Because PVminer and NMF were applied only to participant responses, interviewer and other non-participant text were excluded. This left 1,242 participant-response paragraphs. We then applied minimal normalization by stripping leading speaker tags and bullet markers and collapsing whitespace. We also removed very short turns (fewer than five alphabetic words after normalization) to exclude acknowledgments and backchannels that carry little semantic content for coding or topic modeling. This second step removed 39 rows (3.1%), yielding 1,203 analytic paragraphs. Table 2 presents the preprocessing funnel. Per-mother paragraph counts reflect retained participant text only. Let denote the number of retained paragraphs.
for mother , and let denote paragraph from mother , where . All PV labels and NMF theme weights were aggregated to mother-level vectors before modeling.
Table 2. Preprocessing funnel: transcript rows to analytic paragraphs
| Stage | Mothers | Rows | Removed | Per-mother counts | ||
|---|---|---|---|---|---|---|
| Min | Mean | Max | ||||
| 29-mother analytic cohort | 29 | 4,253 | — | 83 | 146.7 | 233 |
| Participant turns only | 29 | 1,242 | 3,011 | 12 | 42.8 | 95 |
| After short-turn filter (≥5 words) | 29 | 1,203 | 39 | 12 | 41.5 | 93 |
Note: Per-mother counts are reported at each stage. The 3,011 rows removed at the participant-turn stage comprise interviewer turns (2,076), boilerplate/field-note text (55), and other non-participant or unlabeled rows (880). The short-turn filter removed 39 paragraphs (3.1%); all 29 mothers retained at least 12 paragraphs. Figure 1 summarizes the demonstration workflow. It shows how participant responses are transformed into parallel PVminer and NMF representations, then aligned and integrated through PTI.

Figure 1. Overview of the PTI demonstration. Participant-response paragraphs are transformed into two independent computational representations (PVminer and NMF), then aligned, assessed for overlap, and integrated through the joint display. Cross-validated logistic regression provides a secondary external-anchor association check. The joint display is the primary analytic output.
PVminer codebook and feature construction
The ontology-guided representation used PVminer to assign Patient Voice ontology labels to participant-response paragraphs (Fodeh et al., 2026). The Patient Voice ontology organizes patient and provider language into predefined communication and psychosocial domains. One of its top-level codes is Social
Determinants of Health (SDOH), which includes sub-codes representing areas such as economic stability, neighborhood and built environment, and social and community context. These ontology-defined codes form the PV representation that is later compared with the data-driven NMF themes to address the first research question. We used the Token-Adaptive Barrier Preference Optimization (TAB-PO) Llama 3.3 70B checkpoint for all reported PV labels (Fodeh et al., 2026). The 70B checkpoint had the strongest reported ontology-consistent labeling performance on the PVminer expert gold standard (approximately 85% code , 83% sub-code , and 88% span ). Our PV features depend on stable, schema-valid Code, Sub-code assignments across diverse participant-response paragraphs. Here, schema-valid means that each predicted Sub-code is permitted under its assigned Code according to the Patient Voice ontology. In development runs on this corpus, smaller checkpoints produced lower schema-valid yield and overbroad sub-code assignments (e.g., SDOH and care coordination codes appearing in nearly all participants), which would weaken the usefulness of the mother-level density features, defined as the proportion of each mother's paragraphs assigned to a given Code, Sub-code pair. TAB-PO maps free text to schema-valid PV records. Each record contains a coarse-grained Code, a fine-grained Sub-code valid under that code, and a grounded text span from the source paragraph. For a paragraph from mother , PVminer returns a set of PV records:
where denotes the PV code, denotes the corresponding sub-code, and denotes the supporting text span. The ontology was developed for structured labeling of patient and provider utterances in clinical dialogue. Table 3 summarizes the PV domains and sub-codes represented in the present analysis.
Table 3. Patient Voice ontology domains
| PV domain | Content focus/sub-codes |
|---|---|
| Care coordination | Patient/provider coordination of care |
| Partnership | Active participation/involvement, express opinions, state preferences, alignment, appreciation/gratitude, connection, salutation, build trust |
| Shared decision-making | Explore options, seeking approval, approval of decision, share options, make decision, approval/reinforcement |
| SDOH | Economic stability, education access and quality, health care access and quality, neighborhood and built environment, social and community context |
| Socioemotional behavior | Express emotions/concern/unease, sadness/fear, acknowledge situation, reassurance, positive remarks/reward |
The ontology has no dedicated infant-care or baby care construct. Infant-care talk was assigned to existing PV categories such as care coordination or SDOH/SocialAndCommunityContext when TAB-PO returned schema-valid PV labels. For the present external-anchor analysis, we used the semantic Code-Sub-code pair as the feature source. Grounded spans linked each label to the paragraph text but were not entered as predictors. TAB-PO assigned labels across the 1,203 analytic paragraphs. Forty-one distinct Code-Sub-code pairs appeared at least once in the analytic sample ( ). Paragraph-level PV labels were aggregated to mother-level density features so that the unit of analysis matched the mother-level depression outcome. Let S denote the set of observed PV Code-Sub-code pairs. For mother i and PV pair , the density feature was defined as:
where is the number of participant-response paragraphs for mother , is the set of Code, Sub-code pairs assigned to paragraph , and is the indicator function. Therefore, represents the proportion of mother 's response paragraphs assigned PV pair . This density representation serves two purposes. First, it normalizes for unequal interview length across mothers. Second, it creates a mother-level feature matrix for leakage-aware cross-validation. The result is a candidate matrix of sub-code-density features.
PV external-anchor association model
The PV model tested whether ontology-guided sub-code-density features were associated with mother-level depression status under leave-one-mother-out cross-validation (LOOCV). The five PV sub-codes used in each model were not fixed in advance. Instead, feature selection was repeated separately within each LOOCV training fold, using only the training mothers. The held-out mother's outcome was not used to select features or fit the model. For each fold, one mother was held out. Using only the remaining 28 mothers in the training set, each of the 41 sub-code-density features was ranked by its univariate association with depression status in the training set (the absolute distance between the training-fold area under the receiver operating characteristic curve and 0.5). The top five sub-codes were retained for that fold, and -regularized logistic regression was fit on the resulting training matrix:
\mathrm{P r}(y_{i}=1\mid\mathbf{x}_{i}^{\mathrm{P V}})=\sigma\left(\beta_{0}+\mathbf{x}_{i}^{\mathrm{P V}}^{\top}\boldsymbol{\beta}\right), \tag{4}where denotes the vector of five fold-selected PV sub-code densities for mother , and is the logistic function. The fitted model generated one predicted probability for the held-out mother. Because feature selection was repeated inside each training fold, the held-out mother's outcome did not influence which sub-codes entered the model. For the external-anchor analysis, association was summarized using the area under the receiver operating characteristic curve (AUC). The analysis was designed to assess external-anchor association, not diagnostic performance. We use the term external-anchor association because discrimination against a single binary criterion (depression status) does not, on its own, establish the convergent, discriminant, and nomological evidence that construct validation requires. PVminer does not diagnose depression. It quantifies codebook-based psychosocial domains for mixed methods research.
Unsupervised NMF theme representation
NMF was used to quantify qualitative themes from participant-response paragraphs without imposing the PV ontology. A theme is the main topic the participant mentioned in her response. This data-driven representation provides the essential comparison: PVminer ontology-guided features versus NMF data-driven theme features derived from the same participant responses. NMF does not replace qualitative interpretation. It offers a parallel numeric representation that can be aligned with other computational representations within mixed methods research. The NMF comparator applied unsupervised topic modeling to the same 1,203 participant-response paragraphs used for PVminer labeling. We use theme for an interpreted NMF component and topic modeling for the computational method. Features included unigrams and bigrams with English stop-word removal and document-frequency filtering. As a preprocessing sensitivity check, we repeated the NMF after contraction normalization, expanding common English contractions (e.g., “don’t” → “do not”) while keeping the remaining preprocessing and model settings unchanged. This check examined whether theme interpretation was sensitive to contraction fragments. Let denote the term frequency-inverse document frequency (TF-IDF) matrix for participant-response paragraphs and vocabulary terms. NMF approximated this matrix as:
where contains paragraph-level theme weights and contains theme-term weights. Bootstrap solution stability selected from to by maximizing the mean Jaccard similarity of top-term matches across bootstrap refits (mean Jaccard = 0.410). NMF was fit on the full 1,203-paragraph corpus before cross-validation. The resulting theme weights are transductive. The held-out mother's paragraphs contributed to the unsupervised representation, although her depression status was not used. Only supervised feature selection and logistic-regression fitting were fold specific. Standalone NMF and combined PV-NMF AUCs should therefore be interpreted as exploratory transductive estimates, not as fully out-of-sample performance. Paragraph-level theme weights were aggregated to the mother level using mean theme weights for the standalone NMF comparator. For mother and theme , the feature was
where is the NMF weight for theme in paragraph from mother . This produced a mother-level comparator matrix for the standalone NMF endpoint. The combined model used the same six participant-response NMF themes, summarized as mother-level theme features for fold-specific block selection. Table 4 summarizes the six themes.
Table 4. Participant-response NMF themes ()
| Theme | Label | Content focus | Top TF-IDF terms |
|---|---|---|---|
| T0 | Baby care and health | Infant care, monitoring illness, and providing care | baby, care, care baby, look, look baby, sick, birth, provide |
| T1 | Emotional difficulty and help-seeking | Feeling difficulty and asking for or receiving help | feel, difficult, feel difficult, didn't feel, help, don feel, ask |
| T2 | Activities and preferences | Leisure, play, likes, and dislikes | like, things, play, don like, talk, activities like, works, activities |
| T3 | Family and in-laws | Husband, parents, sisters, and extended family | mother, in-law, mother in-law, sister, husband, sister in-law, father, father mother |
| T4 | Denial and negation | Denying problems, uncertainty, and negation talk | don, problems, don problems, umm, think, know, don know, things |
| T5 | Daily chores and hygiene | Washing, clothing, food, and household time use | time, clothes, used, wash, wash clothes, washing, food, washing clothes |
Cross-stream alignment and joint-display decisions
Alignment used PV ontology definitions, NMF terms, representative paragraphs, and grounded PV spans. Convergence was used when both representations reflected the same general domain. Partial convergence was used when they overlapped but emphasized different aspects of the text. Divergence was used when no clear match was found or when the relationship did not hold after the preprocessing sensitivity check. All themes were kept in the crosswalk. A theme was included in the joint display when it added a clear and useful perspective. Themes with weak, indirect, or preprocessing-sensitive links were kept in the crosswalk but not included in the joint display. For each theme, the five paragraphs with the highest theme weights were reviewed.
Combined PV-NMF external-anchor model
The combined model tested whether combining ontology-guided and data-driven participant-response transformations provided incremental external-anchor signal beyond either representation alone. It concatenated fold-selected PV features and fold-selected NMF theme features in a single mother-level logistic regression model:
where denotes feature concatenation, and and represent the selected PV and NMF features for mother , respectively. The resulting vector was used as input to the logistic regression model described in the Statistical Modeling subsection. Within each LOOCV training fold, the top five PV sub-codes were selected from the pool of 41 sub-codes, and up to four participant-response NMF theme features were selected from the six themes in Table 4. These NMF features came from the same participant-response NMF solution used for the standalone comparator. Non-informative features with insufficient training-fold variation were removed before ranking, so the number of NMF features entering the combined model could vary across folds. The effective NMF contribution to the combined model was two theme features (T0, baby care and health; and T2, activities and preferences), even when the NMF block cap was expanded from four to six themes. Selected PV and NMF features were combined in a single matrix. The combined model provides a secondary external-anchor representation by entering the concatenated PV and NMF features in one logistic regression.
Statistical modeling
In this analysis we compare the three data representations: the combined PV-NMF external anchor, PVminer features, and NMF themes. All evaluations were performed at the mother level. Paragraphs were never treated as independent participants. For each paragraph representation, text-derived features were first aggregated to one row per mother and then entered into a regularized logistic regression model. The three models used this same mother-level evaluation so that they are directly comparable. Supervised model predictions were evaluated using held-out mothers under cross-validation. Let denote the mother-level feature vector for mother , where depends on the representation being evaluated. The binary depression outcome was modeled as
where is the logistic function. Unless otherwise stated, models used -regularized logistic regression with the default regularization setting. Regularization was used because the cohort was small and the number of depressed cases was limited. The same modeling approach was applied to PVminer features and NMF themes. Models were not interpreted as clinical screening tools; they assessed preliminary external-anchor association at the mother level. Primary evaluation used leave-one-mother-out cross-validation (LOOCV). In each fold, one mother was held out as the test case, all model fitting was performed using the remaining mothers, and a predicted probability was generated for the held-out mother. The final performance estimate was computed from the set of held-out predictions across all 29 folds. This design limited supervised information leakage and avoided inflating the effective sample size. The main performance metric was AUC, computed from cross-validated mother-level predicted probabilities. Let denote the held-out predicted probability for mother . The AUC can be interpreted as
where and denote randomly selected depressed and non-depressed mothers, respectively. Permutation testing was used to assess whether the observed AUC exceeded chance. We used permutations. For each permutation , mother-level depression labels were randomly shuffled, the full cross-validation procedure was rerun, and a permuted AUC was computed. The one-sided permutation -value was calculated as:
Results
Results are organized around the analytic logic of PTI. We first examine what each representation captured independently, then how the representations aligned or diverged, how overlap and uniqueness were assessed, and what meta-inferences and hypotheses emerged from integration. Conceptual and interpretive evidence form the primary basis of the assessment, while cross-validated performance serves only as a secondary external-anchor association check. Table 5 shows the illustrative performance results used in this assessment. The standalone PV model used five sub-codes selected within each LOOCV training fold from the pool of 41 sub-codes. The combined model capped selection at five PV sub-codes and four NMF themes per fold; its effective contribution was five PV and two NMF features. NMF themes were discovered on the full 1,203-paragraph corpus before LOOCV, so the NMF and combined AUCs are transductive estimates.
Table 5. LOOCV AUC by representation ( mothers)
| Representation | Features | Evaluation | AUC | Permutation |
|---|---|---|---|---|
| PV model (standalone) | LOOCV | |||
| NMF themes (standalone) | LOOCV | |||
| Combined PV + NMF | LOOCV | |||
| NMF |
What ontology-guided PV coding captured
PV coding captured psychosocial domains defined in the ontology (Table 3). Partnership codes captured relational and communication experiences, while SDOH codes captured economic, environmental, social, and community contexts. Each PV label was grounded in a supporting text span. As an external-anchor check, PV densities reached a LOOCV AUC of 0.706 (permutation p = 0.106). This indicated a directional association with depression status. The main contribution of the PV representation was its construct-level domain coverage.
What data-driven NMF captured
NMF identified data-driven participant-language patterns, including activities and preferences (T2), denial and negation (T4), family and in-law talk (T3), and emotional difficulty and help-seeking (T1) (Table 4). The six NMF themes reached a LOOCV AUC of 0.680 (permutation p = 0.090). T4 was sensitive to preprocessing. After contraction normalization, the denial and negation pattern did not replicate consistently. We therefore excluded T4 from integrated interpretation. T2 showed partial convergence with PV active participation and involvement, but its correspondence was indirect. Routine-disruption language was captured more clearly by T5. Accordingly, T5 was retained in the joint display, while T2 was retained only in the crosswalk.
Cross-stream alignment, assessment, and integrated interpretation
The analysis proceeded from cross-stream alignment to an assessment of overlap and uniqueness, followed by integrated interpretation through the joint display.
Cross-stream alignment. Alignment drew on PV ontology definitions, NMF terms, representative paragraphs, and grounded PV spans. The following scaffold makes this reasoning explicit.
PTI example scaffold
Participant account
The source paragraph provides the qualitative material.
PV representation
{ "Code": "[ontology code]", "Sub-code": "[ontology sub-code]", "Span": "[grounded participant wording]" }
NMF interpretation
The paragraph is related to one or more data-driven themes.
Integrated interpretation
The PV construct is related to the way the experience is expressed in the NMF theme.
Meta-inference
The relationship between the two representations supports an integrated conclusion.
Two examples illustrate partial convergence between ontology-guided and data-driven representations in economic–relational and affective contexts.
Example 1: Economic–relational strain and violence (depressed)
Participant: "My husband doesn't have any work to do, he doesn't take care of the house and this baby... If I suggest him about such things, he starts to beat me."
PV representation:
{ "Code": "SDOH", "Sub-code": "EconomicStability", "Span": "My husband doesn't have any work to do" }
NMF interpretation: The participant paragraph aligns with family and husband talk (T3).
Integrated interpretation: PV identifies economic instability, while NMF locates the experience within family and husband language. Their alignment shows that material hardship is narrated through a relational context that also includes violence.
Meta-inference: Economic hardship and intimate partner violence form a connected relational experience in this account. PTI documents how this relationship is divided across the two computational representations.
Example 2: Socioemotional affect and emotional difficulty (non-depressed)
Participant: "I feel irritate when he starts crying. I don't feel irritate when he has some problems but sometimes babies used to cry without any problems at that time I feel irritate."
PV representation:
{ "Code": "SocioEmotionalBehaviour", "Sub-code": "expressEmotions", }
"Span": "I feel irritate" }
NMF interpretation: The participant paragraph aligns with emotional-difficulty and help-seeking talk (T1).
Integrated interpretation: PV assigns the affective content to the ontology's socioemotional construct without specifying emotional valence, while NMF places the same paragraph in the data-driven emotional-difficulty theme. The two representations therefore converge on emotional experience, while NMF additionally situates that experience within a difficulty-oriented context.
Meta-inference: Affective language about irritation and infant crying is captured by both representations, but at different levels. PV identifies socioemotional expression, while NMF characterizes the broader pattern as emotional difficulty. This represents partial cross-stream convergence, with NMF adding information about the negative or difficulty-oriented context of the emotional expression.
Table 6 maps all six NMF themes to relevant PV domains and records unmatched, excluded, and preprocessing-sensitive themes.
Assessment of overlap and uniqueness. Across Steps 3 and 4, PTI applies the four heuristic checks in Table 1. Given the small sample, conceptual and interpretive evidence is primary, but the empirical checks remain exploratory. From the PV side, Shared decision-making had no direct NMF counterpart in the present crosswalk. T5 represented routine and daily-life disruption without a matching PV construct. T4 was excluded after failing the preprocessing sensitivity check. T2 showed only partial correspondence with PV active participation and was retained in the crosswalk but not the joint display. The mean absolute correlation between PV sub-code densities and NMF theme weights was across 246 feature pairs and is reported descriptively. The combined PV–NMF model reached a LOOCV AUC of 0.756, compared with 0.706 for PV and 0.680 for NMF. This higher observed AUC is treated as exploratory evidence of partially non-overlapping external-anchor signal. Notably, the NMF features contributing to the combined external-anchor model were T0 and T2, both of which were excluded from the joint display. This shows that external-anchor signal and interpretive relevance were carried by different themes in this demonstration. The crosswalk and joint display provide the primary interpretive integration. Table 7 summarizes the resulting alignment and meta-inferences.
Discussion
PTI was developed and illustrated as a procedure for integrating two computational representations of the same qualitative corpus. Its contribution is procedural: PTI makes explicit how independently generated outputs are
Table 6. Theme-complete cross-stream crosswalk: NMF themes mapped to relevant PV domains, with joint-display inclusion decisions
| NMF theme | Mapped PV domain(s) | Alignment | Joint-display decision |
|---|---|---|---|
| T0: Baby care and health | Care coordination; SDOH/SocialAnd CommunityContext | Partial convergence; no dedicated infant-care construct | Excluded: already covered by existing care and social-context codes. |
| T1: Emotional difficulty and help-seeking | Socioemotional behavior | Partial convergence | Included as Emotional difficulty; NMF adds a difficulty-oriented context not specified by the PV construct. |
| T2: Activities and preferences | Partnership/active participation and involvement | Partial convergence | Excluded from joint display: shared activity/engagement focus, but PV is care/interaction-oriented while T2 is everyday likes, play, and preferences; routine disruption maps to T5. |
| T3: Family and in-laws | Partnership, SDOH/EconomicStability | Convergence with Partnership, partial convergence with SDOH | Included as two joint-display rows: Economic hardship and Partnership and family. |
| T4: Denial and negation | None | Apparent divergence under default preprocessing | Excluded: failed contraction-normalization sensitivity; retained as a methodological finding. |
| T5: Daily chores and hygiene | None | Divergence: NMF-only | Included as Routine and daily-life disruption. |
Table 7. Joint display of cross-stream alignment and meta-inferences (PTI Steps 2–4)
| Domain | PV code-sub-code | NMF | Alignment | Meta-inference |
|---|---|---|---|---|
| Economic hardship | SDOH/EconomicStability | T3 | Partial convergence: NMF captures hardship through family and husband language. | Economic hardship is voiced relationally, not as isolated financial talk. |
| Partnership and family | PartnershipPatient/expressOpinions | T3 | Convergence: both representations relational content. | In the illustrated account, distress is voiced through conflict with the husband. |
| Emotional difficulty | SocioEmotional Behaviour | T1 | Partial convergence: both representations capture affective content, while NMF adds a difficulty-oriented context. | Distress is expressed through felt difficulty and help-seeking. |
| Routine and daily-life disruption | None | T5 | Divergence: NMF captures routine-disruption language absent from the ontology. | Routine-related language may be incompletely represented by the ontology, indicating a candidate coverage gap requiring validation. |
aligned, compared, and interpreted together. This extends mixed methods attention to meaningful connections across analytic components (Small, 2011) and complements recent work combining qualitative coding with computational topic modeling while preserving their distinct analytic contributions (Hoffman et al., 2025). Applying PTI to the Nepal interview data showed that ontology-guided and data-driven approaches can represent the same participant-response text differently. Some domains partially converged, while others were represented mainly by one computational representation. This finding is consistent with recent work showing that computational and researcher-developed qualitative representations may capture related material while differing in interpretation and contextual specificity (Misra et al., 2026). The denial and negation theme became unstable after contraction normalization. This instability indicates that preprocessing choices may influence the observed divergence. Human interpretation therefore remains central. Computational models can identify patterns or assign predefined labels, but researchers still need to determine whether outputs are conceptually related and what their relationship means in context. Prior work on topic modeling and qualitative analysis similarly emphasizes linking computational patterns to source material (Gillies et al., 2022), while recent LLM-based qualitative research continues to place interpretive responsibility with researchers (Than et al., 2025). PTI supports this process by making alignment decisions and the reasoning behind integrated conclusions traceable. The analysis also distinguished interpretive value from external-anchor association. Baby care and health (T0) and activities and preferences (T2) contributed to the combined external-anchor model. Both were excluded from the joint display, indicating that themes contributing to external-anchor association were not necessarily those selected for integrated qualitative interpretation. Although the combined model achieved a higher observed AUC, this difference should be interpreted cautiously given the small sample and transductive NMF representation. More importantly, this distinction highlights the value of PTI in separating statistical associations from interpretive contributions while making the relationships between computational representations explicit and traceable.
Limitations
The small cohort (n = 29, nine depressed cases) limits the strength of the supervised findings, which should be interpreted as exploratory. Findings illustrate the procedure and do not support substantive claims about perinatal mental health. Because NMF was fit on the full corpus before cross-validation, the NMF and combined-model estimates are transductive. NMF solution stability was modest, and the T4 denial and negation theme was not stable after contraction normalization. The PV ontology was developed for clinical dialogue and has not been validated for translated Nepali perinatal narratives. Unmatched themes may therefore reflect a codebook coverage gap, translation effects, labeling error, limited ontology fit, or model instability.
Conclusion
PTI offers a transparent and auditable procedure for integrating two computational representations of one qualitative corpus. One representation uses ontology-guided coding, the other uses data-driven topic modeling. PTI aligns these representations and supports their joint interpretation within mixed methods research. In the perinatal demonstration, the PV representation identified predefined psychosocial constructs, while NMF surfaced additional linguistic patterns. The crosswalk and joint display made inclusion, alignment, and divergence decisions traceable. We treat the two representations as distinct and as capable of being meaningfully aligned and integrated. The demonstration indicates that the two representations may contain partially non-overlapping information that is useful for integration. The balance between shared and representation-specific information may vary across corpora, codebooks, and computational methods. Further applications of PTI to larger and more diverse datasets and substantive domains could examine how such differences influence integrated interpretation and the development of meta-inferences.
Ethical considerations
This work is a methodological study that uses a secondary analysis of de-identified participant interview transcripts collected by the parent Nepal study. Ethical approval and participant consent for the parent study were obtained by the original investigators, as reported by van Heerden et al. (2024). The present analysis used only de-identified text, included quotations without direct identifiers, and involved no new contact with participants.
Data and materials availability
The de-identified interview data and Patient Voice ontology codebook are available upon request. The analysis code and implementation details are publicly available on GitHub at https://github.com/Elyasirankhah/PTI.
Acknowledgements
The authors thank the parent study research team and the participants whose interview data made this methodological demonstration possible.
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
References
Andreotta M, Nugroho R, Hurlstone MJ, Boschetti F, Farrell S, Walker I and Paris C (2019) Analyzing social media data: A mixed-methods framework combining computational and qualitative text analysis. Behavior Research Methods 51(4): 1766–1781. DOI:10.3758/s13428-019-01202-8.
Baumer EPS, Mimno D, Guha S, Quan E and Gay GK (2017) Comparing grounded theory and topic modeling: Extreme divergence or unlikely convergence? Journal of the Association for Information Science and Technology 68(6): 1397–1410. DOI:10.1002/asi.23786.
Bazeley P (2009) Integrating data analyses in mixed methods research. Journal of Mixed Methods Research 3(3): 203–207. DOI:10.1177/1558689809334443.
Blok A and Pedersen MA (2014) Complementary social science? qualitative quantitative experiments in a big data world. Big Data & Society 1(2): 1–6.
Bryman A (2006) Integrating quantitative and qualitative research: How is it done? Qualitative Research 6(1): 97–113. DOI:10.1177/1468794106058877.
Bryman A (2007) Barriers to integrating quantitative and qualitative research. Journal of Mixed Methods Research 1(1): 8–22. DOI:10.1177/2345678906290531.
Dunivin ZO (2025) Scaling hermeneutics: a guide to qualitative coding with LLMs for reflexive content analysis. EPJ Data Science 14: 28. DOI: 10.1140/epjds/s13688-025-00548-8.
Fetters MD and Tajima C (2022) Joint displays of integrated data collection in mixed methods research. International Journal of Qualitative Methods 21. DOI:10.1177/16094069221104564.
Fodeh S, Ma L, Puthiaraju G, Talakokkul S, Khan A, Ramachandran S, Irankhah E, Arif M, Hagaman A, Lowe SR and Roundtree AK (2026) Tab-po: Preference optimization with a token-level adaptive barrier for token-critical structured generation. DOI:10.48550/arXiv.2603.00025. ArXiv:2603.00025v2.
Garla VN and Brandt C (2012) Ontology-guided feature engineering for clinical text classification. Journal of Biomedical Informatics 45(5): 992–998. DOI: 10.1016/j.jbi.2012.04.010.
Gillies M, Murthy D, Brenton H and Olaniyan R (2022) Theme and topic: How qualitative research and topic modeling can be brought together. DOI:10.48550/arXiv.2210.00707. URL https://arxiv.org/abs/2210.00707. ArXiv preprint arXiv:2210.00707.
Gillings M and Hardie A (2023) The interpretation of topic models for scholarly analysis: An evaluation and critique of current practice. Digital Scholarship in the Humanities 38(2): 530–543. DOI:10.1093/llc/fqac075.
Grimmer J and Stewart BM (2013) Text as data: The promise and pitfalls of automatic content analysis methods for political texts. Political Analysis 21(3): 267–297. DOI:10.1093/pan/mps028.
Guenduez AA, Fuchs S, Mergel I, Mettler T and Frowein S (2026) From patterns to meaning: a mixed-methods framework that integrates computational and qualitative text analysis. Quality & Quantity 60: 2713–2738. DOI:10.1007/s11135-025-02357-7.
Guetterman TC, Chang T, DeJonckheere M, Basu T, Scruggs E and Vydiswaran VGV (2018) Augmenting qualitative text analysis with natural language processing: Methodological study. Journal of Medical Internet Research 20(6): e231. DOI:10.2196/jmir.9702.
Guetterman TC, Fetters MD and Creswell JW (2015) Integrating quantitative and qualitative results in health science mixed methods research through joint displays. The Annals of Family Medicine 13(6): 554–561. DOI: 10.1370/afm.1865.
Haynes-Brown TK and Fetters MD (2021) Using joint display as an analytic process: An illustration using bar graphs joint displays from a mixed methods study of how beliefs shape secondary school teachers' use of technology. International Journal of Qualitative Methods 20. DOI:10.1177/1609406921993286.
Hoffman B, Tripathi A, Shensa A, Dou JP, Narendorf P, Hundi N and Sidani J (2025) Response to the netflix docuseries “big vape: The rise and fall of juul”: Mixed methods analysis of youtube comments using qualitative coding and topic modeling. JMIR Formative Research 9: e76737. DOI:10.2196/76737.
Jacobs T and Tschötschel R (2019) Topic models meet discourse analysis: A quantitative tool for a qualitative approach. International Journal of Social Research Methodology 22(5): 469–485. DOI:10.1080/13645579.2019.1576317.
Johnson RE, Grove AL and Clarke A (2019) Pillar integration process: A joint display technique to integrate data in mixed methods research. Journal of Mixed Methods Research 13(3): 301–320. DOI:10.1177/1558689817743108.
Karjus A (2023) Machine-assisted quantitizing designs: Augmenting humanities and social sciences with artificial intelligence. ArXiv:2309.14379.
Lee DD and Seung HS (1999) Learning the parts of objects by non-negative matrix factorization. Nature 401(6755): 788–791. DOI:10.1038/44565.
Mannstadt I, Goodman SM, Rajan M, Young SR, Wang F, Navarro-Millán I and Mehta B (2024) A novel approach for mixed-methods research using large language models: A report using patients' perspectives on barriers to arthroplasty. ACR Open Rheumatology 6(6): 375–379. DOI:10.1002/acr2.11662.
Mathis WS, Zhao S, Pratt N, Weleff J and De Paoli S (2024) Inductive thematic analysis of healthcare qualitative interviews using open-source large language models: How does it compare to traditional methods? Computer Methods and Programs in Biomedicine 255: 108356. DOI:10.1016/j.cmpb.2024.108356.
Melnikov S, Klein S, Shahar M and Guy D (2024) Using topic modeling to understand patients' and caregivers' perspectives about left ventricular assist device: Thematic analysis. Journal of Medical Internet Research 26: e50009. DOI:10.2196/50009.
Miner AS, Stewart SA, Halley MC, Nelson LK and Linos E (2023) Formally comparing topic models and human-generated qualitative coding of physician mothers' experiences of workplace discrimination. Big Data & Society DOI: 10.1177/20539517221149106.
Misra R, Dahal R, Kirk B, Khan R, Dogan G, Chataut R and Gyawali P (2026) Large language models in qualitative analysis: Comparing traditional and researcher-interpreted approaches. International Journal of Qualitative Methods 25. DOI:10.1177/16094069261426100.
Morgan DL (2014) Integrating Qualitative and Quantitative Methods: A Pragmatic Approach. Thousand Oaks, CA: SAGE Publications.
Nelson LK (2020) Computational grounded theory: A methodological framework. Sociological Methods & Research 49(1): 3–42. DOI:10.1177/0049124117729703.
O'Cathain A, Murphy E and Nicholl J (2007) Integration and publications as indicators of "yield" from mixed methods studies. Journal of Mixed Methods Research 1(2): 147–163. DOI:10.1177/1558689806299094.
O'Cathain A, Murphy E and Nicholl J (2010) Three techniques for integrating data in mixed methods studies. BMJ 341: c4587. DOI:10.1136/bmj.c4587.
Peters M and Fabregues S (2024) Missed opportunities in mixed methods edtech research? visual joint display development as an analytical strategy for achieving integration in mixed methods studies. Educational Technology Research and Development 72(5): 2477–2497. DOI:10.1007/s11423-023-10234-z.
Poudyal A, van Heerden A, Hagaman A, Maharjan SM, Byanjankar P, Subba P and Kohrt BA (2019) Wearable digital sensors to identify risks of postpartum depression and personalize psychological treatment for adolescent mothers: Protocol for a mixed methods exploratory study in rural nepal. JMIR Research Protocols 8(9): e14734. DOI:10.2196/14734.
Proudfoot K (2023) Inductive/deductive hybrid thematic analysis in mixed methods research. Journal of Mixed Methods Research 17(3): 308–326. DOI: 10.1177/15586898221126816.
Roberts ME, Stewart BM, Tingley D, Lucas C, Leder-Luis J, Gadarian SK, Albertson B and Rand DG (2014) Structural topic models for open-ended survey responses. American Journal of Political Science 58(4): 1064–1082. DOI:10.1111/ajps.12103.
Sandelowski M, Voils CI and Knafl G (2009) On quantitizing. Journal of Mixed Methods Research 3(3): 208–222. DOI:10.1177/1558689809334210.
Schroeder H, Aubin Le Quéré M, Randazzo C, Mimno D and Schoenebeck S (2025) Large language models in qualitative research: Uses, tensions, and intentions. In: Proceedings of the 2025 CHI Conference on Human Factors in Computing Systems. pp. 1–17. DOI:10.1145/3706598.3713120.
Small ML (2011) How to conduct a mixed methods study: Recent trends in a rapidly growing literature. Annual Review of Sociology 37: 57–86.
Tai RH, Bentley LR, Xia X, Sitt JM, Fankhauser SC, Chicas-Mosier AM and Monteith BG (2024) An examination of the use of large language models to aid analysis of textual data. International Journal of Qualitative Methods 23: 1–14. DOI:10.1177/16094069241231168.
Teddlie C and Tashakkori A (2009) Foundations of Mixed Methods Research: Integrating Quantitative and Qualitative Approaches in the Social and Behavioral Sciences. Thousand Oaks, CA: SAGE Publications.
Than N, Fan L, Law T, Nelson LK and McCall L (2025) Updating “the future of coding”: Qualitative coding with generative large language models. Sociological Methods & Research 54(3): 849–888. DOI:10.1177/00491241251339188.
Timmermans S and Tavory I (2012) Theory construction in qualitative research: From grounded theory to abductive analysis. Sociological Theory 30(3): 167–186. DOI:10.1177/0735275112457914.
Towler L, Bondaronek P, Papakonstantinou T, Amlöt R, Chadborn T, Ainsworth B and Yardley L (2023) Applying machine-learning to rapidly analyze large qualitative text datasets to inform the covid-19 pandemic response: comparing human and machine-assisted topic analysis techniques. Frontiers in Public Health 11: 1268223. DOI:10.3389/fpubh.2023.1268223.
van Heerden A, Poudyal A, Hagaman A, Maharjan SM, Byanjankar P, Bemme D, Thapa A and Kohrt BA (2024) Integration of passive sensing technology to enhance delivery of psychological interventions for mothers with depression: The standstrong study. Scientific Reports 14: 13535. DOI: 10.1038/s41598-024-63232-3.
Zeng Y, Chen Y, Yu J, Yang J, Fu Y, Chen J, Guan Q and He HG (2026) Advancing qualitative analysis in nursing research: Comparing text analysis rigor and efficiency of large language models with human-coded analysis for interview data. International Journal of Nursing Studies 182: 105584. DOI: 10.1016/j.ijnurstu.2026.105584.
Zhang H, Wu C, Xie J, Lyu Y, Cai J and Carroll JM (2023) Redefining qualitative analysis in the ai era: Utilizing chatgpt for efficient thematic analysis. ArXiv:2309.10771.