Estimands

WarningDraft

Working notes that define the target quantities before we look at model output. The structure follows Lundberg, Johnson, and Stewart (2021):

  • Theoretical estimand: a unit-specific quantity plus a target population.
  • Empirical estimand: an observable quantity, linked to the theoretical estimand by identification assumptions.
  • Estimation strategy: the model plus post-processing.

Items marked [judgment call] or [verify] need a decision or a check. Departures from the preregistration (OSF, https://osf.io/tphbs, registered 2025-08-21) are logged in Preregistration deviations.

Scope

The preregistration splits its hypotheses across two papers: “One paper is expected to focus primarily on main effects and contextual moderators (H1–H4), while another is expected to focus on individual-level heterogeneity (H5 and E3).” This paper is the second one.

  • H5 (confirmatory, directional):
    • “H5a: The negative effect of RBI is attenuated among donors with more nonprofit experience (donating, volunteering, working in nonprofits, or making large prior donations).”
    • “H5b: The negative effect of UBI is attenuated among donors with more nonprofit experience (donating, volunteering, working in nonprofits, or making large prior donations).”
  • E3 (exploratory, non-directional): “Effects of RBI and UBI may vary by age, gender, education, income, marital status, political ideology, religiosity, and race of the respondents.”

The overall MMs and AMCEs are defined below because both subgroup estimands are built from them, and the paper reports them as context. Testing H1 and H2 belongs to the other paper.

Setup and notation

Respondents \(j \in \{1, \dots, N\}\) (\(N = 1{,}201\)); each completes \(K = 10\) tasks with 3 profiles plus a “none” option. Profile \(i\) in respondent \(j\) is \(i_j\). Each profile has \(L = 5\) attributes, \(\mathbf{T}_{i_j} = (T_{i_j 1}, \dots, T_{i_j 5})\), where attribute \(\ell\) takes levels in \(\mathcal{T}_\ell\) (first level \(t_0\) = reference):

\(\ell\) Attribute \(\lvert \mathcal{T}_\ell \rvert\)
1 rbi (revenue from core services) 3
2 ubi (side business) 3
3 nonprofit_type 4
4 use_of_donations 4
5 financial_situation 2

So there are \(3 \times 3 \times 4 \times 4 \times 2 = 288\) possible profiles.

  • \(\mathbf{T}^*_{i_j}\) is the pair of competing profiles in the same task.
  • \(Y_{i_j} = 1\) if profile \(i_j\) was chosen. If “none” was chosen, all three profiles in the task have \(Y = 0\).
  • \(\mathbf{Z}_j = (Z_{j1}, \dots, Z_{jM})\) is respondent \(j\)’s vector of moderators in a given model. \(G_j = Z_{jm}\) is the moderator currently being examined, and \(\mathbf{Z}_{j,-m}\) holds the others.

Potential outcomes: \(Y_{i_j}(\mathbf{t}, \mathbf{t}^*)\) is whether respondent \(j\) would choose a profile with attributes \(\mathbf{t}\) when it competes against \(\mathbf{t}^*\). Following Hainmueller, Hopkins, and Yamamoto (2014), we assume:

  1. stability and no carryover across tasks;
  2. no profile-order effects;
  3. randomization of \((\mathbf{T}, \mathbf{T}^*)\) independent of potential outcomes.

Assumptions 1 and 2 let us drop task and position subscripts.

Facts about the design that matter for the estimands

Checked against conjoint (36,030 rows), the survey instrument, and the preregistration:

  • Attribute levels are uniform across profiles and independent within a profile. Each level of each attribute appears in 1/3, 1/4, or 1/2 of profiles (to within 0.1 pp), and the rbi × ubi cells are all ≈ 1/9.
  • Profiles within a task are not independent. The preregistration (q7) says the composition of levels within each task is “independently randomized” in Sawtooth. But in 61% of tasks the three profiles have three distinct rbi levels, versus \(3!/3^3 = 22\%\) under independent draws. That pattern looks like Sawtooth’s balanced-overlap design [verify the design method actually used].
    • Consequence: the competitor distribution \(p(\mathbf{t}^* \mid \mathbf{t})\) depends on the focal profile.
    • This is harmless for identification, but the competitor distribution is part of the AMCE’s definition (see below). It is logged as a deviation.
  • “None” is chosen in ≈ 9.4% of tasks. The preregistration does not mention a “none” option (also logged as a deviation).
    • \(\bar{Y} = 0.302\), versus \(1/3\) under forced choice. 817 respondents never chose “none”, and 21 chose it in all 10 tasks.
    • MMs therefore average to \((1 - P(\text{none}))/3\) within an attribute, so the reference line in MM plots should be \(\bar{Y}\) (or \(\bar{Y}_g\) for a subgroup), not 0.33.

When each moderator is measured (survey instrument):

Moderators Source / position Status
H5: giving frequency (Q3.1), past-year donation amount → $200+ (Q3.2), volunteering frequency (Q3.3), nonprofit work (Q3.4) Survey, before the conjoint (Q5) Pre-treatment
E3: age, gender (Prolific “sex”), race/ethnicity Prolific prescreener Pre-treatment
E3: education (Q6.1), income (Q6.2), marital status (Q6.3), political ideology (Q6.4), religion (Q6.5) Survey, after the conjoint Technically post-treatment. These are stable traits, so the risk that a nonprofit-profile task moved them is low. It is one more reason they belong in the exploratory analysis, and the reason model_e3 is fit separately from model_h5.

Core estimands

Unit-specific quantity

For respondent \(j\), define the probability of choosing a profile whose attribute \(\ell\) is fixed at \(t\), averaged over the design distribution of everything else:

\[ \pi_{j\ell}(t) = \sum_{\mathbf{t}_{-\ell}} \sum_{\mathbf{t}^*} \textbf{E}\left[ Y_j(t, \mathbf{t}_{-\ell}, \mathbf{t}^*) \right] \, p(\mathbf{t}_{-\ell}) \, p(\mathbf{t}^* \mid t, \mathbf{t}_{-\ell}) \]

where

  • \(p(\mathbf{t}_{-\ell})\) is the randomization distribution of the focal profile’s other attributes. Under independent uniform randomization it equals \(\prod_{m \neq \ell} 1/\lvert \mathcal{T}_m \rvert\), so the outer sum is an unweighted mean over the \(288 / \lvert \mathcal{T}_\ell \rvert\) combinations.
  • \(p(\mathbf{t}^* \mid \cdot)\) is the design’s distribution of competing profiles.

In Andrew’s workshop notation, \(\pi_{j\ell}(t)\) is \(\textbf{E}[Y_j \mid \operatorname{do}(T_\ell = t)]\) for respondent \(j\), with all other features left to the randomizer.

The unit is the respondent. Profiles and tasks are averaged out through the design distribution, in the same way that Pager’s study treats the application as the unit in Lundberg et al. (2021).

Marginal mean (MM)

\[ \text{MM}_\ell(t) = \frac{1}{N_{\text{US}}} \sum_{j \in \text{US}} \pi_{j\ell}(t) \]

This is the share of the time US adults would choose a profile with \(T_\ell = t\), averaged over people, the other attributes, and the competing profiles. It has no reference category. Leeper, Hobolt, and Tilley (2020) treat it as descriptive. Strictly, it is a mean potential outcome under a stochastic intervention that fixes \(T_\ell\) and randomizes everything else.

Average marginal component effect (AMCE)

\[ \tau_\ell(t, t_0) = \frac{1}{N_{\text{US}}} \sum_{j \in \text{US}} \left[ \pi_{j\ell}(t) - \pi_{j\ell}(t_0) \right] = \text{MM}_\ell(t) - \text{MM}_\ell(t_0) \]

This is the AMCE of Hainmueller, Hopkins, and Yamamoto (2014): the average causal effect of switching attribute \(\ell\) from \(t_0\) to \(t\). It averages over the randomization distribution of the other attributes, the competitor distribution, and US adults. Several things follow from this definition:

  • The AMCE depends on the design. A different attribute distribution would give a different AMCE (de la Cuesta, Egami, and Imai 2022). We have no real-world profile distribution to target, so we accept the uniform design distribution and say so.
  • The competitor distribution is part of the estimand. The Bernoulli model conditions only on the focal profile, so its predictions implicitly average over the empirical competitor distribution. That matches the definition, and it is one reason to use Bernoulli rather than categorical logit for these profile-level estimands.
  • With a “none” option, the AMCE mixes substitution and expansion. Changing \(T_\ell\) can draw choices away from competitors (substitution) or away from “none” (expansion).
  • The AMCE is an average, not a majority preference. It averages individual effects that may differ in sign and size, so it does not tell us what a majority prefers (Abramson, Koçak, and Magazinnik 2022; reply in Bansak et al. 2023).

Identification and empirical estimand

Under assumptions 1–3, within the sample,

\[ \text{MM}^{\text{samp}}_\ell(t) = \sum_{\mathbf{t}_{-\ell}} \textbf{E}\left[ Y_{i_j} \mid T_{i_j \ell} = t, \mathbf{T}_{i_j, -\ell} = \mathbf{t}_{-\ell} \right] p(\mathbf{t}_{-\ell}) \]

This is a design-weighted average of observable conditional means. The competitor term drops out because the conditional mean already averages over \(\mathbf{T}^*\) as the design generated it. The AMCE is the difference of two of these. The step from the sample to US adults is covered in Target population.

Why a balanced grid matches the randomization distribution

The estimation strategy is g-computation: replace \(\textbf{E}[Y \mid \mathbf{T} = \mathbf{t}, \cdot]\) with the posterior prediction \(\hat\mu\), then average using the design weights \(p(\mathbf{t}_{-\ell})\).

  • Balanced grid. Under independent uniform randomization, all 288 profiles get weight \(1/288\). Averaging \(\hat\mu\) over a balanced grid (one row per combination) and grouping by \(T_\ell\) therefore applies the design weights exactly.
  • Observed rows. Averaging over the observed rows applies the realized frequencies instead. Here those are within 0.1 pp of uniform.
  • Why it matters at all. On the probability scale, even a main-effects logit makes the AMCE depend on the distribution of the other attributes. The grid targets the design-defined estimand directly.

Subgroup estimands

Conditional MMs and AMCEs within a joint model

Both subgroup models are joint: all of a family’s moderators interact with all attributes at once.

  • model_h5: response ~ (attributes) * (giving + volunteering + npo_work + gave_200) + (1 | id)
  • model_e3: response ~ (attributes) * (age_group + gender + education + income + marital + ideology + religious + race) + (1 | id)

In a joint model, “the AMCE among frequent givers” can mean two different things. Write \(\hat\mu(\mathbf{t}, \mathbf{z})\) for the model’s predicted choice probability. The two quantities differ in how they treat the other moderators \(\mathbf{Z}_{-m}\).

Unadjusted (primary). Average over the observed distribution of \(\mathbf{Z}_{-m}\) within group \(g\):

\[ \text{MM}_\ell(t \mid G = g) = \frac{1}{N_g} \sum_{j:\, G_j = g} \; \sum_{\mathbf{t}_{-\ell}} \hat\mu\big((t, \mathbf{t}_{-\ell}), \mathbf{Z}_j\big)\, p(\mathbf{t}_{-\ell}), \qquad \tau_\ell(t, t_0 \mid G = g) = \text{MM}_\ell(t \mid G = g) - \text{MM}_\ell(t_0 \mid G = g) \]

  • The theoretical counterpart is the subgroup average \(\frac{1}{N_g}\sum_{j \in \text{US}:\, G_j = g} \pi_{j\ell}(t)\): US adults in group \(g\) as they actually are, including how their other kinds of experience are correlated with \(g\). This is the quantity H5 talks about (“donors with more nonprofit experience”).
  • It is the same estimand a one-moderator model targets (Jensen et al.’s split-sample CAMCE). The joint model only changes how \(\textbf{E}[Y \mid \mathbf{T}, \mathbf{Z}]\) is smoothed: it is additive across moderators on the logit scale, with no moderator × moderator interactions.

Adjusted (secondary). Set \(G = g\) for everyone and keep each respondent’s own \(\mathbf{Z}_{-m}\):

\[ \text{MM}^{\text{adj}}_\ell(t \mid G = g) = \frac{1}{N} \sum_{j=1}^{N} \; \sum_{\mathbf{t}_{-\ell}} \hat\mu\big((t, \mathbf{t}_{-\ell}), (g, \mathbf{Z}_{j,-m})\big)\, p(\mathbf{t}_{-\ell}) \]

  • This is a standardized comparison: frequent vs. infrequent givers with the same volunteering, work, and donation-size profile. It is Jensen et al.’s “conditioned” CAMCE, and it speaks to which kind of experience carries the association.
  • It is still descriptive. Jensen et al. call this approach “primarily a method for richer description—not for causal inference.”
  • For model_e3, the adjusted version conditions on post-treatment variables, which is another reason to keep it secondary there.

Averaging rule for both.

  • Profile attributes: use the design distribution (the balanced grid).
  • Respondent moderators: use the empirical distribution. A balanced grid over moderators would weight every combination of giving × volunteering × work × donation size equally, which matches no real population.

Under re_formula = NA, predictions depend on respondents only through \(\mathbf{Z}_j\). So the averages over respondents can be computed exactly by collapsing respondents into unique moderator profiles with counts \(n\) and using wts = "n" (see code).

Identification:

  • \(G\) must be pre-treatment for the within-group AMCE to be causal. This holds for H5; for E3 it holds only approximately (see the timing table).
  • \(G\) itself is never randomized. So differences across groups are always descriptive with respect to \(G\).

H5: primary estimand

The H5 moderators are \(m \in \mathcal{M}_{H5} = \{\texttt{giving}, \texttt{volunteering}, \texttt{npo_work}, \texttt{gave_200}\}\). Each is binary, with a less experienced level \(l_m\) (the factor’s first level) and a more experienced level \(h_m\):

\(m\) \(l_m\) \(h_m\)
giving Rarely/never Often/occasionally
volunteering Rarely/never Often/occasionally
npo_work Never worked at a nonprofit Has worked at a nonprofit
gave_200 Under $200 Gave $200+

For each indicator \(m\) and each of the four contrasts, \((\ell, t) \in \{(\texttt{rbi}, \text{Reduced price}), (\texttt{rbi}, \text{Full price}), (\texttt{ubi}, \text{Event space rental}), (\texttt{ubi}, \text{Running a pizza shop})\}\) with \(t_0\) = Free or None, the primary estimand is the difference in unadjusted conditional AMCEs, more minus less experienced:

\[ \delta_{m\ell}(t) = \tau_\ell(t, t_0 \mid Z_m = h_m) - \tau_\ell(t, t_0 \mid Z_m = l_m) \]

That makes \(4 \times 4 = 16\) primary quantities: 8 for H5a (rbi) and 8 for H5b (ubi).

Direction.

  • H1 and H2 (from the other paper) predict \(\tau_\ell(t, t_0 \mid \cdot) < 0\).
  • H5 predicts that the negative effect is attenuated among the more experienced, i.e., \(\lvert \tau(\cdot \mid h_m) \rvert < \lvert \tau(\cdot \mid l_m) \rvert\).
  • When both conditional AMCEs are negative, that is equivalent to \(\delta_{m\ell}(t) > 0\).

Reporting. For each \(\delta_{m\ell}(t)\), report the posterior median, the 95% credible interval, and \(P(\delta_{m\ell}(t) > 0 \mid \text{data})\). Show it next to the two conditional AMCEs it is built from, with \(P(\tau < 0)\) for each.

  • If \(\tau(\cdot \mid h_m) > 0\), then \(\delta > 0\) means a reversal, not an attenuation. With effects as large as the main RBI effects, this is unlikely, but the side-by-side display makes it visible.

Not preregistered (see deviations):

  • A decision threshold on \(P(\delta > 0)\). [judgment call] Report the probability without a hard cutoff.
  • A rule for combining the 16 quantities into a verdict on H5a and H5b. [judgment call] Report all 16. Either describe the pattern, or state in advance (before looking at model_h5 output) a summary rule such as “H5a is supported for indicator \(m\) if both rbi contrasts have \(P(\delta > 0) > 0.9\).”
  • Any adjustment for multiplicity. Partial pooling is not doing that job here: these are fixed-effect interaction terms with a weak \(\mathcal{N}(0, 3)\) prior.

Reference-category caveat. By the Leeper, Hobolt, and Tilley (2020) identity,

\[ \delta_{m\ell}(t) = \underbrace{\big[\text{MM}_\ell(t \mid h_m) - \text{MM}_\ell(t \mid l_m)\big]}_{\Delta^{\text{MM}}_{m\ell}(t)} - \underbrace{\big[\text{MM}_\ell(t_0 \mid h_m) - \text{MM}_\ell(t_0 \mid l_m)\big]}_{\Delta^{\text{MM}}_{m\ell}(t_0)} \]

So \(\delta > 0\) can arise in two ways:

  • experienced donors penalize full price less (a gap at \(t\)); or
  • experienced donors are less enthusiastic about free services (a gap at \(t_0\)).

Both count as “the RBI penalty is smaller,” which is what H5 says. They tell different substantive stories, though. The conditional MMs and \(\Delta^{\text{MM}}\) are therefore the required descriptive companion to every \(\delta\).

The references here are natural status-quo levels (free services, no side business), so the AMCE framing is substantively meaningful rather than arbitrary.

What \(\delta\) is and is not.

  • It is effect heterogeneity in the sense of Lundberg et al.’s Figure 3B: one intervention averaged over two populations.
  • It is not the causal effect of experience. Experience is not randomized.
  • It is not a causal interaction. Only \(\mathbf{T}\) is manipulated.

Opt-out and the direction of H5. More experienced donors may choose “none” less often.

  • If opt-out acts as a proportional scaling of all choice probabilities, their AMCEs are mechanically larger in absolute value, which works against H5.
  • An additive opt-out shift cancels out of \(\delta\).

So \(\delta\) is, if anything, conservative for H5. [judgment call] Also report the difference in opt-out rates by group, and possibly the AMCE relative to the group’s MM at \(t_0\), \(\tau(\cdot \mid g)/\text{MM}(t_0 \mid g)\), as a scale-free check.

E3: exploratory heterogeneity

Use the same unadjusted conditional MMs and AMCEs from model_e3, for rbi and ubi, across age group, gender, education, income, marital status, ideology, religion, and race. Category definitions are in _moderators.R.

  • Non-directional, as preregistered. Report conditional MMs and AMCEs by group, and differences relative to a reference group (or pairwise for ordered categories). Posterior probabilities describe the results; they are not tests.
  • Post-treatment. Education, income, marital status, ideology, and religion were measured after the conjoint. Keeping them in a separate model means they never adjust the H5 estimates.
  • Comparison with Meng’s figures. Meng’s earlier frequentist subgroup figures used unadjusted split-sample quantities. The unadjusted estimand here is the comparable one.

The “none” option and subgroup MMs

Leeper et al.’s argument that MMs sit on an “absolute scale” assumes forced choice, where an attribute’s MMs average to \(1/J\) in every subgroup. Here they average to \((1 - P(\text{none} \mid g))/3\), which differs across groups.

  • \(\Delta^{\text{MM}}\) therefore mixes preference for level \(t\) with differential opt-out.
  • Report the difference in opt-out rates alongside \(\Delta^{\text{MM}}\).
  • [judgment call] Optionally report centered MMs, \(\text{MM}_\ell(t \mid g) - \overline{\text{MM}}_\ell(g)\).
  • Do not condition on tasks in which a profile was chosen. Whether a respondent picks “none” depends on the profiles shown, so it is post-treatment.

Target population

Target: US adults.

  • Main analysis. We estimate the estimands in the sample and argue that they transport to US adults.
  • Sample. Prolific’s representative-sample service (preregistration q10: “balanced based on sex, age, ethnicity (Simplified U.S. Census categories), and political affiliation”) makes the sample resemble US adults on the dimensions most likely to moderate effects.
  • Transportability argument. Coppock, Leeper, and Mullinix (2018) find that experimental effects from convenience samples generally replicate in probability samples, because effect heterogeneity tends to be small [verify citation and scope; their evidence is mostly one-shot survey experiments, not conjoints]. The E3 results double as a check: if the RBI/UBI effects barely vary by age, gender, race, education, or income, then reweighting on those variables would barely move the overall AMCEs.
  • No reweighting or MRP. An appendix table compares the sample with ACS margins on sex, age, race, education, income, region, and marital status; the main text points to it. Raking weights would be numerically inert for these models anyway. Predictions depend on respondents only through the model’s moderators, and \(\sigma_0 \approx 0\), so weighting could only change the attribute mix, which is already uniform.
  • Weak point. Prolific respondents may be more engaged with nonprofits than the public, and engagement is exactly what H5 measures. The appendix table could add an external benchmark for giving and volunteering rates (e.g., the CPS Volunteering and Civic Life supplement) [verify].

Typical respondent vs. population average

The models are

\[ \begin{aligned} Y_{i_j} &\sim \operatorname{Bernoulli}(\mu_{i_j}) \\ \operatorname{logit}(\mu_{i_j}) &= (\beta_0 + b_{0_j}) + \mathbf{x}(\mathbf{T}_{i_j}, \mathbf{Z}_j)\boldsymbol{\beta} \\ b_{0_j} &\sim \mathcal{N}(0, \sigma_0) \end{aligned} \]

They imply three predicted choice probabilities for a profile \(\mathbf{t}\) and moderators \(\mathbf{z}\):

\[ \begin{aligned} \text{(a) Typical respondent:}\quad & \operatorname{logit}^{-1}\!\left(\beta_0 + \mathbf{x}(\mathbf{t}, \mathbf{z})\boldsymbol\beta\right) = \textbf{E}[Y \mid \mathbf{t}, \mathbf{z}, b_{0_j} = 0] \\ \text{(b) Observed respondents on average:}\quad & \frac{1}{N}\sum_{j} \operatorname{logit}^{-1}\!\left(\beta_0 + b_{0_j} + \mathbf{x}(\mathbf{t}, \mathbf{Z}_j)\boldsymbol\beta\right) \\ \text{(c) New respondents on average:}\quad & \int \operatorname{logit}^{-1}\!\left(\beta_0 + b + \mathbf{x}(\mathbf{t}, \mathbf{z})\boldsymbol\beta\right) \phi(b; 0, \sigma_0)\, db \end{aligned} \]

re_formula other brms args averages over
(a) NA — nothing; \(b_{0_j} = 0\)
(b) NULL id = observed respondents posterior \(b_{0_j}\) of the observed respondents
(c) NULL allow_new_levels = TRUE, sample_new_levels = "gaussian", many new ids the \(\mathcal{N}(0, \sigma_0)\) superpopulation

In Andrew’s 2022 blog post, (a) is “conditional” (“average respondent”) and (b) and (c) are “marginal” (“respondents on average”).

Size of the difference. On the probability scale, (c) is approximately \(\operatorname{logit}^{-1}\big(\eta/\sqrt{1 + c^2\sigma_0^2}\big)\), where \(c = 16\sqrt{3}/(15\pi) \approx 0.59\) (Zeger, Liang, and Albert 1988). With \(\sigma_0 \approx 0.02\), the attenuation factor is ≈ 0.99993. Near \(\mu \approx 0.30\) that moves predictions by about \(10^{-5}\). Numerically, (a), (b), and (c) are identical here.

Why \(\sigma_0\) is so small. It is not evidence that respondents are homogeneous (21 of them opted out of every task).

  • In tasks where a profile is chosen, exactly one of three rows is a 1. Per-respondent counts are therefore underdispersed relative to the Bernoulli model: the observed variance is ≈ 3.9, versus ≈ 6.3 under Binomial(30, 0.30).
  • That underdispersion offsets the overdispersion from the heavy opt-outers, so the estimated intercept variance collapses.
  • In these models, \(b_{0_j}\) captures only opt-out propensity.
  • The Bernoulli likelihood also ignores the negative dependence within a task. Interval calibration should be checked once against a respondent-clustered LPM or the categorical model.

Assessment: define everything as a population average.

  • The target is US adults. That is an average over people, and only (b)/(c)-type quantities transport, reweight, or poststratify. A weighted average of \(b_{0_j} = 0\) predictions is not the “typical respondent” quantity for any population.
  • The estimand should exist outside the model (Lundberg et al.). “The respondent with \(b_{0_j} = 0\)” exists only inside this one.
    • For MMs, it is the respondent with median opt-out propensity, and the prediction equals the median of the respondent-specific probabilities.
    • For AMCEs, it is the effect at that median baseline, which is neither the median nor the mean of the individual effects.
  • The literature’s AMCE is a population average. That is true of Hainmueller, Hopkins, and Yamamoto (2014), Leeper et al., and Jensen et al. alike.
  • “What does a typical donor prefer?” is a different question. It concerns the distribution of individual effects, which needs random slopes (Abramson et al. 2022; Jensen et al.’s IMCEs). Neither (a) nor (b) answers it.

Recommendation.

  • Define every estimand as a US-adult population average.
  • Compute it with re_formula = NA. This is a shortcut, justified explicitly by \(\sigma_0 \approx 0\) and by the absence of random slopes.
  • Run a one-time check against re_formula = NULL on the observed data, and footnote that the two agree.
  • If random slopes are added, compute (b) or (c) directly instead.

Implementation gotchas.

  • datagrid() with re_formula = NULL. Any variable not named in datagrid(), including id, is set to a typical value. Predictions then condition on one arbitrary respondent’s intercept.
  • The workshop pattern resp_id = NA + allow_new_levels = TRUE. The default sample_new_levels = "uncertainty" draws one respondent’s intercept per posterior draw. That mixes between-respondent variation into the posterior of the population average. For (c), use many new levels per draw and average within each draw.

Summary: estimands in Lundberg et al. form

All rows use the target population US adults (or US adults in the named subgroup). The estimands are estimated in the sample and transported under the argument in Target population.

Estimand Unit-specific quantity Empirical estimand Estimation strategy
MM \(\text{MM}_\ell(t)\) (context) \(\pi_{j\ell}(t)\): probability \(j\) chooses a profile with \(T_\ell = t\), averaging over the uniform design for other attributes and over the design’s competitor distribution \(\sum_{\mathbf{t}_{-\ell}} \textbf{E}[Y \mid T_\ell = t, \mathbf{t}_{-\ell}]\, p(\mathbf{t}_{-\ell})\) Main model; avg_predictions(by = attr) over the balanced grid, re_formula = NA (code)
AMCE \(\tau_\ell(t, t_0)\) (context) \(\pi_{j\ell}(t) - \pi_{j\ell}(t_0)\): causal effect for \(j\) of switching from \(t_0\) to \(t\) Difference of two MM empirical estimands Main model; avg_comparisons(variables = attr) over the balanced grid (code)
Conditional AMCE, unadjusted \(\tau_\ell(t, t_0 \mid Z_m = g)\) \(\pi_{j\ell}(t) - \pi_{j\ell}(t_0)\) \(\frac{1}{N_g}\sum_{j: Z_{jm} = g} \sum_{\mathbf{t}_{-\ell}} \Delta\textbf{E}[Y \mid \mathbf{t}, \mathbf{Z}_j]\, p(\mathbf{t}_{-\ell})\) model_h5 / model_e3; avg_comparisons(variables = attr, by = m) on the balanced grid × observed moderator profiles, wts = "n" (code)
H5 primary \(\delta_{m\ell}(t)\), more − less experienced; predicted \(> 0\) No unit-level quantity: a contrast between the averages of \(\pi_{j\ell}(t) - \pi_{j\ell}(t_0)\) in two subpopulations. Effect heterogeneity relative to \(t_0\); descriptive with respect to \(Z_m\) \(\Delta^{\text{MM}}_{m\ell}(t) - \Delta^{\text{MM}}_{m\ell}(t_0)\), both unadjusted Same as above plus hypothesis = difference ~ pairwise | contrast; posterior median, 95% CrI, \(P(\delta > 0)\) (code)
Conditional MM and \(\Delta^{\text{MM}}\), unadjusted (descriptive companion to H5; main E3 quantity) \(\pi_{j\ell}(t)\) \(\frac{1}{N_g}\sum_{j: Z_{jm} = g} \sum_{\mathbf{t}_{-\ell}} \textbf{E}[Y \mid T_\ell = t, \mathbf{t}_{-\ell}, \mathbf{Z}_j]\, p(\mathbf{t}_{-\ell})\) avg_predictions(by = c(attr, m)) and avg_comparisons(variables = m, by = attr), same grid and weights, plus the difference in opt-out rates (code)
Adjusted conditional AMCE / \(\delta^{\text{adj}}\) (secondary) Same as above, but every respondent’s \(Z_m\) is set to \(g\) and their other moderators stay as observed \(\frac{1}{N}\sum_{j} \sum_{\mathbf{t}_{-\ell}} \Delta\textbf{E}[Y \mid \mathbf{t}, g, \mathbf{Z}_{j,-m}]\, p(\mathbf{t}_{-\ell})\) Counterfactual grid: moderator profiles with \(Z_m\) replaced by each level (code)

Identification.

  • All rows rely on assumptions 1–3 and on transportability to US adults.
  • The subgroup rows also need \(Z_m\) to be pre-treatment. That holds for H5 and only approximately for E3.

Estimation caveat. The logit has no attribute × attribute interactions, and no moderator × moderator interactions. Because the design is balanced, misspecification should mainly cost efficiency rather than add bias to the grid-averaged quantities [verify with one model that adds two-way interactions].

Code sketches

These sketches are not executed. model_main, model_h5, and model_e3 are placeholder names for the models in models.qmd.

  • The hypothesis formula syntax and datagrid() behavior were checked with a glm() stand-in.
  • wts was checked with a small brms test model under marginaleffects 1.0.0. There, avg_*() with by on a brms model needs the collapse package, which is not in renv.
attrs <- c("rbi", "ubi", "nonprofit_type", "use_of_donations", "financial_situation")
h5_mods <- c("giving", "volunteering", "npo_work", "gave_200")

# Balanced grid of all 288 profiles (= the uniform randomization distribution)
grid_attr <- model_main$data |>
  tidyr::expand(rbi, ubi, nonprofit_type, use_of_donations, financial_situation)

Overall MMs and AMCEs

avg_predictions(model_main, newdata = grid_attr, by = "rbi", re_formula = NA)
avg_comparisons(model_main, variables = attrs, newdata = grid_attr, re_formula = NA)

# One-time check: population-averaged over the observed respondents' intercepts
avg_predictions(model_main, by = "rbi", re_formula = NULL)

H5: unadjusted conditional AMCEs and the primary δ

# Under re_formula = NA, predictions depend on respondents only through their
# moderators. So collapse the respondents in the model's (complete-case) data
# to unique moderator profiles with counts: at most 16 cells for 4 binary moderators
cells_h5 <- model_h5$data |>
  distinct(id, across(all_of(h5_mods))) |>
  count(across(all_of(h5_mods)), name = "n")

grid_h5 <- tidyr::crossing(grid_attr, cells_h5)  # 288 × (≤ 16) rows

# Unadjusted conditional AMCEs for giving (repeat for each moderator in h5_mods)
camce_giving_rbi <- avg_comparisons(
  model_h5, variables = "rbi", by = "giving",
  newdata = grid_h5, wts = "n", re_formula = NA
)

# Primary estimand: more − less experienced. "pairwise" returns the second
# level minus the first, and every H5 moderator has the less experienced level first
delta_giving_rbi <- avg_comparisons(
  model_h5, variables = "rbi", by = "giving",
  newdata = grid_h5, wts = "n", re_formula = NA,
  hypothesis = difference ~ pairwise | contrast
)

# P(δ > 0) from the draws [verify column names in marginaleffects 1.0.0]
get_draws(delta_giving_rbi) |>
  summarize(p_gt_0 = mean(draw > 0), .by = c(contrast, hypothesis))

# Descriptive companion: unadjusted conditional MMs and ΔMM
avg_predictions(
  model_h5, by = c("rbi", "giving"),
  newdata = grid_h5, wts = "n", re_formula = NA
)
avg_comparisons(
  model_h5, variables = "giving", by = "rbi",
  newdata = grid_h5, wts = "n", re_formula = NA
)

Adjusted (secondary)

# Counterfactual: everyone gets each level of giving, and their other moderators
# stay as observed. Each copy keeps its cell's count as the weight
grid_h5_cf_giving <- cells_h5 |>
  select(-giving) |>
  tidyr::crossing(giving = levels(model_h5$data$giving)) |>
  tidyr::crossing(grid_attr)

avg_comparisons(
  model_h5, variables = "rbi", by = "giving",
  newdata = grid_h5_cf_giving, wts = "n", re_formula = NA,
  hypothesis = difference ~ pairwise | contrast
)

E3

Same pattern with model_e3 and its eight moderators. Use hypothesis = difference ~ reference | contrast for moderators with more than two levels, or pairwise for ordered categories such as age, education, and income. There are more unique moderator profiles (at most ~1,200), so grid_e3 has up to ~345,000 rows. If that is too heavy, use ndraws, or average over the observed rows (attributes ≈ uniform) without a grid.

Open questions for Andrew

  1. H5 decision rule. Report all 16 \(\delta\)s with \(P(\delta > 0)\) and no threshold, or state a summary rule now, before looking at model_h5?
  2. “None” handling. Report the opt-out difference alongside \(\Delta^{\text{MM}}\) (recommended)? Centered MMs, and/or the relative-AMCE check for H5?
  3. Design. Confirm the Sawtooth design method (balanced overlap?) and why the “none” option is not in the preregistration.
  4. Bernoulli calibration. Check interval calibration once against a respondent-clustered LPM or the categorical model.
  5. renv. Add collapse, which marginaleffects 1.0.0 needs for avg_*() with by on brms models.

Citations to add to references.bib

Only Hainmueller:2014 exists in manuscript/references.bib. The others are cited as plain text; the details below are from memory, so verify them:

  • Lundberg, Ian, Rebecca Johnson, and Brandon M. Stewart. 2021. “What Is Your Estimand? Defining the Target Quantity Connects Statistical Evidence to Theory.” American Sociological Review 86(3): 532–565. doi:10.1177/00031224211004187
  • Jensen, Amalie, William Marble, Kenneth Scheve, and Matthew J. Slaughter. 2021. “City Limits to Partisan Polarization in the American Public.” Political Science Research and Methods 9(2): 223–241. doi:10.1017/psrm.2020.56
  • Leeper, Thomas J., Sara B. Hobolt, and James Tilley. 2020. “Measuring Subgroup Preferences in Conjoint Experiments.” Political Analysis 28(2): 207–221. doi:10.1017/pan.2019.30
  • Coppock, Alexander, Thomas J. Leeper, and Kevin J. Mullinix. 2018. “Generalizability of Heterogeneous Treatment Effect Estimates across Samples.” PNAS 115(49): 12441–12446. doi:10.1073/pnas.1808083115
  • Bansak, Kirk, Jens Hainmueller, Daniel J. Hopkins, and Teppei Yamamoto. 2021. “Conjoint Survey Experiments.” In Advances in Experimental Political Science, ed. James N. Druckman and Donald P. Green, 19–41. Cambridge University Press.
  • Bansak, Kirk, Jens Hainmueller, Daniel J. Hopkins, and Teppei Yamamoto. 2023. “Using Conjoint Experiments to Analyze Election Outcomes: The Essential Role of the Average Marginal Component Effect.” Political Analysis 31(4): 500–518.
  • Abramson, Scott F., Korhan Koçak, and Asya Magazinnik. 2022. “What Do We Learn about Voter Preferences from Conjoint Experiments?” American Journal of Political Science 66(4): 1008–1020.
  • de la Cuesta, Brandon, Naoki Egami, and Kosuke Imai. 2022. “Experimental Design and Statistical Inference for Conjoint Analysis: The Essential Role of Population Distribution.” Political Analysis 30(1): 19–45.
  • Zeger, Scott L., Kung-Yee Liang, and Paul S. Albert. 1988. “Models for Longitudinal Data: A Generalized Estimating Equation Approach.” Biometrics 44(4): 1049–1060.
  • Willroth, Emily C., and Olivia E. Atherton. 2024. “Best Laid Plans: A Guide to Reporting Preregistration Deviations.” Advances in Methods and Practices in Psychological Science 7(1): 1–14. doi:10.1177/25152459231213802
  • Heiss, Andrew. 2022. “Marginal and Conditional Effects for GLMMs with {marginaleffects}.” Blog post, November 29. https://www.andrewheiss.com/blog/2022/11/29/conditional-marginal-marginaleffects/

References

Hainmueller, Jens, Daniel J. Hopkins, and Teppei Yamamoto. 2014. “Causal Inference in Conjoint Analysis: Understanding Multidimensional Choices via Stated Preference Experiments.” Political Analysis 22 (1): 1–30. https://doi.org/10.1093/pan/mpt024.