High-dimensional latent panel quantile regression with an application to asset pricing