Consider a randomized clinical trial that offers a randomly selected treatment group the opportunity to take a Covid-19 vaccine. The analysts are interested in measuring vaccine effectiveness. Some of those offered are uninterested in receiving the vaccine. Those who accept the offer of the vaccination are not randomly chosen; this is a personal decision they’re free to make.
Mastering Econometrics