An extended gravity model with substitution applied to international trade · Study