Dissecting distributions: Applications of quantile regression in empirical asset pricing and causal inference