Selectivity is typically measured through a combination of in vitro and in vivo assays. In vitro assays might include binding studies to determine the affinity of a compound for its intended target versus off-targets. In vivo assays often involve animal models to assess the pharmacodynamics and pharmacokinetics of the compound. Advanced techniques such as high-throughput screening and computational modeling are also used to predict and confirm selectivity.