What are floor and ceiling effects, and how do rounding or granularity artefacts show up in a distribution?
Quick Overview
Explain floor and ceiling effects and how rounding, heaping or coarse recording leave visible patterns in a variable's distribution. Tests exploratory data analysis skills, understanding of censoring versus true values at a bound, and how these measurement artefacts bias later analysis.
What are floor and ceiling effects, and how do rounding or granularity artefacts show up in a distribution?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
What are floor and ceiling effects, and how might rounding or granularity artefacts show up in a variable's distribution?
Think of a variable you are exploring before analysis, such as a test score, a survey rating, a spend amount or a self-reported age.
```hint Recorded versus true
Compare the recorded value with what an unlimited, perfectly precise instrument would have measured. Ask where the two can differ and what that does to a histogram.
```
### What a Strong Answer Covers
- What floor and ceiling effects are, and what they do to means, variances and differences between groups.
- The difference between a value censored at a bound and a value that really sits at the bound, such as a true zero.
- How rounding, heaping and coarse recording show up in histograms and value counts.
- Practical checks that detect each pattern.
- Ways to account for them in the analysis.
### Follow-up Questions
- A metric is capped at 30 minutes per session. How does that cap affect an A/B test on average session length?
- When would you use a Tobit model, and when a hurdle or two-part model, for a variable with many zeros?
- How do many tied values affect rank-based tests or a Kolmogorov-Smirnov test?
- How can heaping at round numbers be mistaken for a real effect at a policy threshold?
Overview: Explain floor and ceiling effects and how rounding, heaping or coarse recording leave visible patterns in a variable's distribution. Tests exploratory data analysis skills, understanding of censoring versus true values at a bound, and how these measurement artefacts bias later analysis.