Skip to content
tezvyn:
Menu

Handle interaction effects on a shared page

Source: interviewMediumHow cards are made

Summary

reasoning about interaction effects and mitigation.

Key points

combined variants may produce effects neither has alone; use mutual exclusion for likely interactions, orthogonal designs with interaction monitoring otherwise.

What's really being asked

This probes whether you understand that experiments on a shared surface are not guaranteed independent and that their combination can mislead. The interviewer wants the concept of interaction effects, the risk they pose, and a concrete strategy spanning mutual exclusion and monitored orthogonality.

The full answer

An interaction effect occurs when the effect of one experiment depends on which variant of another a user received. On a shared page, two changes can clash visually or behaviorally, for example one experiment enlarges a banner and another moves the call-to-action under where the banner now sits, so users in both variants behave differently than either change alone predicts. The measured average effect of each experiment then mixes in the other's influence, biasing both readouts. Strategies: if you expect interaction, because the experiments touch overlapping elements, put them in the same layer so assignment is mutually exclusive and no user is ever exposed to both. If interaction is unlikely and you want full traffic, run them orthogonally but actively monitor: analyze each experiment's effect separately within each variant of the other, and check whether the effects differ meaningfully. If they do, you have an interaction and should rerun with mutual exclusion or analyze the combined cells. Detecting interactions reliably needs more sample, so plan power accordingly.

The mistakes people make

Assuming concurrent same-page experiments are always independent. Never checking for interactions, so a confound goes unnoticed. Making every experiment mutually exclusive by default, wasting traffic when interaction is implausible. Pooling results without slicing by the other experiment's variant, which hides the interaction.

What usually comes next

How do you statistically detect an interaction? A factorial analysis with an interaction term, or comparing effects across the other's variants. When is mutual exclusion worth the cost? When elements overlap or stakes are high. How does power change when you must estimate interactions?

A concrete example

Two checkout experiments run orthogonally: one changes the button color, another adds a trust badge near the button. Sliced analysis shows the color effect is positive only when the badge is present and flat otherwise, an interaction. The team rebuilds the test with both changes in one mutually exclusive layer, or analyzes the four combined cells directly, rather than trusting the confounded marginal effects.

Interview question

Two orthogonal experiments modify the same page. What is the best way to tell whether they interact?

  • a.Confirm they were assigned using different hash seeds
  • b.Analyze each experiment's effect within each variant of the other and see if it changesCorrect
  • c.Verify the total traffic was evenly split four ways
  • d.Check whether both reached statistical significance on their own
Why?

An interaction shows up as one experiment's effect differing across the other's variants, which you find by slicing the results that way (or fitting an interaction term). Significance, hash seeds, and even splits do not by themselves reveal an interaction.

Just read this? Test yourself on what you have been reading.

Read the original → support.optimizely.com

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles